In a pattern, a dot can match any character, including slash. It makes sense when it is combined with ?, + or *, but makes little sense when left alone. Most of the time, the label was for file containing dots, where the dot was not escaped. A few times, the dot was really intended to match any character. In such case, [^/] better suits the intent. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
8 lines
346 B
Plaintext
8 lines
346 B
Plaintext
/usr/sbin/hostapd -- gen_context(system_u:object_r:hostapd_exec_t,s0)
|
|
|
|
/var/run/hostapd(/.*)? gen_context(system_u:object_r:hostapd_var_run_t,s0)
|
|
|
|
/etc/hostapd(/.*)? gen_context(system_u:object_r:hostapd_conf_t,s0)
|
|
|
|
/run/hostapd\.pid -- gen_context(system_u:object_r:hostapd_var_run_t,s0)
|