Module Name: src Committed By: martin Date: Tue Sep 7 17:12:21 UTC 2021
Modified Files: src/lib/libc/sys [netbsd-9]: fcntl.2 flock.2 src/share/man/man7 [netbsd-9]: sysctl.7 src/sys/kern [netbsd-9]: vfs_lockf.c Log Message: Pull up following revision(s) (requested by manu in ticket #1343): share/man/man7/sysctl.7: revision 1.153 sys/kern/vfs_lockf.c: revision 1.74 lib/libc/sys/fcntl.2: revision 1.46 lib/libc/sys/flock.2: revision 1.23 Tie the maximum file lock per unprivilegied uid to kern.maxfiles This makes the limit simple to raise at run time. While there, document that fcntl(2) and flock(2) may return ENOMEM when this limit is reached. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.41.28.1 src/lib/libc/sys/fcntl.2 cvs rdiff -u -r1.22 -r1.22.44.1 src/lib/libc/sys/flock.2 cvs rdiff -u -r1.139.2.1 -r1.139.2.2 src/share/man/man7/sysctl.7 cvs rdiff -u -r1.73 -r1.73.60.1 src/sys/kern/vfs_lockf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.