projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afbd499
)
Add nosuid and noexec option for mounting /tmp
author
Kunhoon Baik
<knhoon.baik@samsung.com>
Fri, 15 Apr 2016 01:08:52 +0000
(10:08 +0900)
committer
Łukasz Stelmach
<l.stelmach@samsung.com>
Fri, 26 Jan 2024 16:49:49 +0000
(17:49 +0100)
Refer to : https://bugs.tizen.org/jira/browse/TM-233
Change-Id: Ibc06d23f6743b2c21007cef5e340048a1e0d1429
units/tmp.mount.m4
patch
|
blob
|
history
diff --git
a/units/tmp.mount.m4
b/units/tmp.mount.m4
index
368dbd9
..
d1f61dc
100644
(file)
--- a/
units/tmp.mount.m4
+++ b/
units/tmp.mount.m4
@@
-20,5
+20,5
@@
What=tmpfs
Where=/tmp
Type=tmpfs
m4_ifdef(`HAVE_SMACK',
-`Options=mode=1777,strictatime,smackfsroot=*',
-`Options=mode=1777,strictatime')
+`Options=mode=1777,strictatime,smackfsroot=*
,nosuid,noexec
',
+`Options=mode=1777,strictatime
,nosuid,noexec
')