[LTP] [PATCH] sched: add sched sysctl sanity test
Cyril Hrubis
chrubis@suse.cz
Tue Oct 3 10:54:38 CEST 2023
Hi!
> Hmm, so I guess that with LSM we are able to open these files R/W but we
> can stil get EPERM from the write() right? I'm reluctant to add wildcard
> TCONF on any errno, but I guess that we can add a TST_EXP_FAIL macro
> version that would have one errno for PASS and one errno for TCONF.
I was thinking about this yesterday and maybe best solution would be to
introduce a global switch (env variable) that would switch the
TST_EXP_FAIL() macros to a more forgiving mode so that EINVAL and EPERM
and possibly a few more errnos would be converted into TCONF
automatically. What do you think?
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list