On Wed, 2008-08-27 at 17:04 +0900, KaiGai Kohei wrote: > James Morris wrote: > > Could you also please add tests for this (at least one which should fail > > and one which should succeed) to the Linux Test Project? > > > > > > - James > > Policies stored in ltp/testcases/kernel/security/selinux-testsuite/refpolicy/ > invokes massive deprecated interfaces on selinux-policy-3.5.4. > > This patch fixes them according to the warning messages which encourage to > replace older ones. > > BTW, I'm not happy with the test_policy.pp does not allow to invoke test > scripts from unconfined_t domain. Is it to be fixed? I don't quite follow. Did you follow the instructions in the selinux-testsuite README? I can run the test scripts either using the test_selinux.sh script or by manually loading the policy and then individually running them as described in the README. Watch out that your patch doesn't disturb the existing misc/sbin_deprecated.patch that gets applied by test_selinux.sh. Keep in mind that this testsuite gets run on everything from RHEL4 to F9. -- Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.