Security Enhanced Linux
What's New
Frequently Asked Questions
Background
Documents
License
Download
Participating
Mail List
Archives
Remaining Work
Contributors
Related Work
Press Releases
Information Assurance Research
NIARL In-house Research Areas
Mathematical Sciences Program
Sabbaticals
Computer & Information Sciences Research
Technology Transfer
Advanced Computing
Advanced Mathematics
Communications & Networking
Information Processing
Microelectronics
Other Technologies
Technology Fact Sheets
Publications
Related Links
|
SELinux Mailing ListRe: [PATCH] XATTR issues on JFFS2
From: Stephen Smalley <sds_at_tycho.nsa.gov>
Date: Tue, 23 Aug 2005 08:30:06 -0400
Thanks for working on this functionality. From a very brief look at the patch, one question I had was whether you could be using the generic xattr methods introduced by James Morris' earlier xattr code consolidation patches that are now in the mainline kernel. See the generic_* functions in fs/xattr.c and how they are used by the fs code (e.g. look at the ext3 xattr implementation). Per recent discussions on linux-fsdevel, using those helpers is the preferred approach for the future. You can then just set sb->s_xattr for the specific handlers in jffs2, e.g. see the ext3 code for an example. Might be worth mentioning this work on acl-devel as well, although you don't yet support ACLs or other xattrs. But I'm sure Andreas Gruenbacher would be interested, as he did the original xattr and ACL development work for ext[23], and he may be able to give feedback on your approach to various aspects like the attribute caching. -- Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.Received on Tue 23 Aug 2005 - 08:42:31 EDT |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |