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

Synopsis

#include <selinux/selinux.h>

int selinux_check_securetty_context(char *tty_context);

Description

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

See Also

selinux(8)

Referenced By

securetty_types(5).

1 January 2007 dwalsh@redhat.com SELinux API documentation