Proposing SELinux support in strace

Renaud Métrich rmetrich at
Tue Mar 16 13:43:29 UTC 2021

OK, done. Final (?) patch in attachment.

GitHub PR:

On 3/16/21 11:53 AM, Dmitry V. Levin wrote:
> On Tue, Mar 16, 2021 at 11:44:14AM +0100, Renaud Métrich wrote:
> [...]
>> So you really prefer having this in print_dirfd() even though there
>> would be a side effect and we cannot guarantee how print_dirfd() will be
>> used in the future?
> Yes, that's fine, let's add a comment about this side effect in defs.h
> where print_dirfd is declared, that should be enough.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Print-SELinux-contexts-when-enabling-secontext-full-.patch
Type: text/x-patch
Size: 76953 bytes
Desc: not available
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Strace-devel mailing list