Page MenuHomeFreeBSD

sys_swapon: reject too small devices
ClosedPublic

Authored by kib on Jul 29 2025, 6:39 PM.
Tags
None
Referenced Files
F132183491: D51618.id159415.diff
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
Unknown Object (File)
Sat, Oct 11, 1:42 PM
Unknown Object (File)
Sat, Oct 11, 5:25 AM
Unknown Object (File)
Wed, Oct 8, 9:10 PM
Unknown Object (File)
Sat, Oct 4, 6:30 PM
Subscribers

Details

Summary

blist_create() panics on zero nbks.

Reported by: olivier

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.