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