Skip to content

Commit

Permalink
daisy: init: Do not chmod SELinux nodes
Browse files Browse the repository at this point in the history
* SELinux is enforcing anyways, so there is no need to "hide" these nodes

Signed-off-by: LinkBoi00 <[email protected]>
  • Loading branch information
LinkBoi00 authored and proxer05 committed Aug 18, 2021
1 parent e173e1f commit 7cfb8b7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions init/init_daisy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ static void workaround_snet_properties() {
property_override(snet_prop_key[i], snet_prop_value[i]);
}

chmod("/sys/fs/selinux/enforce", 0640);
chmod("/sys/fs/selinux/policy", 0440);
}

void vendor_load_properties()
Expand Down

0 comments on commit 7cfb8b7

Please sign in to comment.