-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This one compiles for me on Fedora 18. Depends on your compiler, I think this used to be allowed but newer compilers force you to specify the role alone. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCj8sMACgkQrlYvE4MpobMHfgCfRCDdLWo1hY4WfYA/uPLzZ1a6 x2cAoNViELjUDcAa3Ynb65OUMWuf1HJ6 =LzWJ -----END PGP SIGNATURE-----
policy_module(mytest, 1.0) type mytest_t; role mytest_r; role mytest_r types { mytest_t }; allow mytest_t self:file read; #gen_user( mytest_u, user, mytest_r, s0, s0 )
-- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/selinux