Re: [PATCH testsuite] tests/file: make the SIGIO tests work with CONFIG_LEGACY_TIOCSTI=n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 1, 2023 at 4:09 PM Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
>
> On Wed, Mar 1, 2023 at 4:42 AM Ondrej Mosnacek <omosnace@xxxxxxxxxx> wrote:
> >
> > Adjust the test to temporarily set the dev.tty.legacy_tiocsti sysctl to
> > 1 if it is 0 and re-enable the SIGIO tests.
> >
> > Signed-off-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx>
> > ---
> >
> > The dev.tty.legacy_tiocsti sysctl fix is now in mainline as commit
> > f1aa2eb5ea05 ("sysctl: fix proc_dobool() usability"), so we can use
> > it to re-enable the SIGIO tests.
> >
> > Passes the CI with the latest kernel-secnext kernel.
> >
> >  tests/file/test | 22 ++++++++++++++--------
> >  1 file changed, 14 insertions(+), 8 deletions(-)
>
> Thanks Ondrej.
>
> Reviewed-by: Paul Moore <paul@xxxxxxxxxxxxxx>

Thanks, applied:
https://github.com/SELinuxProject/selinux-testsuite/commit/5fc5dc9f5964aae3a6dce57178b25ddc49d21415

-- 
Ondrej Mosnacek
Senior Software Engineer, Linux Security - SELinux kernel
Red Hat, Inc.





[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux