diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-04-29 16:13:54 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-04-29 16:58:10 +0200 |
commit | f56ad6174c62aa38f7edf68167d620482b776dc9 (patch) | |
tree | 9c0750753da4a89c074d0480b232883e249183e6 /misc | |
parent | 89f1e04174a6b6548d19f7f301ddcc8ab91d91df (diff) | |
download | glibc-f56ad6174c62aa38f7edf68167d620482b776dc9.zip glibc-f56ad6174c62aa38f7edf68167d620482b776dc9.tar.gz glibc-f56ad6174c62aa38f7edf68167d620482b776dc9.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions