public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Samuel Thibault <sthibaul@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc] hurd: Add support for AT_NO_AUTOMOUNT Date: Tue, 10 Aug 2021 15:17:50 +0000 (GMT) [thread overview] Message-ID: <20210810151750.E09D938618AF@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=13710e7e6af6c8965cc9a63a0660cb4ce1966557 commit 13710e7e6af6c8965cc9a63a0660cb4ce1966557 Author: Samuel Thibault <samuel.thibault@ens-lyon.org> Date: Tue Aug 10 17:16:54 2021 +0200 hurd: Add support for AT_NO_AUTOMOUNT Diff: --- hurd/hurd/fd.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hurd/hurd/fd.h b/hurd/hurd/fd.h index 7165a8f1fc..111f680670 100644 --- a/hurd/hurd/fd.h +++ b/hurd/hurd/fd.h @@ -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;
reply other threads:[~2021-08-10 15:17 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210810151750.E09D938618AF@sourceware.org \ --to=sthibaul@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).