[RESEND PATCH v11 3/3] selftest/interpreter: Add tests for trusted_for(2) policies

2020-10-19 Thread Mickaël Salaün
From: Mickaël Salaün Test that checks performed by trusted_for(2) on file descriptors are consistent with noexec mount points and file execute permissions, according to the policy configured with the fs.trust_policy sysctl. Signed-off-by: Mickaël Salaün Reviewed-by: Thibaut Sautereau Cc: Al

[PATCH v11 3/3] selftest/interpreter: Add tests for trusted_for(2) policies

2020-10-01 Thread Mickaël Salaün
From: Mickaël Salaün Test that checks performed by trusted_for(2) on file descriptors are consistent with noexec mount points and file execute permissions, according to the policy configured with the fs.trust_policy sysctl. Signed-off-by: Mickaël Salaün Reviewed-by: Thibaut Sautereau Cc: Al