diff options
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r-- | sysdeps/mach/hurd/dl-execstack.c | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/opendir.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/dl-execstack.c b/sysdeps/mach/hurd/dl-execstack.c index 9069efb..c67b534 100644 --- a/sysdeps/mach/hurd/dl-execstack.c +++ b/sysdeps/mach/hurd/dl-execstack.c @@ -34,7 +34,7 @@ _dl_make_stack_executable (void **stack_endp) return EPERM; *stack_endp = NULL; -#ifdef IS_IN_rtld +#if IS_IN (rtld) if (__mprotect ((void *)_dl_hurd_data->stack_base, _dl_hurd_data->stack_size, PROT_READ|PROT_WRITE|PROT_EXEC) != 0) return errno; diff --git a/sysdeps/mach/hurd/opendir.c b/sysdeps/mach/hurd/opendir.c index 570f085..a2c73bc 100644 --- a/sysdeps/mach/hurd/opendir.c +++ b/sysdeps/mach/hurd/opendir.c @@ -82,7 +82,7 @@ __opendirat (int dfd, const char *name) int flags = O_RDONLY | O_NONBLOCK | O_DIRECTORY | O_CLOEXEC; int fd; -#ifdef IS_IN_rtld +#if IS_IN (rtld) assert (dfd == AT_FDCWD); fd = open_not_cancel_2 (name, flags); #else |