All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konstantin Dorfman <kdorfman@codeaurora.org>
To: linux-fsdevel@vger.kernel.org, Jaegeuk Kim <jaegeuk.kim@samsung.com>
Subject: f2fs xattr and SELinux
Date: Sun, 01 Dec 2013 19:09:48 +0200	[thread overview]
Message-ID: <529B6D5C.2080200@codeaurora.org> (raw)

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


             reply	other threads:[~2013-12-01 17:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-01 17:09 Konstantin Dorfman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-12-02  0:09 f2fs xattr and SELinux Jaegeuk Kim
2013-12-02 15:00 ` Konstantin Dorfman
2013-12-03 16:31 ` Konstantin Dorfman
2013-12-04  8:02   ` Jaegeuk Kim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=529B6D5C.2080200@codeaurora.org \
    --to=kdorfman@codeaurora.org \
    --cc=jaegeuk.kim@samsung.com \
    --cc=linux-fsdevel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.