projects
/
platform
/
core
/
connectivity
/
bluetooth-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f531ec
)
Change network_fw uid/gid from root for bluetooth-stack-up.service
33/192633/1
author
Wootak Jung
<wootak.jung@samsung.com>
Wed, 7 Nov 2018 06:44:34 +0000
(15:44 +0900)
committer
Wootak Jung
<wootak.jung@samsung.com>
Wed, 7 Nov 2018 06:44:34 +0000
(15:44 +0900)
For using insmod, service file needs CAP_SYS_MODULE capability as network_fw.
Change-Id: I7b690fc7e4cc83f9e08412fb510af8fc86560fa6
packaging/bluetooth-stack-up.service
patch
|
blob
|
history
diff --git
a/packaging/bluetooth-stack-up.service
b/packaging/bluetooth-stack-up.service
index
fe13beb
..
cc1daab
100644
(file)
--- a/
packaging/bluetooth-stack-up.service
+++ b/
packaging/bluetooth-stack-up.service
@@
-2,8
+2,12
@@
Description=Service to run bt-stack-up.sh script to start BT functions
[Service]
+User=network_fw
+Group=network_fw
Type=oneshot
SupplementaryGroups=priv_mediastorage priv_externalstorage dialout
+Capabilities=cap_sys_module=i
+SecureBits=keep-caps
ExecStart=/usr/etc/bluetooth/bt-stack-up.sh
RemainAfterExit=yes