one more openat-style function required: fchmodat

Ulrich Drepper drepper@redhat.com
Fri Jan 6 15:27:00 GMT 2006


Roland McGrath wrote:
> It's a natural, obvious, and useful addition, no matter what Solaris does
> or doesn't have.  I've put it in.

I'm not at all convinced this is a good think.  It can be achieved using
openat + fchmod.  Yes, other functions we already added fall into that
category, too, but they are either in Solaris' code.  Plus, fstatat, for
instance, if far more performance critical than fchmodat.  Except for
chmod -R no code uses it in mass and chmod is well served by fchmodat.
So, provide a good reason to keep the code or I'll revert the patch.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20060106/3d6bd9aa/attachment.sig>


More information about the Libc-alpha mailing list