xfs: tmpfile fixes for inode security/acl
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 11 repliesIn review
- v11 patch 1 replySuperseded
Changes in v2 from the cover letter
- Added a generic create helper to inherit the security/acl init. code in the tmpfile path.
- Added patch 2 to fold xfs_create_tmpfile() into xfs_create().
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xfs: fix tmpfile/selinux deadlock and initialize security/aclfs/ fs/ fs/ | +33 | 9 replies | |
| 2/2 | xfs: fold xfs_create_tmpfile() into xfs_create()fs/ fs/ fs/ | +54 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] xfs: tmpfile fixes for inode security/acl
Hi all,
Here's a v2 of the tmpfile and selinux deadlock patch. Since we also probably want to create the default acl, I created a generic helper out of xfs_vn_mknod().
Once I got that far, I noticed xfs_create_tmpfile() looked quite similar to xfs_create(). Patch 2 folds the former into the latter and eliminates the duplicate code. Patch 2 is optional with regard to addressing the selinux issue. Lightly tested... thoughts, reviews, flames appreciated.
Brian
v2:
- Added a generic create helper to inherit the security/acl init. code in the tmpfile path.
- Added patch 2 to fold xfs_create_tmpfile() into xfs_create().
Brian Foster (2):
xfs: fix tmpfile/selinux deadlock and initialize security/acl
xfs: fold xfs_create_tmpfile() into xfs_create()
fs/xfs/xfs_inode.c | 184 ++++++++++++++--------------------------------------- fs/xfs/xfs_inode.h | 2 +- fs/xfs/xfs_iops.c | 43 +++++++++---- fs/xfs/xfs_trace.h | 7 +- 4 files changed, 81 insertions(+), 155 deletions(-)
Signature · 6 lines
1.8.3.1 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs