Page MenuHomeFreeBSD

sys_swapon: reject too small devices
ClosedPublic

Authored by kib on Jul 29 2025, 6:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 26, 6:22 AM
Unknown Object (File)
Sat, Oct 25, 4:01 PM
Unknown Object (File)
Sat, Oct 25, 9:12 AM
Unknown Object (File)
Fri, Oct 24, 9:05 PM
Unknown Object (File)
Tue, Oct 14, 1:42 PM
Unknown Object (File)
Sun, Oct 12, 6:58 PM
Unknown Object (File)
Sat, Oct 11, 1:42 PM
Unknown Object (File)
Sat, Oct 11, 1:42 PM
Subscribers

Details

Summary

blist_create() panics on zero nbks.

Reported by: olivier

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

kib requested review of this revision.Jul 29 2025, 6:39 PM
markj added inline comments.
sys/vm/swap_pager.c
2706
This revision is now accepted and ready to land.Jul 29 2025, 7:09 PM
This revision was automatically updated to reflect the committed changes.