NetBSD/sys/miscfs
hannken 85cb97f0d7 Harden layered file systems usage of field "mnt_lower" against
forced unmounts of the lower layer.

- Dont allow "dead_rootmount" as lower layer.

- Take file system busy before a vfs operation walks down the stack.

Reported-by: syzbot+27b35e5675b1753cec03@syzkaller.appspotmail.com
Reported-by: syzbot+99071492e3de2eff49e9@syzkaller.appspotmail.com
2022-12-09 10:33:18 +00:00
..
deadfs miscfs/deadfs/deadfs.h: New home for deadfs-related externs. 2022-10-26 23:39:43 +00:00
fdesc dedup the eofs link/symlink methods 2022-03-27 17:10:55 +00:00
fifofs miscfs/fifofs/fifo.h: New home for extern fifo_vnodeop_opv_desc. 2022-10-26 23:40:20 +00:00
genfs Harden layered file systems usage of field "mnt_lower" against 2022-12-09 10:33:18 +00:00
kernfs dedup the eofs link/symlink methods 2022-03-27 17:10:55 +00:00
nullfs Add a helper to set or clear lower mount and use it. 2022-11-04 11:20:39 +00:00
overlay Add a helper to set or clear lower mount and use it. 2022-11-04 11:20:39 +00:00
procfs Add missing permission check 2022-06-17 14:30:37 +00:00
specfs miscfs/specfs/specdev.h: New home for extern spec_vnodeop_opv_desc. 2022-10-26 23:40:08 +00:00
umapfs Add a helper to set or clear lower mount and use it. 2022-11-04 11:20:39 +00:00
Makefile