[PATCH v2 4/7] kernel/fork.c: Pass arguments to _do_fork and copy_process using clone4_args

2015-03-15 Thread Josh Triplett
Rather than continuing to add arguments to _do_fork and copy_process for future clone4 extensions, with corresponding churn in every caller, pass the arguments using the clone4_args structure instead. This allows clone4 to avoid unpacking the arguments, and allows other callers to use C99

[PATCH v2 4/7] kernel/fork.c: Pass arguments to _do_fork and copy_process using clone4_args

2015-03-15 Thread Josh Triplett
Rather than continuing to add arguments to _do_fork and copy_process for future clone4 extensions, with corresponding churn in every caller, pass the arguments using the clone4_args structure instead. This allows clone4 to avoid unpacking the arguments, and allows other callers to use C99