[strace/strace] tests/linkat: reset context to the expected one if a mismatch has been detected (d548785)
Eugene Syromyatnikov
evgsyr at gmail.com
Sun Jan 23 13:16:52 UTC 2022
On Sun, Jan 23, 2022 at 1:59 PM Renaud Métrich via Strace-devel
<strace-devel at lists.strace.io> wrote:
>
> I think the reset_secontext_file() call can be unconditionally executed on line 80, just before collecting the context.
That would strip the *sample_1_secontext check, and that would likely
not go well with raw_expected_secontext_full_file in the
reset_secontext_file's implementation.
--
Eugene Syromyatnikov
mailto:evgsyr at gmail.com
xmpp:esyr at jabber.{ru|org}
More information about the Strace-devel
mailing list