bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] find: add SELinux support


From: Eric Blake
Subject: Re: [PATCH 1/2] find: add SELinux support
Date: Tue, 14 Jul 2009 19:31:22 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Kamil Dudka <kdudka <at> redhat.com> writes:

> 
> In other words on Debian find does not change the working directory before 
> calling lgetxattr syscall. That's why lgetxattr does not see the file and 
> returns ENOENT (No such file or directory).

One thing to look at would be kernel versions; not all kernels support openat 
and friends, so on older kernels, the fts traversal algorithms have to fake 
openat by using chdir, but on newer kernels, there are no chdir.  Meanwhile, it 
may be worth begging the kernel and glibc folks to consider implementing 
lgetxattrat and friends.

-- 
Eric Blake






reply via email to

[Prev in Thread] Current Thread [Next in Thread]