summaryrefslogtreecommitdiff
path: root/distrib/macppc/ramdisk
diff options
context:
space:
mode:
authorRicardo Mestre <mestre@cvs.openbsd.org>2019-04-30 17:05:16 +0000
committerRicardo Mestre <mestre@cvs.openbsd.org>2019-04-30 17:05:16 +0000
commit7f1a8bec460a41a172fb21ffab33697ce8395c12 (patch)
tree707bfd165ffb416fabf2e45ff246035887730ae4 /distrib/macppc/ramdisk
parent1788d9627b65762b4ae9f5f89110eaad145e423e (diff)
Restrict filesystem access with unveil(2):
First it needs to open(2) `device' with read permissions, /dev/hotplug by default but can be changed via arguments. Then it needs read/execute on both _PATH_ETC_HOTPLUG_{ATTACH,DETACH} to access(2) and execl(3) them. ok deraadt@
Diffstat (limited to 'distrib/macppc/ramdisk')
0 files changed, 0 insertions, 0 deletions