projects
/
platform
/
core
/
security
/
security-config.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd48708
)
Add missing SMACK labelling cmd in change_permission.
15/257815/1
accepted/tizen/6.0/unified/20210504.115215
submit/tizen_6.0/20210503.084411
author
Jin-gyu Kim
<jin-gyu.kim@samsung.com>
Mon, 3 May 2021 08:13:19 +0000
(17:13 +0900)
committer
Jin-gyu Kim
<jin-gyu.kim@samsung.com>
Mon, 3 May 2021 08:23:00 +0000
(17:23 +0900)
This does not affect any operation, but need to reset SMACK label
for any mismatch in SMACK label.
Change-Id: I0d6053c341d4070d25b7a0839ef439a4972ed424
config/change_permission
patch
|
blob
|
history
diff --git
a/config/change_permission
b/config/change_permission
index 5a27d50dc1af8b9671878a3573eeb58e7d5a2f82..340a599666d73e93fb2cf47b8b288ef673401734 100644
(file)
--- a/
config/change_permission
+++ b/
config/change_permission
@@
-34,3
+34,6
@@
then
chown root:system_share /opt/var/lib/misc
chmod 0775 /opt/var/lib/misc
fi
+
+# Set SMACK label as "System::Privileged" in /opt/var/security-manager/rules
+chsmack -r -a "System::Privileged" /opt/var/security-manager/rules