Skip to content
Snippets Groups Projects
Commit 368519e1 authored by Jorge Lucangeli Obes's avatar Jorge Lucangeli Obes Committed by android-build-merger
Browse files

Merge "init: Allow SETPCAP for dropping bounding set." am: 02c83835 am: 52dd15a0

am: 5296552b

Change-Id: I03974037aaf0152b3ebfdff20b76c8999cd5382e
parents 2c758812 5296552b
Branches
Tags
No related merge requests found
...@@ -246,8 +246,8 @@ allow init vold_data_file:file { getattr }; ...@@ -246,8 +246,8 @@ allow init vold_data_file:file { getattr };
allow init shell_data_file:dir { open create read getattr setattr search }; allow init shell_data_file:dir { open create read getattr setattr search };
allow init shell_data_file:file { getattr }; allow init shell_data_file:file { getattr };
# Set UID and GID for services. # Set UID, GID, and adjust capability bounding set for services.
allow init self:capability { setuid setgid }; allow init self:capability { setuid setgid setpcap };
# For bootchart to read the /proc/$pid/cmdline file of each process, # For bootchart to read the /proc/$pid/cmdline file of each process,
# we need to have following line to allow init to have access # we need to have following line to allow init to have access
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment