slashpackage

Snapshot of software for building static /package and /command.
git clone https://ccx.te2000.cz/git/slashpackage
Log | Files | Refs | Submodules

commit 959752a062c4c4a1bd294f18a6b4da87b977a059
parent 47d2b12795e1fa9ec55af648b661e58618aec834
Author: ccx <root@dorje.wpr.cz>
Date:   Wed, 15 Sep 2021 19:11:51 +0200

Pass pointer to the args structure.

Diffstat:
Ms6_clone3_newpid.patch | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/s6_clone3_newpid.patch b/s6_clone3_newpid.patch @@ -1,5 +1,5 @@ diff --git a/src/supervision/s6-supervise.c b/src/supervision/s6-supervise.c -index cc6779a..1ce20ec 100644 +index cc6779a..a814f8e 100644 --- a/src/supervision/s6-supervise.c +++ b/src/supervision/s6-supervise.c @@ -12,6 +12,11 @@ @@ -26,7 +26,7 @@ index cc6779a..1ce20ec 100644 + .exit_signal = SIGCHLD, + }; + -+ return syscall(__NR_clone3, args, sizeof(struct clone_args)); ++ return syscall(__NR_clone3, &args, sizeof(struct clone_args)); +} + +pid_t conditional_newpid_fork(void)