hurd: Fix making ld.so run static binaries with retry

We need O_EXEC for __rtld_execve
This commit is contained in:
Samuel Thibault 2023-05-23 00:31:31 +02:00
parent 8f59fc79b7
commit 6151d3b79a

View File

@ -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);