OSDN Git Service

Add CAP_NET_ADMIN capability
authorMichael Goffioul <michael.goffioul@lincor.com>
Wed, 9 Oct 2019 17:51:07 +0000 (13:51 -0400)
committerMichael Goffioul <michael.goffioul@lincor.com>
Wed, 9 Oct 2019 17:51:07 +0000 (13:51 -0400)
This is required to use uevent with a buffer size that is larger than
net.core.rmem_max.

See https://android.googlesource.com/platform/system/core/+/41aa2c3703ece8c7e8f869dbb74aaf68aeca2310

android.hardware.graphics.composer@2.1-service.drmfb.rc

index 277077f..48c4c91 100644 (file)
@@ -2,6 +2,6 @@ service vendor.hwcomposer-2-1.drmfb /vendor/bin/hw/android.hardware.graphics.com
     class hal animation
     user system
     group graphics drmrpc
-    capabilities SYS_NICE
+    capabilities SYS_NICE NET_ADMIN
     onrestart restart surfaceflinger
     writepid /dev/cpuset/system-background/tasks