[RFC PATCH v19 5/5] samples/should-exec: Add set-should-exec

Mimi Zohar zohar at linux.ibm.com
Mon Jul 8 19:40:42 UTC 2024


Hi Mickaël,

On Thu, 2024-07-04 at 21:01 +0200, Mickaël Salaün wrote:
> Add a simple tool to set SECBIT_SHOULD_EXEC_CHECK,
> SECBIT_SHOULD_EXEC_RESTRICT, and their lock counterparts before
> executing a command.  This should be useful to easily test against
> script interpreters.

The print_usage() provides the calling syntax.  Could you provide an example of
how to use it and what to expect?

thanks,

Mimi




More information about the Linux-security-module-archive mailing list