[PATCH 0/6] Extended file stat system call

Roland McGrath roland at hack.frob.com
Thu Apr 26 12:24:01 MDT 2012


> Interesting.  I wasn't intending to provide both statx() and statxat()
> variants, just the latter, in which case I'd've though that -at suffix is
> redundant.

It's certainly fine to provide only *at flavors for any new syscall, IMHO.
The * case is always just a simple degenerate case of *at, and libc can
trivially provide the simpler user API as well using the *at syscall.

But please keep the uniformity that everything taking a descriptor and AT_*
flags is named *at.


Thanks,
Roland


More information about the samba-technical mailing list