public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: Ritesh Harjani <riteshh@codeaurora.org>
Cc: linux-mtd@lists.infradead.org, david.oberhollenzer@sigma-star.at
Subject: Re: Selabel/selinux support in mtd-utils for ubifs
Date: Mon, 21 May 2018 23:26:53 +0200	[thread overview]
Message-ID: <1707195.VuFK1zXW7D@blindfold> (raw)
In-Reply-To: <d1fc48d2-ee16-2405-bf4d-a75ea8cd5f46@codeaurora.org>

Ritesh,

Am Montag, 21. Mai 2018, 13:47:53 CEST schrieb Ritesh Harjani:
> 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.

Yes.

> 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?

No, just revive the patches.
In 2014 the maintainer situation was different and sadly we forgot about some
patches.
 
> I would like to work upon adding selinux support in mtd-utils.

This would be wonderful!

> I would appreciate if I could get some pointers on above queries and if 
> anyone has any pointers/suggestions for this.

Just go ahead. :-)

Thanks,
//richard

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-21 11:47 Selabel/selinux support in mtd-utils for ubifs Ritesh Harjani
2018-05-21 21:26 ` Richard Weinberger [this message]
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=1707195.VuFK1zXW7D@blindfold \
    --to=richard@nod.at \
    --cc=david.oberhollenzer@sigma-star.at \
    --cc=linux-mtd@lists.infradead.org \
    --cc=riteshh@codeaurora.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox