1obex_selinux(8) SELinux Policy obex obex_selinux(8)
2
3
4
6 obex_selinux - Security Enhanced Linux Policy for the obex processes
7
9 Security-Enhanced Linux secures the obex processes via flexible manda‐
10 tory access control.
11
12 The obex processes execute with the obex_t SELinux type. You can check
13 if you have these processes running by executing the ps command with
14 the -Z qualifier.
15
16 For example:
17
18 ps -eZ | grep obex_t
19
20
21
23 The obex_t SELinux type can be entered via the obex_exec_t file type.
24
25 The default entrypoint paths for the obex_t domain are the following:
26
27 /usr/bin/obex-data-server, /usr/libexec/bluetooth/obexd
28
30 SELinux defines process types (domains) for each process running on the
31 system
32
33 You can see the context of a process using the -Z option to ps
34
35 Policy governs the access confined processes have to files. SELinux
36 obex policy is very flexible allowing users to setup their obex pro‐
37 cesses in as secure a method as possible.
38
39 The following process types are defined for obex:
40
41 obex_t
42
43 Note: semanage permissive -a obex_t can be used to make the process
44 type obex_t permissive. SELinux does not deny access to permissive
45 process types, but the AVC (SELinux denials) messages are still gener‐
46 ated.
47
48
50 SELinux policy is customizable based on least access required. obex
51 policy is extremely flexible and has several booleans that allow you to
52 manipulate the policy and run obex with the tightest access possible.
53
54
55
56 If you want to deny any process from ptracing or debugging any other
57 processes, you must turn on the deny_ptrace boolean. Enabled by
58 default.
59
60 setsebool -P deny_ptrace 1
61
62
63
64 If you want to allow any process to mmap any file on system with
65 attribute file_type, you must turn on the domain_can_mmap_files bool‐
66 ean. Enabled by default.
67
68 setsebool -P domain_can_mmap_files 1
69
70
71
72 If you want to allow all domains write to kmsg_device, while kernel is
73 executed with systemd.log_target=kmsg parameter, you must turn on the
74 domain_can_write_kmsg boolean. Disabled by default.
75
76 setsebool -P domain_can_write_kmsg 1
77
78
79
80 If you want to allow all domains to use other domains file descriptors,
81 you must turn on the domain_fd_use boolean. Enabled by default.
82
83 setsebool -P domain_fd_use 1
84
85
86
87 If you want to allow all domains to have the kernel load modules, you
88 must turn on the domain_kernel_load_modules boolean. Disabled by
89 default.
90
91 setsebool -P domain_kernel_load_modules 1
92
93
94
95 If you want to allow all domains to execute in fips_mode, you must turn
96 on the fips_mode boolean. Enabled by default.
97
98 setsebool -P fips_mode 1
99
100
101
102 If you want to enable reading of urandom for all domains, you must turn
103 on the global_ssp boolean. Disabled by default.
104
105 setsebool -P global_ssp 1
106
107
108
110 SELinux requires files to have an extended attribute to define the file
111 type.
112
113 You can see the context of a file using the -Z option to ls
114
115 Policy governs the access confined processes have to these files.
116 SELinux obex policy is very flexible allowing users to setup their obex
117 processes in as secure a method as possible.
118
119 The following file types are defined for obex:
120
121
122
123 obex_exec_t
124
125 - Set files with the obex_exec_t type, if you want to transition an
126 executable to the obex_t domain.
127
128
129 Paths:
130 /usr/bin/obex-data-server, /usr/libexec/bluetooth/obexd
131
132
133 Note: File context can be temporarily modified with the chcon command.
134 If you want to permanently change the file context you need to use the
135 semanage fcontext command. This will modify the SELinux labeling data‐
136 base. You will need to use restorecon to apply the labels.
137
138
140 semanage fcontext can also be used to manipulate default file context
141 mappings.
142
143 semanage permissive can also be used to manipulate whether or not a
144 process type is permissive.
145
146 semanage module can also be used to enable/disable/install/remove pol‐
147 icy modules.
148
149 semanage boolean can also be used to manipulate the booleans
150
151
152 system-config-selinux is a GUI tool available to customize SELinux pol‐
153 icy settings.
154
155
157 This manual page was auto-generated using sepolicy manpage .
158
159
161 selinux(8), obex(8), semanage(8), restorecon(8), chcon(1), sepolicy(8)
162 , setsebool(8)
163
164
165
166obex 19-04-25 obex_selinux(8)