Home | History | Annotate | only in /external/ltp/testcases/kernel/security/smack
Up to higher level directory
NameDateSize
Makefile21-Aug-2018387
README21-Aug-2018759
smack_common.sh21-Aug-20181.4K
smack_file_access.sh21-Aug-20182.4K
smack_notroot.c21-Aug-2018571
smack_set_ambient.sh21-Aug-20181K
smack_set_cipso.sh21-Aug-20181.8K
smack_set_current.sh21-Aug-20181K
smack_set_direct.sh21-Aug-20181,012
smack_set_doi.sh21-Aug-2018968
smack_set_load.sh21-Aug-20181.5K
smack_set_netlabel.sh21-Aug-20181.2K
smack_set_onlycap.sh21-Aug-20181K
smack_set_socket_labels.c21-Aug-20182.2K

README

      1 These testcases test the Smack Security Module. And they are not part of
      2 default LTP build/install/run.
      3 
      4 A kernel with Smack configured is required to run the Smack testsuite.
      5 (Please see ltp/README for all those config options)
      6 The smackfs filesystem must be mounted at /smack. One way to accomplish
      7 this is to:
      8 1) Create a directory first:
      9 	mkdir -p /smack
     10 
     11 2) Include this line in the /etc/fstab file:
     12 	smackfs /smack smackfs defaults 0 0
     13 
     14 3) Do:
     15 	mount -a
     16 
     17 4) Building/Installing the tests:
     18 	Each test is designed to be independent. The tests can be built
     19 using the default make target.
     20 	(cd testcases/kernel/security/smack; make && make install)
     21 
     22 5) Running the tests:
     23 	./runltp -f smack
     24 
     25 Each test exits with 0 on success and an error code on failure.
     26 
     27