Commit cbd703a
committed
Handle AT_SYMLINK_NOFOLLOW in __syscall_faccessat
The assertion in __syscall_faccessat only allowed AT_EACCESS, causing
a crash when AT_SYMLINK_NOFOLLOW was passed (e.g. by GLib's
g_local_file_query_exists which uses AT_EACCESS | AT_SYMLINK_NOFOLLOW).
Accept AT_SYMLINK_NOFOLLOW and use it to control whether symlinks are
followed during the path lookup.1 parent 7840305 commit cbd703a
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
930 | 930 | | |
931 | 931 | | |
932 | 932 | | |
933 | | - | |
| 933 | + | |
934 | 934 | | |
935 | 935 | | |
936 | 936 | | |
937 | 937 | | |
938 | 938 | | |
939 | 939 | | |
940 | | - | |
| 940 | + | |
| 941 | + | |
941 | 942 | | |
942 | 943 | | |
943 | 944 | | |
| |||
0 commit comments