File: selinux_check_securetty_context.3

package info (click to toggle)
libselinux 2.0.65-5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,660 kB
  • ctags: 2,682
  • sloc: ansic: 18,495; python: 296; sh: 195; makefile: 183
file content (16 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.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
.SH "SYNOPSIS"
.B #include <selinux/selinux.h>
.sp
.BI "int selinux_check_securetty_context(security_context_t "tty_context );

.SH "DESCRIPTION"
.B selinux_check_securetty_context
returns 0 if tty_context is a securetty context
returns < 0 otherwise. 

.SH "SEE ALSO"
.BR selinux "(8)"