| 1 |
.TH "selinux_check_securetty_context" "3" "1 January 2007" "[email protected]" "SELinux API documentation" |
| 2 |
.SH "NAME" |
| 3 |
selinux_check_securetty_context \- check whether a SELinux tty security context is defined as a securetty context |
| 4 |
. |
| 5 |
.SH "SYNOPSIS" |
| 6 |
.B #include <selinux/selinux.h> |
| 7 |
.sp |
| 8 |
.BI "int selinux_check_securetty_context(char *" tty_context ); |
| 9 |
. |
| 10 |
.SH "DESCRIPTION" |
| 11 |
.BR selinux_check_securetty_context () |
| 12 |
returns 0 if tty_context is a securetty context, |
| 13 |
returns < 0 otherwise. |
| 14 |
. |
| 15 |
.SH "SEE ALSO" |
| 16 |
.BR selinux "(8)" |