mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
hurd: Add support for AT_NO_AUTOMOUNT
This commit is contained in:
parent
a5db6a5cae
commit
13710e7e6a
@ -295,9 +295,15 @@ __hurd_at_flags (int *at_flags, int *flags)
|
||||
|
||||
*flags |= (*at_flags & AT_SYMLINK_NOFOLLOW) ? O_NOLINK : 0;
|
||||
*at_flags &= ~AT_SYMLINK_NOFOLLOW;
|
||||
|
||||
if (*at_flags & AT_SYMLINK_FOLLOW)
|
||||
*flags &= ~O_NOLINK;
|
||||
*at_flags &= ~AT_SYMLINK_FOLLOW;
|
||||
|
||||
if (*at_flags & AT_NO_AUTOMOUNT)
|
||||
*flags |= O_NOTRANS;
|
||||
*at_flags &= ~AT_NO_AUTOMOUNT;
|
||||
|
||||
if (*at_flags != 0)
|
||||
return EINVAL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user