Skip to content

Commit

Permalink
fully permissive before the ueventd, welcome to bunny stew and kool-aid
Browse files Browse the repository at this point in the history
  • Loading branch information
Sykopompos committed Aug 9, 2014
1 parent 9d760dd commit b304dd3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions boot/ramdisk/init.rc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on early-init
# Set the security context for the init process.
# This should occur before anything else (e.g. ueventd) is started.
setcon u:r:init:s0

setenforce 0
# Set the security context of /adb_keys if present.
restorecon /adb_keys

Expand All @@ -29,10 +29,6 @@ on early-init
# create mountpoints
mkdir /mnt 0775 root system

setsebool debugfs 1

setenforce 0

on init
sysclktz 0

Expand Down Expand Up @@ -324,7 +320,7 @@ on post-fs-data
mkdir /data/security 0711 system system

# Reload policy from /data/security if present.
setprop selinux.reload_policy 0
setprop selinux.reload_policy 1

# Set SELinux security contexts on upgrade or policy update.
restorecon_recursive /data
Expand Down
Binary file modified boot/ramdisk/sepolicy
Binary file not shown.
Binary file removed boot/ramdisk/sepolicy2~
Binary file not shown.

0 comments on commit b304dd3

Please sign in to comment.