[redhat-lspp] kernel bug: fchownat() generates wrong audit record

Ulrich Drepper drepper at redhat.com
Mon Aug 7 15:22:25 UTC 2006


Thiago Jung Bauermann wrote:
> I found out that the fchownat() syscall generates an incorrect audit
> record on ppc64. It shows the syscall number for chown() instead of
> fchownat().
> [...]
> name="/proc/self/fd/3/test.txt" inode=161935 dev=08:05 mode=0100644

This just means that either the libc or the kernel lack the support for
the actual fchownat syscall.  The emulation code is using chown on files
in /proc/self/fd and this is what you see here.


The one thing that is wrong is that /proc/self/fd/3/test.txt doesn't
exist.  The "files" in /proc/*/fd are something like symlinks.

-- 
➧ 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://listman.redhat.com/archives/redhat-lspp/attachments/20060807/e01a8206/attachment.sig>


More information about the redhat-lspp mailing list