Lines Matching refs:caps
76 # leverage keep caps maintain capabilities accross a change of uid
78 pass_capsh --uid=500 -- -c "./tcapsh --keep=1 --caps=\"cap_net_raw,cap_net_admin=ip\" --uid=500 --caps=\"cap_net_raw,cap_net_admin=pie\" --print"
81 pass_capsh --uid=500 -- -c "./tcapsh --keep=1 --caps=\"cap_net_raw,cap_net_admin=ip\" --uid=500 --forkfor=10 --caps= --print --killit=9 --print"
122 caps=\$(./getpcaps \$mypid 2>&1 | cut -d: -f2)
123 if [ "\$caps" != " =" ]; then
124 echo "Shell script got [\$caps] - you should upgrade your kernel"
128 echo "Good, no capabilities [\$caps] for this setuid-0 shell script"
142 pass_capsh --keep=1 --user=nobody --caps=cap_setpcap=ep \
143 --drop=all --secbits=0x2f --caps= --print