Kern Sibbald wrote: > Unless you are talking about something new of which I am unaware, this has > been implemented in Bacula for quite some time. It is enabled with the "ACL > Support = yes" directive.
No, this is something separate from the POSIX ACL support. > If it is not already, implemented, then I suggest you mention the exact API > that is used to access the "extended attributes" you are referring to in your > Feature Request. >From examining the tar patch and running strace on some of the selinux utility programs, the underlying API appears to use the getxattr/setxattr functions in libattr: http://linux.die.net/man/2/getxattr http://linux.die.net/man/2/setxattr http://linux.die.net/man/2/listxattr There also appears in the tar patch two other functions, getfilecon and setfilecon. I haven't looked at the actual implementation, but comparing ltrace and strace leads me to believe they are simply convenience wrapper functions around getxattr/setxattr. http://linux.die.net/man/3/getfilecon http://linux.die.net/man/3/setfilecon Let me know if you'd like me to do any more background research on this. -- Frank Sweetser fs at wpi.edu | For every problem, there is a solution that WPI Senior Network Engineer | is simple, elegant, and wrong. - HL Mencken GPG fingerprint = 6174 1257 129E 0D21 D8D4 E8A3 8E39 29E3 E2E8 8CEC ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
