f2fs xattr and SELinux

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

 



Hi all,

I'm trying to use f2fs xattr with SELinux (on android) and getting following error:

root# restorecon -Rv /data
Relabeling /data from u:object_r:unlabeled:s0 to u:object_r:system_data_file:s0. Could not label /data with u:object_r:system_data_file:s0: Operation not supported on transport endpoint

Also, output of `ls -Z` command (all files/dirs are unlabeled):

root# ls -Z /data
drwxrwx--x system   system            u:object_r:unlabeled:s0 app
drwxr-x--x root     root              u:object_r:unlabeled:s0 app_tests
drwxr-x--x root     root              u:object_r:unlabeled:s0 audio-encode
drwxr-x--x root     root              u:object_r:unlabeled:s0 busybox
drwxrwx--x system   system            u:object_r:unlabeled:s0 connectivity
drwxr-x--x root     root              u:object_r:unlabeled:s0 data_test
drwxr-x--x root     root              u:object_r:unlabeled:s0 evt-test
drwxr-x--x root     root              u:object_r:unlabeled:s0 fstest
drwxr-x--x root     root              u:object_r:unlabeled:s0 gps-test
drwxr-x--x root     root              u:object_r:unlabeled:s0 graphics_tests
drwxr-x--x root root u:object_r:unlabeled:s0 instrumentation_tests
drwxr-x--x root     root              u:object_r:unlabeled:s0 kernel-tests
drwxrwx--- root     root              u:object_r:unlabeled:s0 lost+found
drwxrwx--- media_rw media_rw          u:object_r:unlabeled:s0 media

mount output is:
/dev/block/bootdevice/by-name/userdata /data f2fs rw,nosuid,nodev,relatime,background_gc_on,discard,user_xattr,acl,active_logs=6 0 0

Any comments/ideas about why xattr is not working for me on f2fs?

Thanks,
Kostya

--
sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

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




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux