From 9848e64819ce31787085a3d44df628bdf1091792 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 9 Aug 2013 19:56:53 -0400 Subject: 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. --- src/unistd/faccessat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unistd/faccessat.c') 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]); -- cgit v1.2.1