xref: /aosp_15_r20/external/ltp/testcases/kernel/security/securebits/README (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard WorkerFor more information on securebits, see the capabilities.7 manpage,
2*49cdfc7eSAndroid Build Coastguard Workerspecifically the section entitled
3*49cdfc7eSAndroid Build Coastguard Worker
4*49cdfc7eSAndroid Build Coastguard Worker        The "securebits" flags: establishing a capabilities-only environment
5*49cdfc7eSAndroid Build Coastguard Worker
6*49cdfc7eSAndroid Build Coastguard WorkerTo run these tests there are no kernel configuration requirements, but
7*49cdfc7eSAndroid Build Coastguard Workeryour kernel must be at least Linux 2.6.32-rc7, and you must have a
8*49cdfc7eSAndroid Build Coastguard Worker/usr/include/linux/securebits.h which defines SECBIT_NOROOT.  You also
9*49cdfc7eSAndroid Build Coastguard Workerneed the libcap v2 development libraries installed.
10*49cdfc7eSAndroid Build Coastguard Worker
11