summaryrefslogtreecommitdiff
path: root/libutils/FileMap.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2018-10-02 11:10:30 -0700
committerMark Salyzyn <salyzyn@google.com>2018-10-02 14:08:04 -0700
commitc4a2534e2da2ae3e0e516b35a83aacf6b750ac4f (patch)
treed56318eb4aaea4f69d4fd1dcde4320d07ee6d524 /libutils/FileMap.cpp
parent22d31c2e6846b55f6a07ec9061b12fa20f1e84c3 (diff)
fs_mgr: overlayfs stop adding rootcontext= to mount
By adding the root context, we cause an issue with kernel security profile, the kernel can kick back overlay mounts because the sepolicy is not initialized. observable error when we have root context setup: SELinux: Unable to set superblock options before the security\ server is initialized init: [libfs_mgr]__mount(source=overlay,target=/system,\ type=overlay,upperdir=/cache/overlay/system/upper)=-1:\ Invalid argument root context was added initially due to paranoia, so the side effects are non existent unless upperdir sepolicy is adjusted. Test: manual Bug: 109821005 Change-Id: Id218add0a32df3b2a4626d8cb8aa783760c78cc4
Diffstat (limited to 'libutils/FileMap.cpp')
0 files changed, 0 insertions, 0 deletions