diff options
| author | Christian Brauner <christian.brauner@ubuntu.com> | 2019-11-26 11:43:01 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-11-26 13:07:43 +0100 |
| commit | bc992c0ee464a9136203433aa7d282255616ca6e (patch) | |
| tree | c5f5e5a48104e43a7856e268c030f1b93e266530 /executor/syscalls.h | |
| parent | f72ffd024df9098b2d787d0107295a9669481cc9 (diff) | |
sys/linux: add new arguments to struct clone_args for clone3()
Linux v5.5 extends struct clone_args for clone3() by two additional
parameters:
@set_tid: Pointer to an array of type *pid_t. The size
of the array is defined using @set_tid_size.
This array is used to select PIDs/TIDs for
newly created processes. The first element in
this defines the PID in the most nested PID
namespace. Each additional element in the array
defines the PID in the parent PID namespace of
the original PID namespace. If the array has
less entries than the number of currently
nested PID namespaces only the PIDs in the
corresponding namespaces are set.
@set_tid_size: This defines the size of the array referenced
in @set_tid. This cannot be larger than the
kernel's limit of nested PID namespaces.
Cc: Adrian Reber <areber@redhat.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'executor/syscalls.h')
0 files changed, 0 insertions, 0 deletions
