about summary refs log tree commit diff
path: root/misc/sys/cdefs.h
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-04-29 16:13:54 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-04-29 16:58:10 +0200
commitf56ad6174c62aa38f7edf68167d620482b776dc9 (patch)
tree9c0750753da4a89c074d0480b232883e249183e6 /misc/sys/cdefs.h
parent89f1e04174a6b6548d19f7f301ddcc8ab91d91df (diff)
downloadglibc-f56ad6174c62aa38f7edf68167d620482b776dc9.tar.gz
glibc-f56ad6174c62aa38f7edf68167d620482b776dc9.tar.xz
glibc-f56ad6174c62aa38f7edf68167d620482b776dc9.zip
hurd: Fix FS_RETRY_MAGICAL "machtype" handling
We need to set file_name, not update retryname. This is what the other
branches do.

Before this change, any attempt to access such a file would segfault due
to file_name being unset:

$ settrans -ac /tmp/my-machtype /hurd/magic machtype
$ cat /tmp/my-machtype
Segmentation fault

Checked on i686-gnu.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230429131354.2507443-7-bugaevc@gmail.com>
Diffstat (limited to 'misc/sys/cdefs.h')
0 files changed, 0 insertions, 0 deletions