Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756897Ab3FHAT6 (ORCPT ); Fri, 7 Jun 2013 20:19:58 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:28623 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752956Ab3FHAT4 (ORCPT ); Fri, 7 Jun 2013 20:19:56 -0400 X-AuditID: cbfee68d-b7f096d0000043fc-b3-51b278aa504c Message-id: <1370650718.3600.50.camel@kjgkr> Subject: Re: [PATCH 2/2 v2] f2fs: support xattr security labels From: Jaegeuk Kim Reply-to: jaegeuk.kim@samsung.com To: Namjae Jeon Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Date: Sat, 08 Jun 2013 09:18:38 +0900 In-reply-to: References: <1370584557-20592-1-git-send-email-jaegeuk.kim@samsung.com> <1370584557-20592-2-git-send-email-jaegeuk.kim@samsung.com> <1370592580.3600.42.camel@kjgkr> Organization: samsung Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ucbxUC2dzttUQO1TP9Nd" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGIsWRmVeSWpSXmKPExsVy+t8zfd1VFZsCDY48t7K4fvcWs8WlRe4W e/aeZLG4vGsOmwOLx85Zd9k9di/4zOTxeZNcAHMUl01Kak5mWWqRvl0CV8b0TROZCnZLVhz7 +5ytgfGYaBcjJ4eEgInExssLWCFsMYkL99azdTFycQgJLGOUWLp/OzNM0aL2D4wgtpDAdEaJ h7PLIYpeM0ocuHgJrJtXQEdi3blZ7CC2sIC9xIllv1i6GDk42AS0JTbvN4DoVZR4u/8uK0hY REBNYsKzVJAws0CmxJzXk8GmsAioSkx5eAJsLadAsMTOmdOYIVa9Z5RYfnsZG0iCX0BU4mTr J0aI5iqJbQtBVoHcqSSxu72THeIcQYk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HoxIP7w6TTYFCrIllxZW5hxhVgOY82rD6AqMUS15+XqqSCG/j po2BQrwpiZVVqUX58UWlOanFhxgnMgLDYyKzlGhyPjCZ5ZXEGxqbmBlZGplZGJmYm9NSWEmc 90CrdaCQQHpiSWp2ampBahHMUUwcnFINjBXHZjyvjmjUmjr5V5ak/konhrtKi80E3LLnBv3d cqT890thJZtds88lnJ/gInAm46/2HMUdZtyK13rXHb4yK+9C2sO7iedDGL9ra0q2doWKRfxP 7X4s9KrK4Md2sz3102XWZR8WrUiJfNG1u7XrzjtD71jrKzOmCroeTdpQv9vphOKCT+pz+5VY ijMSDbWYi4oTAR8qzluKAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3413 Lines: 98 --=-ucbxUC2dzttUQO1TP9Nd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2013-06-07 (=EA=B8=88), 19:50 +0900, Namjae Jeon: > 2013/6/7, Jaegeuk Kim : > > Change log from v1: > > o fix a bug > > > > From 901aea226653e26aa3556edd88ca1e48fa89eb5f Mon Sep 17 00:00:00 2001 > > From: Jaegeuk Kim > > Date: Mon, 3 Jun 2013 19:46:19 +0900 > > Subject: [PATCH 2/2] f2fs: support xattr security labels > > Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, > > linux-f2fs-devel@lists.sourceforge.net > > > > This patch adds the support of security labels for f2fs, which will be = used > > by SElinux. > > > > Signed-off-by: Jaegeuk Kim > > --- > > fs/f2fs/Kconfig | 9 +++++++++ > > fs/f2fs/dir.c | 5 +++++ > > fs/f2fs/xattr.c | 60 > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++-- > > fs/f2fs/xattr.h | 12 +++++++++++- > > 4 files changed, 83 insertions(+), 3 deletions(-) > > > > diff --git a/fs/f2fs/Kconfig b/fs/f2fs/Kconfig > > index fd27e7e..2214cc9 100644 > > --- a/fs/f2fs/Kconfig > > +++ b/fs/f2fs/Kconfig > > @@ -51,3 +51,12 @@ config F2FS_FS_POSIX_ACL > > Linux website . > > > > If you don't know what Access Control Lists are, say N > > + > > +config F2FS_FS_SECURITY > > + bool "F2FS Security Labels" > > + depends on F2FS_FS_XATTR > Hi Jaegeuk. > Do we need to add "default y" as other xattr options ? Hi Namjae, Currently negative. Most of xattr operations will be fine though, I'd like to test them more intensively. After then, we'd better set *default y*. Thanks, :) >=20 > Thanks. > > + help > > + Security labels provide acls used by the security modules > > + like SELinux. This option should be used with the xattr mode. > > + > > + If you are not using a security module, say N. > -- > To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" = in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html --=20 Jaegeuk Kim Samsung --=-ucbxUC2dzttUQO1TP9Nd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAABAgAGBQJRsnhfAAoJEEAUqH6CSFDSAeEP/iyWeSv9ybSoHhCIrH02TLSr A7eM5YO4y7ggJRQJjLGyuGUNpsdyJUFiTZ//k4HXAkrlyeoTlArtsMKadPo/2RWx mdMUCL9WW9q0LP/RBSwIQH1U0Iix1dgvCvg8hAiOzPRC/YGp1Dp/T2k7AXsauSfm 4MfDhbnkWWUiUpWso+P2LJ4bfPKrzkQNKmd9S9hC0FoQHNmI4P9NHfGEOsy1yAdk qkQM4OdtdXHAVITX7up8/7RiXER7gZoxmW5lCSHwtBgRImXEMuUgVloNJ6JrRBm7 UBwgLVZWxMKZ1N+SiG4N+6uV5m7iINF7hksjArLeUHa7JZln8fduAfClY5EX4SNr esqrVifC0UziOTKSEE+hrohEh4tfVgWpHPcf/zPmMEsaX41CQpAVLKSQOCK2ErEi SFZIsrxVf8ReRaUkncxLR/vrVOdZgZJ3U4kjiDqKrGTfzjQ86RsELaEqnV/MuLTR 1cW/sp4M4hM2SNFnfpq2eCewTZ5lygXz5JJe/plzKfRHNQCfPOEUq7oJj6lby7fw N+bV3zbQw28eKGUTH9uvpt8SqntbfSVGxMdu5NiMGEQhR2+9tcBbZIBhifTXj24/ R3Ofk0Qg78Ct4zby7EY/s0Oig+Hsv+rJJCzkNpPBgtRzDgXPLDAR3NX+axXGrMgc yvNOTWr0SRZlUfIs8pAG =V82D -----END PGP SIGNATURE----- --=-ucbxUC2dzttUQO1TP9Nd-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/