selinux_check_securetty_context - check whether a SELinux tty security context is defined as a securetty context
#include <selinux/selinux.h> int selinux_check_securetty_context(security_context_t tty_context);
selinux_check_securetty_context returns 0 if tty_context is a securetty context returns < 0 otherwise.
selinux(8) dwalsh@redhat.com 1 January 20selinux_check_securetty_context(3)