No description. Add one?
  • C 52.6%
  • Rust 25.3%
  • C++ 22.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Maciej Żenczykowski 5e4aabfcaa Perform map chmod *before* chown
After we chown, we potentially are no longer the owner (if we chown'ed
to a different uid then AID_ROOT) and thus can no longer chmod.

If we chmod before we chown, this problem is eliminated.

This fixes uid != AID_ROOT for maps.

Bug: 218408035
Bug: 237716689
Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ifbbe37d8dceff245d4def950712f1847615d5856
2022-07-01 15:56:45 +00:00
bpfloader bpfloader: support 'shared' maps and per-map/program selinux context 2022-06-21 02:23:09 -07:00
libbpf_android Perform map chmod *before* chown 2022-07-01 15:56:45 +00:00
progs Include android_filesystem_config.h in mock_bpf_helpers.h 2022-03-08 17:30:53 -08:00
.clang-format Replace clang-format with symlink. 2019-01-18 14:26:33 -08:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to system/bpf 2021-02-05 01:28:19 -08:00
NOTICE Fix the build problem with bpf project 2018-10-16 21:17:12 -07:00
OWNERS Always use OWNERS from master branch. 2021-11-17 10:51:28 -08:00
OWNERS_bpf Always use OWNERS from master branch. 2021-11-17 10:51:28 -08:00
PREUPLOAD.cfg Fix the build problem with bpf project 2018-10-16 21:17:12 -07:00