Advertisement
Guest User

Untitled

a guest
Sep 20th, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. # Copyright (C) 2012 The Android Open Source Project
  2. #
  3. # IMPORTANT: Do not create world writable files or directories.
  4. # This is a common source of Android security bugs.
  5. #
  6. service lipstickhack /usr/bin/droid/lipstick-hack.sh
  7. class core
  8. user system
  9. oneshot
  10. group graphics drmrpc
  11. import /init.environ.rc
  12. # Mer handles usb stuff
  13. #import /init.usb.rc
  14. import /init.${ro.hardware}.rc
  15. import /init.${ro.zygote}.rc
  16. import /init.trace.rc
  17. # Include CM's extra init file
  18. import /init.cm.rc
  19.  
  20.  
  21. on early-init
  22. # Apply strict SELinux checking of PROT_EXEC on mmap/mprotect calls.
  23. write /sys/fs/selinux/checkreqprot 0
  24.  
  25. # Set the security context for the init process.
  26. # This should occur before anything else (e.g. ueventd) is started.
  27. setcon u:r:init:s0
  28. "init.rc" 674L, 23101C written
  29. sh-3.2# reboot
  30. sh-3.2# Connection closed by foreign host.
  31. [douglasbrito@home ~]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement