Opened 6 years ago
Closed 6 years ago
#57611 closed enhancement (fixed)
consider adding faccessat (and likely a number of other *at functions) to 10.9 and less
Reported by: | kencu (Ken) | Owned by: | kencu (Ken) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | cjones051073 (Chris Jones) | |
Port: | legacy-support |
Description
it appears that most of these functions showed up in macOS 10.10. They are POSIX 200809 for the most part, I believe.
Current software is increasingly using these, most often without replacements.
There are replacements for some of these in gnulib, not always completely replicating the functionality.
Change History (6)
comment:1 Changed 6 years ago by cjones051073 (Chris Jones)
comment:2 Changed 6 years ago by kencu (Ken)
gnulib (GPL3+) <https://github.com/coreutils/gnulib/blob/master/lib/faccessat.c>
Apple Open Source (APSL 2.0) (much more complicated version) <https://github.com/apple/darwin-xnu/blob/master/bsd/vfs/vfs_syscalls.c#L5476>
comment:5 Changed 6 years ago by cjones051073 (Chris Jones)
Hmmm. Seriously, licenses are important. Please do not add anything not compatible with MIT. I have no wish to get into hot water..
comment:6 Changed 6 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
added 201811
Note: See
TracTickets for help on using
tickets.
Sounds ok to me.
Do you have a link for a possible implementation ? Bear in mind to use it in the legacy-support library the license must be compatible with the MIT license used there.