public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: cygwin-patches@cygwin.com
Subject: [PATCH 0/1] Fix facl on files opened with O_PATH
Date: Tue, 23 Feb 2021 17:49:49 -0500	[thread overview]
Message-ID: <20210223224950.40895-1-kbrown@cornell.edu> (raw)

I'm not sure if this patch is right.  Should facl fail on all commands
or just on SETACL?  If the command is GETACL, for example, should this
fail like fgetxattr(2) or should it succeed like fstat(2)?

Cygwin may be the only platform that supports both facl(2) and O_PATH,
so I guess we're on our own here.

Ken Brown (1):
  Cygwin: facl: fail with EBADF on files opened with O_PATH

 winsup/cygwin/sec_acl.cc | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.30.0


             reply	other threads:[~2021-02-23 22:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-23 22:49 Ken Brown [this message]
2021-02-23 22:49 ` [PATCH 1/1] Cygwin: facl: fail with EBADF " Ken Brown
2021-02-24  9:42 ` [PATCH 0/1] Fix facl " Corinna Vinschen

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=20210223224950.40895-1-kbrown@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cygwin-patches@cygwin.com \
    /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: link
Be 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).