[Libguestfs] [PATCH V3] NEW API: add a new api restorecon

Daniel J Walsh dwalsh at redhat.com
Mon Oct 29 13:29:16 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/28/2012 04:45 AM, Richard W.M. Jones wrote:
> On Fri, Oct 26, 2012 at 09:47:40AM +0800, Wanlong Gao wrote:
>> So, Rich, we have some problems here?
> 
> Yeah, I don't see a way to use the restorecon API safely.
> 
> Rich.
> 
Why is that?  selabel_file, with setfilecon() or setfscreatecon() should be
able to do what you want?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCOhKwACgkQrlYvE4MpobMxPACgsqG9kARHIci09x4gYY29nc+a
82gAmwfWUGUPyh69pogZH2xFHg9FI+D5
=N3ME
-----END PGP SIGNATURE-----




More information about the Libguestfs mailing list