mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-03 00:34:51 -04:00
parent
18a06935e0
commit
0efee2f50f
27 changed files with 65 additions and 66 deletions
19
usr/lib/systemd/system/proc-hidepid.service
Normal file
19
usr/lib/systemd/system/proc-hidepid.service
Normal file
|
@ -0,0 +1,19 @@
|
|||
## Copyright (C) 2019 - 2023 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
||||
## See the file COPYING for copying conditions.
|
||||
|
||||
[Unit]
|
||||
Description=Mounts /proc with hidepid=2
|
||||
Documentation=https://github.com/Kicksecure/security-misc
|
||||
|
||||
DefaultDependencies=no
|
||||
Before=sysinit.target
|
||||
Requires=local-fs.target
|
||||
After=local-fs.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/mount -o remount,nosuid,nodev,noexec,hidepid=2 /proc
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
Loading…
Add table
Add a link
Reference in a new issue