Module Name: src Committed By: martin Date: Sun Feb 2 14:48:57 UTC 2014
Modified Files: src/lib/libc/gen: posix_spawn.3 posix_spawn_file_actions_addopen.3 posix_spawn_file_actions_init.3 posix_spawn_fileactions.c src/sys/compat/netbsd32: netbsd32_execve.c src/sys/kern: kern_exec.c Log Message: Limit the amount of kernel memory a posix_spawn syscall can use (for handling the file action list) by limiting the maximum number of file actions to twice the current file descriptor limit. Fix a few bugs in the support functions and document the new limit. >From Maxime Villard. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/libc/gen/posix_spawn.3 cvs rdiff -u -r1.3 -r1.4 src/lib/libc/gen/posix_spawn_file_actions_addopen.3 \ src/lib/libc/gen/posix_spawn_file_actions_init.3 cvs rdiff -u -r1.2 -r1.3 src/lib/libc/gen/posix_spawn_fileactions.c cvs rdiff -u -r1.37 -r1.38 src/sys/compat/netbsd32/netbsd32_execve.c cvs rdiff -u -r1.372 -r1.373 src/sys/kern/kern_exec.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.