The attached patch fixes the following issue:
The selinux-testsuite file sigiotask testcase (run as test_fileop_t)
needs rw permission to terminals to proceed its execution, which is not
allowed by the non refpolicies provided in the testsuite.
Best regards,
--
Ramon de Carvalho Valle
Software Engineer
IBM Linux Technology Center
E-Mail: [EMAIL PROTECTED]
Mobile: +55-21-78987602
diff -urN ltp-full-20080531.original/testcases/kernel/security/selinux-testsuite/policy/test_file.te ltp-full-20080531/testcases/kernel/security/selinux-testsuite/policy/test_file.te
--- ltp-full-20080531.original/testcases/kernel/security/selinux-testsuite/policy/test_file.te 2005-11-17 14:10:31.000000000 -0200
+++ ltp-full-20080531/testcases/kernel/security/selinux-testsuite/policy/test_file.te 2008-07-14 11:19:57.000000000 -0300
@@ -51,6 +51,8 @@
allow test_fileop_t fileop_file_t:file { setattr rw_file_perms};
allow test_fileop_t fileop_file_t:file { execute relabelfrom relabelto };
allow test_fileop_t fileop_t:process { signal };
+allow test_fileop_t initrc_devpts_t:chr_file { rw_file_perms };
+allow test_fileop_t initrc_t:fd use;
# Permissions for the 'bad' domain...
allow test_nofileop_t nofileop_rw_file_t:file { read write append relabelfrom };
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list