Problem creating user in loadable module

Daniel J Walsh dwalsh at redhat.com
Wed Nov 14 19:36:35 UTC 2012


-----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-----
-------------- next part --------------
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 )


More information about the selinux mailing list