Skip to content

Commit

Permalink
nameservice explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodysu committed Jul 21, 2021
1 parent 8086ce9 commit f312c3b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions abstractions/3rd/file-chooser
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <abstractions/dbus-strict>
#include <abstractions/3rd/nameservice-strict>
# #include <abstractions/nameservice> # embedded, but more relaxed

# list directory contents
/ r,
Expand Down
1 change: 1 addition & 0 deletions usr.bin.curl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ profile curl /usr/bin/curl {
#include <abstractions/base>
#include <abstractions/openssl>
#include <abstractions/ssl_certs>
# #include <abstractions/nameservice> # embedded, but more relaxed
#include <abstractions/3rd/nameservice-strict>

owner @{HOME}/.curlrc r,
Expand Down
2 changes: 2 additions & 0 deletions usr.bin.ristretto
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ profile ristretto//dash {
/{,usr/}bin/dash r,
#include <abstractions/base>
#include <abstractions/ubuntu-helpers>
#include <abstractions/private-files>
#include <abstractions/private-files-strict>

# sanitized, slightly less bad than Ux; "Use at your own risk."
/usr/bin/gimp-[2-3].[0-9]{,[0-9]} Cx -> sanitized_helper,
Expand Down
1 change: 1 addition & 0 deletions usr.sbin.openvpn
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
profile openvpn /usr/sbin/openvpn {
#include <abstractions/base>
#include <abstractions/openssl>
# #include <abstractions/nameservice> # embedded, but more relaxed
#include <abstractions/3rd/nameservice-strict>

capability net_admin,
Expand Down

0 comments on commit f312c3b

Please sign in to comment.