Skip to content
Commit fc0ff94f authored by Connor O'Brien's avatar Connor O'Brien Committed by improbir
Browse files

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: default avatarConnor O'Brien <connoro@google.com>
Signed-off-by: default avatarSteven Moreland <smoreland@google.com>
Acked-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: default avatarPaul 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)
Signed-off-by: default avatarimprobir <ghosh_probir@yahoo.com>
parent 1e66ae0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment