29 Oct
2012
29 Oct
'12
1:29 p.m.
-----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-----