Pull up following revision(s) (requested by mlelstv in ticket #1964):
sbin/fsck_ffs/setup.c: revision 1.110 (patch)
Don't truncate bitmap size to unsigned int, avoids crashes on filesystems
with more than 2^32 blocks.
Pull up following revision(s) (requested by mlelstv in ticket #1135):
sbin/fsck_ffs/setup.c: revision 1.110
Don't truncate bitmap size to unsigned int, avoids crashes on filesystems
with more than 2^32 blocks.
Pull up following revision(s) (requested by mlelstv in ticket #1134):
sys/kern/vfs_vnops.c: revision 1.245
Access v_rdev only for a device special file.
Pull up following revision(s) (requested by bad in ticket #1133):
sys/kern/vfs_vnops.c: revision 1.246
release fp->f_lock after reading the offset in vn_read()
Fixes an obvious lock leak introduced in r1.238 and pulled up to netbsd-10.
Fixes PR kern/59519 vn_read() leaks file* lock
Add more test to layer2 filtering for variables as a set
simplify the BPF code for multiword
we have tests to cover all possible cases in layer2 filtering
In the test code for PR 59523 move the redirect of stdout to the end of
the fileactions, to avoid any interference with the assumptions of the
test-relevant file actions.
We can not guarantee anny of this anyway (but it did trigger the original
problem and both paths in the kernel before the bug was fixed).
Pointed out by kre.
seq: be smarter when inferring precision from arguments
Use the most precisely specified argument to infer precision, not the
last one we happen to process.
release fp->f_lock after reading the offset in vn_read()
Fixes an obvious lock leak introduced in r1.238 and pulled up to netbsd-10.
Pullup to netbsd-10.
Fixes PR kern/59519 vn_read() leaks file* lock