Hello,

I was working with an Android N Preview emulator over adb, and I noticed
that when I run "ls -Z", symlinks do not show their SELinux context, but
"?" instead. e.g.:
> $ adb shell id -Z
> context=u:r:su:s0
> $ adb shell ls -lZ /mnt
> ...
> lrwxrwxrwx 1 root root ? 7 2016-04-01 16:30 sdcard -> /sdcard

This happens for all symlinks, on an emulator built with the default
AOSP Android N Preview x86 emulator image distributed with the Android
SDK, with SELinux enabled and enforcing, running adb as root.
"ls" is running in the "u:r:su:s0" context.
I see no permission denials in dmesg. I have tried putting SELinux in
permissive mode, and it does not change anything.

Does anyone know why this is happening?

Thank you,

Filippo
_______________________________________________
Seandroid-list mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to 
[email protected].

Reply via email to