Skip to content

Commit

Permalink
man.progile: readonly instead of whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty-snake committed Mar 19, 2021
1 parent e503253 commit f38c680
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions etc/profile-m-z/man.profile
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ include disable-passwdmgr.inc
include disable-programs.inc
include disable-xdg.inc

mkdir ${HOME}/.local/share/man
whitelist ${HOME}/.local/share/man
whitelist ${HOME}/.manpath
#mkdir ${HOME}/.local/share/man
#whitelist ${HOME}/.local/share/man
#whitelist ${HOME}/.manpath
whitelist /usr/share/groff
whitelist /usr/share/info
whitelist /usr/share/lintian
whitelist /usr/share/locale
whitelist /usr/share/man
whitelist /var/cache/man
include whitelist-common.inc
#include whitelist-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc
Expand Down Expand Up @@ -58,9 +58,11 @@ disable-mnt
private-cache
private-dev
private-etc alternatives,fonts,groff,locale,locale.alias,locale.conf,man_db.conf,manpath.config,selinux,sysless,xdg
private-tmp
#private-tmp

dbus-user none
dbus-system none

memory-deny-write-execute
read-only ${HOME}
read-only /tmp

0 comments on commit f38c680

Please sign in to comment.