tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Adding linux_link(2) system call, second round
On Tue 02 Aug 2011 at 09:05:27 +0000, Emmanuel Dreyfus wrote:
> On Tue, Aug 02, 2011 at 10:02:39AM +0100, Roland C. Dowdeswell wrote:
> > It looks like linkat(2) is POSIX.1-2008 and is implemented by Linux
> > as well as FreeBSD. It might be the more portable direction to go.
>
> Right, then everything is simple, this is just the matter of
> implementing a standard system call.
Ok, then we also want openat(2), fchmodat(2) (which seems to be misnamed
and looks more like a chmodat(2)), unlinkat(2), fchownat(2) (same remark
as fchmodat), etc.
openat(2) is similar to, but not the same as, the existing function
fhopen(2).
These functions can be found here too:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/<func>.html
FreeBSD seems to have:
faccessat
fchmodat
fchownat
fstatat
futimesat
linkat
mkdirat
mkfifoat
mknodat
openat
readlinkat
renameat
symlinkat
unlinkat
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- There's no point being grown-up if you
\X/ rhialto/at/xs4all.nl -- can't be childish sometimes. -The 4th Doctor
Home |
Main Index |
Thread Index |
Old Index