[BUG libselinux] Use nftw() instead of fts()

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

 



Hello,

The recent versions of libselinux use the fts() function in
src/selinux_restorecon.c. This function is BSD-only, and therefore not
available in the musl C library, and only available optionally in the
uClibc C library.

Would it be possible to use instead the POSIX-compliant nftw()
function, which provides the same functionality?

In addition, using fts() is problematic, as on glibc versions <= 2.22,
it is incompatible with large file support.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux