mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-16 08:15:24 +01:00
Update musl to 1.2.5
This commit is contained in:
parent
68d396ef8f
commit
19b205a382
15 changed files with 82 additions and 90 deletions
18
steps/musl-1.2.5/patches/avoid_sys_clone.patch
Normal file
18
steps/musl-1.2.5/patches/avoid_sys_clone.patch
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# SPDX-FileCopyrightText: 2023 Richard Masters <grick23@gmail.com>
|
||||
# SPDX-License-Identifier: MIT
|
||||
--- musl-1.2.5/src/process/posix_spawn.c 2022-04-07 17:12:40.000000000 +0000
|
||||
+++ musl-1.2.5/src/process/posix_spawn.c 2023-04-07 12:01:57.217126467 +0000
|
||||
@@ -190,8 +190,11 @@
|
||||
goto fail;
|
||||
}
|
||||
|
||||
- pid = __clone(child, stack+sizeof stack,
|
||||
- CLONE_VM|CLONE_VFORK|SIGCHLD, &args);
|
||||
+ pid = fork();
|
||||
+ if (pid == 0) {
|
||||
+ _exit(child(&args));
|
||||
+ }
|
||||
+
|
||||
close(args.p[1]);
|
||||
UNLOCK(__abort_lock);
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue