diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-23 00:31:31 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-23 01:47:05 +0200 |
commit | 6151d3b79a8017b6cd0ceb17508b5f1eadafdbb4 (patch) | |
tree | e76f9c02b3d520e8cf4eefc2ccd1a66226bece2c /sysdeps/mach/hurd | |
parent | 8f59fc79b7382a424bd9a0f89807c5adcd1b60df (diff) | |
download | glibc-6151d3b79a8017b6cd0ceb17508b5f1eadafdbb4.tar.gz glibc-6151d3b79a8017b6cd0ceb17508b5f1eadafdbb4.tar.xz glibc-6151d3b79a8017b6cd0ceb17508b5f1eadafdbb4.zip |
hurd: Fix making ld.so run static binaries with retry
We need O_EXEC for __rtld_execve
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r-- | sysdeps/mach/hurd/dl-sysdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index 7c484d76eb..6994f8f7b6 100644 --- a/sysdeps/mach/hurd/dl-sysdep.c +++ b/sysdeps/mach/hurd/dl-sysdep.c @@ -303,7 +303,7 @@ open_file (const char *file_name, int flags, if (!err) err = __hurd_file_name_lookup_retry (use_init_port, get_dtable_port, __dir_lookup, doretry, retryname, - O_RDONLY, 0, port); + flags, 0, port); if (!err && stat) { err = __io_stat (*port, stat); |