File: selinux_binary_policy_path.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 (70 lines) | stat: -rw-r--r-- 2,208 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
.TH "selinux_binary_policy_path" "3" "15 November 2004" "dwalsh@redhat.com" "SELinux API Documentation"
.SH "NAME"
selinux_policy_root, selinux_binary_policy_path,
selinux_failsafe_context_path, selinux_removable_context_path,
selinux_default_context_path, selinux_user_contexts_path,
selinux_file_context_path, selinux_media_context_path,
selinux_contexts_path, selinux_booleans_path \- These functions return the paths to the active SELinux policy configuration
directories and files.

.SH "SYNOPSIS"
.B #include <selinux/selinux.h>
.sp

extern const char *selinux_policy_root(void);

extern const char *selinux_binary_policy_path(void);

extern const char *selinux_failsafe_context_path(void);

extern const char *selinux_removable_context_path(void);

extern const char *selinux_default_context_path(void);

extern const char *selinux_user_contexts_path(void);

extern const char *selinux_file_context_path(void);

extern const char *selinux_media_context_path(void);

extern const char *selinux_securetty_types_path(void);

extern const char *selinux_contexts_path(void);

extern const char *selinux_booleans_path(void);


.SH "DESCRIPTION"

These functions return the paths to the active policy configuration
directories and files based on the settings in /etc/selinux/config.

.sp
selinux_policy_root() - top-level policy directory 
.sp
selinux_binary_policy_path() - binary policy file loaded into kernel
.sp
selinux_failsafe_context_path() - failsafe context for emergency logins
.sp
selinux_removable_context_path() - filesystem context for removable media
.sp
selinux_default_context_path() - system-wide default contexts for user sessions
.sp
selinux_user_contexts_path() - directory containing per-user default contexts
.sp
selinux_file_context_path() - file contexts configuration
.sp
selinux_media_context_path() - file contexts for media device nodes
.sp
selinux_contexts_path() - directory containing all of the context configuration files
.sp
selinux_securetty_types_path() - defines tty types for newrole securettys
.sp
selinux_booleans_path() - initial policy boolean settings

.SH AUTHOR	
This manual page was written by Dan Walsh <dwalsh@redhat.com>.

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