The only valid flag for unmount(2) is MNT_FORCE, ignore any others.
authormillert <millert@openbsd.org>
Tue, 12 Jul 2016 20:53:04 +0000 (20:53 +0000)
committermillert <millert@openbsd.org>
Tue, 12 Jul 2016 20:53:04 +0000 (20:53 +0000)
commitaf6e7e676d78fe5bfc2de55f9855af03ae424149
tree4f4110330863764919067915f455a5ab1f3a73ab
parent730979cdf127e5cf625cc52cd8a713a8018bbbd1
The only valid flag for unmount(2) is MNT_FORCE, ignore any others.
Fixes a crash when MNT_DOOMED is passed in the flags to unmount(2)
found by NCC Group.  OK bluhm@
sys/kern/vfs_syscalls.c