about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-06-10 17:29:45 +0530
committerAndinus <andinus@nand.sh>2020-06-10 17:29:45 +0530
commitfcd6004951ff78735e3b428be0b69ff915b951cd (patch)
tree8d0d62fcf41983bf767814ffedd58cd7b38926c9
parent0ff1f3d221ad52608ccfeb0e470b196a23395823 (diff)
downloadara-fcd6004951ff78735e3b428be0b69ff915b951cd.tar.gz
Better unveil list
While not perfect this is a lot better than the old list.
-rwxr-xr-xara.pl7
1 files changed, 4 insertions, 3 deletions
diff --git a/ara.pl b/ara.pl
index 4f5170a..a351eb6 100755
--- a/ara.pl
+++ b/ara.pl
@@ -43,9 +43,10 @@ die "Can't use --local and --latest together\n"
 
 # %unveil contains list of paths to unveil with their permissions.
 my %unveil = (
-    "/" => "rx", # Unveil "/", remove this later after profiling with
-                 # ktrace.
-    "/home" => "", # Veil "/home", we don't want to read it.
+    "/usr" => "rx",
+    "/var" => "rx",
+    "/etc" => "rx",
+    "/dev" => "rx",
     "/tmp" => "rwc",
     "/dev/null" => "rw",
 );