Proposing SELinux support in strace

Dmitry V. Levin ldv at altlinux.org
Tue Nov 17 11:24:47 UTC 2020


On Tue, Nov 17, 2020 at 12:19:06PM +0100, Renaud Métrich wrote:
> Well I'm ok to change the interface :-)
> 
> Most users will just need the short version (e.g. "unconfined_t").
> 
> I have no idea how to have parameters, but will check this, something 
> like --secontext:full likely.

strace uses getopt_long(3), so it should be something like
--option=arg rather than --option:arg.

See longopts in strace.c and a lot of various examples in
tests/options-syntax.test.


-- 
ldv


More information about the Strace-devel mailing list