History log of /netbsd-src/lib/libc/gen/posix_spawn_fileactions.c (Results 1 – 5 of 5)
Revision Date Author Comments
# 1c052966 07-Nov-2021 christos <christos@NetBSD.org>

Commit the userland portion of the posix_spawn_chdir project by Piyush Sachdeva


# b450cd5b 02-Feb-2014 martin <martin@NetBSD.org>

Remove paranthesis from return operands.


# 2934fa70 02-Feb-2014 martin <martin@NetBSD.org>

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 fe

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.

show more ...


# 94b761b6 08-Apr-2012 martin <martin@NetBSD.org>

Rework posix_spawn locking and memory management:
- always provide a vmspace for the new proc, initially borrowing from proc0
(this part fixes PR 46286)
- increase parallelism between parent and

Rework posix_spawn locking and memory management:
- always provide a vmspace for the new proc, initially borrowing from proc0
(this part fixes PR 46286)
- increase parallelism between parent and child if arguments allow this,
avoiding a potential deadlock on exec_lock
- add a new flag for userland to request old (lockstepped) behaviour for
better error reporting
- adapt test cases to the previous two and add a new variant to test the
diagnostics flag
- fix a few memory (and lock) leaks
- provide netbsd32 compat

show more ...


# 19f52532 11-Feb-2012 martin <martin@NetBSD.org>

Add userland part of posix_spawn. Libc functions imported from FreeBSD.
Based on Charles Zhang's summer of code project.