Try out dgrift's Telepathy SELinux policy
Submitted by Simon McVittie
Assigned to Telepathy bugs list
Description
12:08 < dgrift>
10:01:16> i wrote selinux security policy for telepathy in
fedora 12 but it needs testing was wondering if anyone would
like to try it and provide some feedback so that i can improve
it and hopefully get it included.
12:21 < dgrift>
git clone git://82.197.205.60/selinux-modules.git
12:21 < dgrift>
thats should do it
12:21 < dgrift>
although you might need some directions which i am glad to give
12:22 < dgrift>
ill push my latest commits
12:23 < dgrift>
its up to date
12:24 < dgrift>
basically you need to compile 4 modules, of which 3 are
available there, the fourth youd have to you manually
12:25 < dgrift>
cd ~/git; make -f /usr/share/selinux/devel/Makefile
12:26 < dgrift>
semodule -i telepathy.pp
patch_dbus_transition_to_session_bus_for_telepathy.pp
patch_libraries_allow_ldconfig_rw_tp_butterfly_tmp_files.pp
12:27 < dgrift>
then all you have to to is call the role template
12:29 < dgrift>
echo "policy_module(mytest, 1.0.0)" > mytest.te; echo "require
{ type unconfined_t; }" >> mytest.te; echo
"telepathy_role_template(unconfined, unconfined_r,
unconfined_t)" >> mytest.te; make -f
/usr/share/selinux/devel/Makefile mytest.pp; semodule -i
mytest.pp; restorecon -R -v ~; restorecon -R -v /usr/libexec;
12:30 < dgrift>
thats should get you up