From: Tejun Heo <tj@kernel.org>
To: gregkh@linuxfoundation.org
Cc: kay@vrfy.org, linux-kernel@vger.kernel.org,
ebiederm@xmission.com, bhelgaas@google.com,
dpquigl@tycho.nsa.gov
Subject: [PATCHSET driver-core-next] kernfs: implement trusted.* xattr support
Date: Mon, 4 Nov 2013 21:08:40 -0500 [thread overview]
Message-ID: <1383617322-4386-1-git-send-email-tj@kernel.org> (raw)
Hello,
(This is for 3.14-rc1. Posting early for review. Will refresh and
repost once the next driver-core-next opens.)
kernfs inherited "security.*" xattr support from sysfs but for it to
be useable for cgroupfs, it needs to support "trusted.*" too. This
patchset adds "trusted.*" xattr support using simple_xattr*().
Note that the existing "security.*" support is gimped in that it
doesn't include remove/get/list. This patchset implements all
operations for "trusted.*" but doesn't change "security.*" support.
David P. Quigley, can you please comment on this? It doesn't seem
like adding it would be too difficult. Why don't we have it yet? Are
they unnecessary?
This patchset contains the following two patches.
0001-kernfs-update-sysfs_init_inode_attrs.patch
0002-kernfs-implement-trusted.-xattr-support.patch
0001 preps and 0002 implements.
This patchset is on top of
driver-core-next 0cae60f91494 ("sysfs: rename sysfs_assoc_lock and explain what it's about")
+ [1] [PATCHSET] sysfs: separate out kernfs, take #2
and available in the following git branch.
git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git review-kernfs-xattr
diffstat follows. Thanks.
fs/kernfs/dir.c | 12 +++-
fs/kernfs/inode.c | 123 ++++++++++++++++++++++++++++----------------
fs/kernfs/kernfs-internal.h | 13 +++-
fs/kernfs/symlink.c | 3 +
4 files changed, 103 insertions(+), 48 deletions(-)
--
tejun
[1] https://lkml.kernel.org/g/1383472398-17812-1-git-send-email-tj@kernel.org
next reply other threads:[~2013-11-05 2:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-05 2:08 Tejun Heo [this message]
2013-11-05 2:08 ` [PATCH 1/2] kernfs: update sysfs_init_inode_attrs() Tejun Heo
2013-11-05 2:08 ` [PATCH 2/2] kernfs: implement "trusted.*" xattr support Tejun Heo
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=1383617322-4386-1-git-send-email-tj@kernel.org \
--to=tj@kernel.org \
--cc=bhelgaas@google.com \
--cc=dpquigl@tycho.nsa.gov \
--cc=ebiederm@xmission.com \
--cc=gregkh@linuxfoundation.org \
--cc=kay@vrfy.org \
--cc=linux-kernel@vger.kernel.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