From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fQUuc-0007kt-58 for linux-mtd@lists.infradead.org; Wed, 06 Jun 2018 09:39:33 +0000 From: Ritesh Harjani To: linux-mtd@lists.infradead.org, richard@nod.at, david.oberhollenzer@sigma-star.at Cc: Ritesh Harjani Subject: [RFC PATCH 0/2] mkfs.ubifs: Implement selinux labelling support Date: Wed, 6 Jun 2018 15:08:58 +0530 Message-Id: <1528277940-30919-1-git-send-email-riteshh@codeaurora.org> List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi All, This patchset implements the selinux context labelling support in mkfs.ubifs utility which was discussed here [1]. Patchset is based upon previous work done by John [2]. Commit texts should explain about the change description. I have tested this on my 4.9 kernel NAND based internal device with UBIFS and selinux enabled. With this we are able to set the respective selinux labels based on the input file_context provided in mkfs.ubifs command. [1]:- http://lists.infradead.org/pipermail/linux-mtd/2018-May/081138.html [2]:- http://lists.infradead.org/pipermail/linux-mtd/2014-February/052136.html Ritesh Harjani (2): mkfs.ubifs: add_xattr is not depending on host XATTR support mkfs.ubifs: Implement selinux labelling support in mkfs.ubifs. Makefile.am | 4 + configure.ac | 27 +++++ ubifs-utils/Makemodule.am | 4 +- ubifs-utils/mkfs.ubifs/mkfs.ubifs.c | 197 ++++++++++++++++++++++++++++-------- 4 files changed, 189 insertions(+), 43 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.