linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Selabel/selinux support in mtd-utils for ubifs
@ 2018-05-21 11:47 Ritesh Harjani
  2018-05-21 21:26 ` Richard Weinberger
  0 siblings, 1 reply; 3+ messages in thread
From: Ritesh Harjani @ 2018-05-21 11:47 UTC (permalink / raw)
  To: linux-mtd, Richard Weinberger

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-05-22 11:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-21 11:47 Selabel/selinux support in mtd-utils for ubifs Ritesh Harjani
2018-05-21 21:26 ` Richard Weinberger
2018-05-22 11:00   ` Ritesh Harjani

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).