1selinux_binary_policy_path(3S)ELinux API Documentatisoenlinux_binary_policy_path(3)
2
3
4

NAME

6       selinux_policy_root,  selinux_binary_policy_path, selinux_failsafe_con‐
7       text_path,     selinux_removable_context_path,     selinux_default_con‐
8       text_path,    selinux_user_contexts_path,    selinux_file_context_path,
9       selinux_media_context_path,    selinux_contexts_path,     selinux_bool‐
10       eans_path - These functions return the paths to the active SELinux pol‐
11       icy configuration directories and files.
12
13

SYNOPSIS

15       #include <selinux/selinux.h>
16
17
18       extern const char *selinux_policy_root(void);
19
20       extern const char *selinux_binary_policy_path(void);
21
22       extern const char *selinux_failsafe_context_path(void);
23
24       extern const char *selinux_removable_context_path(void);
25
26       extern const char *selinux_default_context_path(void);
27
28       extern const char *selinux_user_contexts_path(void);
29
30       extern const char *selinux_file_context_path(void);
31
32       extern const char *selinux_media_context_path(void);
33
34       extern const char *selinux_securetty_types_path(void);
35
36       extern const char *selinux_contexts_path(void);
37
38       extern const char *selinux_booleans_path(void);
39
40
41

DESCRIPTION

43       These functions return the paths to  the  active  policy  configuration
44       directories and files based on the settings in /etc/selinux/config.
45
46
47       selinux_policy_root() - top-level policy directory
48
49       selinux_binary_policy_path() - binary policy file loaded into kernel
50
51       selinux_failsafe_context_path() - failsafe context for emergency logins
52
53       selinux_removable_context_path()  -  filesystem  context  for removable
54       media
55
56       selinux_default_context_path() - system-wide default contexts for  user
57       sessions
58
59       selinux_user_contexts_path()  -  directory  containing per-user default
60       contexts
61
62       selinux_file_context_path() - file contexts configuration
63
64       selinux_media_context_path() - file contexts for media device nodes
65
66       selinux_contexts_path() - directory containing all of the context  con‐
67       figuration files
68
69       selinux_securetty_types_path() - defines tty types for newrole securet‐
70       tys
71
72       selinux_booleans_path() - initial policy boolean settings
73
74

AUTHOR

76       This manual page was written by Dan Walsh <dwalsh@redhat.com>.
77
78

SEE ALSO

80       selinux(8)
81
82
83
84
85dwalsh@redhat.com              15 November 2004  selinux_binary_policy_path(3)
Impressum