Skip to content

Commit

Permalink
Merge branch 'dnschneid:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
ShyMaster202 authored May 16, 2024
2 parents 8384f3a + 1056cdd commit de430b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions host-bin/mount-chroot
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ whitelist() {
elif ! mount -n -t securityfs -o nodev,noexec,nosuid securityfs "$sec"; then
return
fi
# Ensure it's mounted rw
if ! mount -o remount,rw "$sec"; then
echo "Failed to make inode security policies writeable" >&2
return 1
fi
policies="$sec/chromiumos/inode_security_policies"
if [ -d "$policies" ]; then
for policy in "$policies/allow_"*; do
Expand Down

0 comments on commit de430b4

Please sign in to comment.