On Mar 20 10:51, Martin Wege wrote: > On Thu, Mar 20, 2025 at 10:36 AM Corinna Vinschen > <corinna-cyg...@cygwin.com> wrote: > > > > On Mar 20 10:26, Martin Wege wrote: > > > Hello! > > > > > > Here is one wishlist item for Cygwin 3.7: > > > > > > Add the Solaris/UNIX acl(7) API, i.e acl(), facl(), aclcheck(), aclsort(). > > > > They exist in Cygwin since 2001. Just include <cygwin/acl.h> > > 😮😮😮 <--- face with open mouth > Corinna, this is unbelievable!! > Why are you hiding such a GEM??
I don't. It's documented for ages: https://cygwin.com/cygwin-api/std-solaris.html > Seriously, why is this not in /usr/include/acl.h? There is no acl.h, there's only a sys/acl.h, and it contains the POSIX.1e draft, as in Linux: https://cygwin.com/cygwin-api/std-deprec.html But that reminds me, the doc should note that these are in cygwin/acl.h. I'll add that. > Windows (mingw, Visual Studio, Borland C) does not have an acl.h > header, and there is no /usr/include/acl.h on Linux, so please do a > echo "#include <cygwin/acl.h>" >/usr/include/acl.h There's no precedent for cluttering the /usr/include namespace with a generic acl.h, so, no, just include cygwin/acl.h. Corinna