The NetBSD Project

CVS log for src/lib/libc/gen/posix_spawn_fileactions.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.2.4.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:14 2014 UTC (4 weeks, 5 days ago) by tls
Branch: tls-maxphys
Changes since 1.2: +46 -39 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:36:52 2014 UTC (4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.2.2: +46 -39 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.1.2.1.6.1 / (download) - annotate - [select for diffs], Mon Feb 3 11:57:24 2014 UTC (7 months, 2 weeks ago) by sborrill
Branch: netbsd-6-1
CVS Tags: netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE
Changes since 1.1.2.1: +37 -30 lines
Diff to previous 1.1.2.1 (colored) next main 1.1.2.2 (colored)

Pull up the following revisions(s) (requested by martin in ticket #1023):
	lib/libc/gen/posix_spawn.3:			revision 1.5
	lib/libc/gen/posix_spawn_file_actions_addopen.3:	revision 1.4
	lib/libc/gen/posix_spawn_file_actions_init.3:	revision 1.4
	lib/libc/gen/posix_spawn_fileactions.c:		revision 1.3
	sys/compat/netbsd32/netbsd32_execve.c:		revision 1.38
	sys/kern/kern_exec.c:				revision 1.373

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.

Revision 1.1.2.1.4.1 / (download) - annotate - [select for diffs], Mon Feb 3 11:56:20 2014 UTC (7 months, 2 weeks ago) by sborrill
Branch: netbsd-6-0
CVS Tags: netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE
Changes since 1.1.2.1: +37 -30 lines
Diff to previous 1.1.2.1 (colored) next main 1.1.2.2 (colored)

Pull up the following revisions(s) (requested by martin in ticket #1023):
	lib/libc/gen/posix_spawn.3:			revision 1.5
	lib/libc/gen/posix_spawn_file_actions_addopen.3:	revision 1.4
	lib/libc/gen/posix_spawn_file_actions_init.3:	revision 1.4
	lib/libc/gen/posix_spawn_fileactions.c:		revision 1.3
	sys/compat/netbsd32/netbsd32_execve.c:		revision 1.38
	sys/kern/kern_exec.c:				revision 1.373

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.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Feb 3 11:54:02 2014 UTC (7 months, 2 weeks ago) by sborrill
Branch: netbsd-6
Changes since 1.1.2.1: +37 -30 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Pull up the following revisions(s) (requested by martin in ticket #1023):
	lib/libc/gen/posix_spawn.3:			revision 1.5
	lib/libc/gen/posix_spawn_file_actions_addopen.3:	revision 1.4
	lib/libc/gen/posix_spawn_file_actions_init.3:	revision 1.4
	lib/libc/gen/posix_spawn_fileactions.c:		revision 1.3
	sys/compat/netbsd32/netbsd32_execve.c:		revision 1.38
	sys/kern/kern_exec.c:				revision 1.373

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.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Feb 2 14:54:39 2014 UTC (7 months, 2 weeks ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-base, netbsd-7, HEAD
Changes since 1.3: +19 -19 lines
Diff to previous 1.3 (colored)

Remove paranthesis from return operands.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 2 14:48:57 2014 UTC (7 months, 2 weeks ago) by martin
Branch: MAIN
Changes since 1.2: +37 -30 lines
Diff to previous 1.2 (colored)

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.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:19 2012 UTC (2 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.2.2.1: +166 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

sync with head

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Thu Apr 12 17:05:37 2012 UTC (2 years, 5 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: netbsd-6-1, netbsd-6-0
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

Pull up following revision(s) (requested by martin in ticket #175):
	sys/kern/kern_exit.c: revision 1.238
	tests/lib/libc/gen/posix_spawn/t_fileactions.c: revision 1.4
	tests/lib/libc/gen/posix_spawn/t_fileactions.c: revision 1.5
	sys/uvm/uvm_extern.h: revision 1.183
	lib/libc/gen/posix_spawn_fileactions.c: revision 1.2
	sys/kern/kern_exec.c: revision 1.348
	sys/kern/kern_exec.c: revision 1.349
	sys/compat/netbsd32/syscalls.master: revision 1.95
	sys/uvm/uvm_glue.c: revision 1.159
	sys/uvm/uvm_map.c: revision 1.317
	sys/compat/netbsd32/netbsd32.h: revision 1.95
	sys/kern/exec_elf.c: revision 1.38
	sys/sys/spawn.h: revision 1.2
	sys/sys/exec.h: revision 1.135
	sys/compat/netbsd32/netbsd32_execve.c: revision 1.34
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
Fix asynchronous posix_spawn child exit status (and test for it).

Revision 1.2.2.1, Sun Apr 8 11:27:44 2012 UTC (2 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2: +0 -166 lines
FILE REMOVED

file posix_spawn_fileactions.c was added on branch yamt-pagecache on 2012-04-17 00:05:19 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 8 11:27:44 2012 UTC (2 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

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

Revision 1.1 / (download) - annotate - [select for diffs], Sat Feb 11 23:31:24 2012 UTC (2 years, 7 months ago) by martin
Branch: MAIN
CVS Tags: netbsd-6-base
Branch point for: netbsd-6

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>