linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Ritesh Harjani <riteshh@codeaurora.org>
To: linux-mtd@lists.infradead.org, Richard Weinberger <richard@nod.at>
Subject: Selabel/selinux support in mtd-utils for ubifs
Date: Mon, 21 May 2018 17:17:53 +0530	[thread overview]
Message-ID: <d1fc48d2-ee16-2405-bf4d-a75ea8cd5f46@codeaurora.org> (raw)

Hello all,

Could anyone please help whether selinux support is fully present on 
ubifs or not?

Below are my observations:-
1. Selinux support was added in ubifs kernel via below patch
"UBIFS: Add security.* XATTR support for the UBIFS"

2. Extended attribute support was added in mtd-utils via below patch.
"mkfs.ubifs: Add extended attribute support"

With above I think that selinux could be enabled but only at the boot 
time using selinux tools.

But I could not see any support to add selinux labels/context 
information while creating ubifs.img in mtd-utils. I do see below link 
where something like above was tried but never made upstream. Could 
anyone please give pointers on whether this support is added/ or bring 
worked upon?

http://lists.infradead.org/pipermail/linux-mtd/2014-February/052136.html

Also Whether selinux labeling support can be added in the mkfs.ubifs or 
not? Do we see any issues with this?

I would like to work upon adding selinux support in mtd-utils.
I would appreciate if I could get some pointers on above queries and if 
anyone has any pointers/suggestions for this.


Regards
Ritesh

-- 
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, 
Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a 
Linux Foundation Collaborative Project.

             reply	other threads:[~2018-05-21 11:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-21 11:47 Ritesh Harjani [this message]
2018-05-21 21:26 ` Selabel/selinux support in mtd-utils for ubifs Richard Weinberger
2018-05-22 11:00   ` Ritesh Harjani

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=d1fc48d2-ee16-2405-bf4d-a75ea8cd5f46@codeaurora.org \
    --to=riteshh@codeaurora.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=richard@nod.at \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).