mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-16 16:25:23 +01:00
Remove ifdef BOOTSTRAP from musl patches.
This commit is contained in:
parent
c1ceabb9c4
commit
fb4930c2f9
4 changed files with 31 additions and 69 deletions
|
|
@ -1,16 +1,13 @@
|
|||
# SPDX-FileCopyrightText: 2023 Richard Masters <grick23@gmail.com>
|
||||
# SPDX-License-Identifier: MIT
|
||||
diff -u -r musl-1.2.3.orig/src/process/posix_spawn.c musl-1.2.3/src/process/posix_spawn.c
|
||||
--- src/process/posix_spawn.c 2022-04-07 17:12:40.000000000 +0000
|
||||
+++ src/process/posix_spawn.c 2022-12-19 23:47:31.858417338 +0000
|
||||
@@ -190,8 +190,15 @@
|
||||
+++ src/process/posix_spawn.c 2023-04-07 12:01:57.217126467 +0000
|
||||
@@ -190,8 +190,11 @@
|
||||
goto fail;
|
||||
}
|
||||
|
||||
+#if 0
|
||||
pid = __clone(child, stack+sizeof stack,
|
||||
CLONE_VM|CLONE_VFORK|SIGCHLD, &args);
|
||||
+#endif
|
||||
- pid = __clone(child, stack+sizeof stack,
|
||||
- CLONE_VM|CLONE_VFORK|SIGCHLD, &args);
|
||||
+ pid = fork();
|
||||
+ if (pid == 0) {
|
||||
+ _exit(child(&args));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue