2008-08-19 19:30:36 +00:00
|
|
|
.TH "selinux_check_securetty_context" "3" "1 January 2007" "dwalsh@redhat.com" "SELinux API documentation"
|
|
|
|
.SH "NAME"
|
|
|
|
selinux_check_securetty_context \- check whether a SELinux tty security context is defined as a securetty context
|
2012-11-13 20:15:34 +00:00
|
|
|
.
|
2008-08-19 19:30:36 +00:00
|
|
|
.SH "SYNOPSIS"
|
|
|
|
.B #include <selinux/selinux.h>
|
|
|
|
.sp
|
2016-12-09 23:33:11 +00:00
|
|
|
.BI "int selinux_check_securetty_context(char *" tty_context );
|
2012-11-13 20:15:34 +00:00
|
|
|
.
|
2008-08-19 19:30:36 +00:00
|
|
|
.SH "DESCRIPTION"
|
2012-11-13 20:15:34 +00:00
|
|
|
.BR selinux_check_securetty_context ()
|
|
|
|
returns 0 if tty_context is a securetty context,
|
2008-08-19 19:30:36 +00:00
|
|
|
returns < 0 otherwise.
|
2012-11-13 20:15:34 +00:00
|
|
|
.
|
2008-08-19 19:30:36 +00:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR selinux "(8)"
|