summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-08-09 19:56:53 -0400
committerRich Felker <dalias@aerifal.cx>2013-08-09 19:56:53 -0400
commit9848e64819ce31787085a3d44df628bdf1091792 (patch)
tree30a12389611bb9993d039d06fd5df8b54d41149c /src
parentd4d6d6f322cd13cfca2b179345cdcf67997c3529 (diff)
downloadmusl-9848e64819ce31787085a3d44df628bdf1091792.tar.gz
musl-9848e64819ce31787085a3d44df628bdf1091792.tar.bz2
musl-9848e64819ce31787085a3d44df628bdf1091792.tar.xz
musl-9848e64819ce31787085a3d44df628bdf1091792.zip
block all signals, even implementation-internal ones, in faccessat child
the child process's stack may be insufficient size to support a signal frame, and there is no reason these signal handlers should run in the child anyway.
Diffstat (limited to 'src')
-rw-r--r--src/unistd/faccessat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/faccessat.c b/src/unistd/faccessat.c
index 0256d60f..6a88097d 100644
--- a/src/unistd/faccessat.c
+++ b/src/unistd/faccessat.c
@@ -37,7 +37,7 @@ int faccessat(int fd, const char *filename, int amode, int flag)
if (pipe(p)) return __syscall_ret(-EBUSY);
struct ctx c = { .fd = fd, .filename = filename, .amode = amode, .p = p[1] };
- __block_app_sigs(&set);
+ __block_all_sigs(&set);
ret = __clone(checker, stack+sizeof stack, 0, &c);
__syscall(SYS_close, p[1]);