exynos-linux-stable/security
Connor O'Brien e4594ccafa UPSTREAM: security: selinux: allow per-file labeling for bpffs
Add support for genfscon per-file labeling of bpffs files. This allows
for separate permissions for different pinned bpf objects, which may
be completely unrelated to each other.

Signed-off-by: Connor O'Brien <connoro@google.com>
Signed-off-by: Steven Moreland <smoreland@google.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <paul@paul-moore.com>
(cherry picked from commit 4ca54d3d3022ce27170b50e4bdecc3a42f05dbdc)
[which is v5.6-rc1-10-g4ca54d3d3022 and thus already included in 5.10]
Bug: 200440527
Change-Id: I8234b9047f29981b8140bd81bb2ff070b3b0b843
(cherry picked from commit d52ac987ad2ae16ff313d7fb6185bc412cb221a4)
2024-01-28 03:18:44 +03:00
..
apparmor BACKPORT: mm: introduce kv[mz]alloc helpers 2023-02-21 00:19:39 +03:00
defex_lsm import G965FXXU7DTAA OSRC 2020-02-04 13:50:09 +02:00
dsms import G965FXXU7DTAA OSRC 2020-02-04 13:50:09 +02:00
integrity import G96xFXXU9ETF5 2023-02-21 00:10:23 +03:00
keys treewide: use kv[mz]alloc* rather than opencoded variants 2023-02-21 00:20:54 +03:00
loadpin LSM: LoadPin: provide enablement CONFIG 2016-05-17 20:10:30 +10:00
mstdrv import G96xFXXU9ETF5 2023-02-21 00:10:23 +03:00
proca import G96xFXXU9ETF5 2023-02-21 00:10:23 +03:00
samsung import G96XFXXUGFUG4 OSRC 2023-02-21 00:10:27 +03:00
sdp import G965FXXU7DTAA OSRC 2020-02-04 13:50:09 +02:00
selinux UPSTREAM: security: selinux: allow per-file labeling for bpffs 2024-01-28 03:18:44 +03:00
smack smack: use GFP_NOFS while holding inode_smack::smk_lock 2019-10-07 18:53:25 +02:00
tima_uevent import G965FXXU7DTAA OSRC 2020-02-04 13:50:09 +02:00
tomoyo mm: replace get_user_pages_remote() write/force parameters with gup_flags 2016-10-19 08:12:02 -07:00
tz_iccc import G965FXXU7DTAA OSRC 2020-02-04 13:50:09 +02:00
yama Yama: Check for pid death before checking ancestry 2019-01-23 08:10:54 +01:00
commoncap.c import G965FXXU7DTAA OSRC 2020-02-04 13:50:09 +02:00
device_cgroup.c device_cgroup: fix RCU imbalance in error case 2019-04-27 09:34:46 +02:00
inode.c ANDROID: vfs: Add permission2 for filesystems with per mount permissions 2017-01-31 10:47:22 -08:00
Kconfig import G965FXXU7DTAA OSRC 2020-02-04 13:50:09 +02:00
lsm_audit.c missing barriers in some of unix_sock ->addr and ->path accesses 2019-03-19 13:14:10 +01:00
Makefile import G965FXXU7DTAA OSRC 2020-02-04 13:50:09 +02:00
min_addr.c mmap_min_addr check CAP_SYS_RAWIO only for write 2010-05-14 19:03:15 +10:00
security.c Merge 4.9.212 branch 'android-4.9-q' into tw10-android-4.9-q 2020-02-12 12:32:38 +02:00