Update musl to 1.2.5

This commit is contained in:
fosslinux 2024-12-22 14:50:59 +11:00
parent 68d396ef8f
commit 19b205a382
15 changed files with 82 additions and 90 deletions

View file

@ -1,18 +0,0 @@
# SPDX-FileCopyrightText: 2023 Richard Masters <grick23@gmail.com>
# SPDX-License-Identifier: MIT
--- musl-1.2.4/src/process/posix_spawn.c 2022-04-07 17:12:40.000000000 +0000
+++ musl-1.2.4/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);