Skip to content

Commit

Permalink
deny /usr/sbin/ldconfig rix,
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Aug 22, 2021
1 parent 3729e1f commit 23a2420
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions etc/apparmor.d/abstractions/url_to_unixtime
Expand Up @@ -20,3 +20,6 @@
deny /sbin/** rwx,
deny @{PROC}/** r,
deny /usr/bin/python3.9 r,
## Related to compilation to byte code?
## AVC apparmor="DENIED" operation="exec" profile="/usr/bin/sdwdate" name="/usr/sbin/ldconfig" comm="sdwdate" requested_mask="x" denied_mask="x"
deny /usr/sbin/ldconfig rix,
4 changes: 4 additions & 0 deletions etc/apparmor.d/usr.bin.sdwdate
Expand Up @@ -64,6 +64,10 @@
deny /run/sdwdate/forbidden-temp/** rwmkl,
## This might get better once apparmor no new privs issue is resolved.

## Related to compilation to byte code?
## AVC apparmor="DENIED" operation="exec" profile="/usr/bin/sdwdate" name="/usr/sbin/ldconfig" comm="sdwdate" requested_mask="x" denied_mask="x"
deny /usr/sbin/ldconfig rix,

## TODO
/usr/sbin/anondate-get rUx,
## Not implemented.
Expand Down

0 comments on commit 23a2420

Please sign in to comment.