Skip to content
Snippets Groups Projects
Commit d0b1a44e authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Git Automerger
Browse files

am beb279c7: allow init swapon()

* commit 'beb279c7':
  allow init swapon()
parents 61027bc5 beb279c7
No related branches found
No related tags found
No related merge requests found
...@@ -102,6 +102,10 @@ allow init self:udp_socket { create ioctl }; ...@@ -102,6 +102,10 @@ allow init self:udp_socket { create ioctl };
# set scheduling parameters for a kernel domain task. # set scheduling parameters for a kernel domain task.
allow init kernel:process setsched; allow init kernel:process setsched;
# swapon() needs write access to swap device
# system/core/fs_mgr/fs_mgr.c - fs_mgr_swapon_all
allow init swap_block_device:blk_file rw_file_perms;
### ###
### neverallow rules ### neverallow rules
### ###
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment