diff options
| author | 2023-12-08 09:23:32 +0000 | |
|---|---|---|
| committer | 2023-12-23 08:35:52 +0000 | |
| commit | ebc0e20d8b3595a2ad98179835887561531c8252 (patch) | |
| tree | d39527076160a0accb718f12fc19f13e3f391a7f /libs/androidfw/AssetsProvider.cpp | |
| parent | fccb92333478f16967b2357191a4f3b31a5e907b (diff) | |
grant CAP_WAKE_ALARM to AID_NETWORK_STACK
It is effectively an oversight that bluetooth has this
but network stack does not.
This prevents the network stack process from (for example)
using timerfd_create with CLOCK_{REAL,BOOT}TIME_ALARM,
without trampolining through parts of the mainline module
which are shipped as part of the system server.
See:
https://man7.org/linux/man-pages/man2/timerfd_create.2.html
This change presumably depends on
https://android-review.googlesource.com/c/platform/system/sepolicy/+/2863215
Bug: 316171727
Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I3198262bc45cdd894fead211e9c3c6215dae71de
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions