Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Commit

Permalink
systemd: Disable SELinux permissions checks
Browse files Browse the repository at this point in the history
We don't care about the interaction between systemd and SELinux policy, so
let's just disable these checks rather than having to incorporate policy
support. This has no impact on our SELinux use-case, which is purely intended
to limit containers and not anything running directly on the host.
  • Loading branch information
Matthew Garrett authored and dm0- committed Mar 7, 2018
1 parent fd44d69 commit 9840132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/selinux-access.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

int mac_selinux_generic_access_check(sd_bus_message *message, const char *path, const char *permission, sd_bus_error *error);

#if HAVE_SELINUX
#if 0

#define mac_selinux_access_check(message, permission, error) \
mac_selinux_generic_access_check((message), NULL, (permission), (error))
Expand Down

0 comments on commit 9840132

Please sign in to comment.