Skip to content

Commit 1303f7e

Browse files
authored
Merge pull request #1064 from pebenito/quic_amisjain-obexctl-ssh
obexctl: Add sepolicy for obexctl to work in ssh
2 parents da608ca + b91cef9 commit 1303f7e

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

policy/modules/services/obex.fc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/usr/bin/obex-data-server -- gen_context(system_u:object_r:obex_exec_t,s0)
2+
/usr/libexec/bluetooth/obexd -- gen_context(system_u:object_r:obex_exec_t,s0)

policy/modules/system/unconfined.te

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,10 @@ optional_policy(`
174174
needrestart_run(unconfined_t, unconfined_r)
175175
')
176176

177+
optional_policy(`
178+
obex_dbus_chat(unconfined_t)
179+
')
180+
177181
optional_policy(`
178182
oddjob_run_mkhomedir(unconfined_t, unconfined_r)
179183
')

0 commit comments

Comments
 (0)