logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

selinux_check_securetty_context - check whether a SELinux tty security context is defined as a securetty

Description

selinux_check_securetty_context() returns 0 if tty_context is a securetty context, returns < 0 otherwise.

Name

       selinux_check_securetty_context  - check whether a SELinux tty security context is defined as a securetty
       context

See Also

selinux(8)

dwalsh@redhat.com                                1 January 2007               selinux_check_securetty_context(3)

Synopsis

#include<selinux/selinux.h>intselinux_check_securetty_context(constchar*tty_context);

See Also