mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-10 07:06:43 +07:00
sanity_tests
This commit is contained in:
parent
fef1469fe6
commit
065ff4bd05
@ -51,6 +51,11 @@ echo_wrapper_silent_audit() {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sanity_tests() {
|
||||||
|
echo_wrapper_audit which \
|
||||||
|
capsh getcap setcap stat find dpkg-statoverride group passwd xargs grep
|
||||||
|
}
|
||||||
|
|
||||||
add_nosuid_statoverride_entry() {
|
add_nosuid_statoverride_entry() {
|
||||||
local fso_to_process
|
local fso_to_process
|
||||||
fso_to_process="$fso"
|
fso_to_process="$fso"
|
||||||
@ -417,6 +422,7 @@ parse_config_folder() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sanity_tests
|
||||||
parse_config_folder
|
parse_config_folder
|
||||||
|
|
||||||
if [ ! "$exit_code" = "0" ]; then
|
if [ ! "$exit_code" = "0" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user