Is selinux expected to work on overlayfs ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am playing with overlays in one of our development boards.
The kernel is based of 3.18..

I notice that the selinux label becomes corrupted (unlabeled) once
overlayfs is mounted.

/ # ls -Z /system/bin/vold
u:object_r:vold_exec:s0 /system/bin/vold
/ # mount -t overlay -o lowerdir=/system,upperdir=/cache/upper,
workdir=/cache/working overlayfs /system
/ # ls -Z /system/bin/vold
u:object_r:unlabeled:s0 /system/bin/vold

https://lwn.net/Articles/636943/ article quotes that the selinux issues have
been solved for overlayfs. Since the target is running on 3.18 kernel I am
wondering whether porting the recent patches on overlayfs would solve the
issue ? Or this behavior is expected for overlayfs..

Any pointers is much appreciated !!

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux