Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de652447 authored by Nikita Ioffe's avatar Nikita Ioffe Committed by Gerrit Code Review
Browse files

Revert "dumpstate: explicitly specify capabilities"

This reverts commit 7ffeb395.

Reason for revert: Breaks SELinuxHostTest#testNoBugreportDenials
Bug: 265845525

Change-Id: Icb12f7154b355f913353b39a1bfe14af898f55dc
parent 7ffeb395
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@ service dumpstate /system/bin/dumpstate -s
    socket dumpstate stream 0660 shell log
    disabled
    oneshot
    capabilities CHOWN DAC_OVERRIDE DAC_READ_SEARCH FOWNER FSETID KILL NET_ADMIN NET_RAW SETGID SETUID SYS_PTRACE SYS_RESOURCE BLOCK_SUSPEND SYSLOG

# dumpstatez generates a zipped bugreport but also uses a socket to print the file location once
# it is finished.
@@ -17,11 +16,9 @@ service dumpstatez /system/bin/dumpstate -S
    class main
    disabled
    oneshot
    capabilities CHOWN DAC_OVERRIDE DAC_READ_SEARCH FOWNER FSETID KILL NET_ADMIN NET_RAW SETGID SETUID SYS_PTRACE SYS_RESOURCE BLOCK_SUSPEND SYSLOG

# bugreportd starts dumpstate binder service and makes it wait for a listener to connect.
service bugreportd /system/bin/dumpstate -w
    class main
    disabled
    oneshot
    capabilities CHOWN DAC_OVERRIDE DAC_READ_SEARCH FOWNER FSETID KILL NET_ADMIN NET_RAW SETGID SETUID SYS_PTRACE SYS_RESOURCE BLOCK_SUSPEND SYSLOG