Overhaul the audit filename handling
Get series with b4
b4 am 20150122045303.1347.98054.stgit@localhostVersions newest first · linked by author and title
- v2 Latest5 patches 21 repliesIn review
- v15 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | fs: rework getname_kernel to handle up to PATH_MAX sized filenamesfs/ | +20 | 2 replies | |
| 2/5 | fs: create proper filename objects using getname_kernel()fs/ fs/ fs/ | +81 | 1 reply | |
| 3/5 | audit: enable filename recording via getname_kernel()fs/ kernel/ | +4 | 0 replies | |
| 4/5 | audit: fix filename matching in __audit_inode() and __audit_inode_child()kernel/ | +25 | 1 reply | |
| 5/5 | audit: replace getname()/putname() hacks with reference countersfs/ include/ include/ +2 more | +29 | 2 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Richard Guy Briggs | Guenter Roeck |
|---|---|---|
| Series | T-b | |
| 1/5 | R-b | |
| 2/5 | R-b | |
| 3/5 | R-b | |
| 4/5 | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] Overhaul the audit filename handling
This patchset has some important changes from the previous revision, namely a fix from Al Viro (included in 2/5) that resolves a boot panic on some systems as well as some smaller, less noteworthy fixes found in the linux-next announcement thread from January 20th (refcount bump in __audit_reusename() and a inode type in __audit_inode()).
This patchset still needs some additional testing to verify that the audit code still functions properly (the minor fixes mentioned above) and there is an additional patch from Al that should be included as well, but I wanted to post this and push the series to the audit next branch quickly since a number of folks were affected by the boot panic.
---
Paul Moore (5):
fs: rework getname_kernel to handle up to PATH_MAX sized filenames
fs: create proper filename objects using getname_kernel()
audit: enable filename recording via getname_kernel()
audit: fix filename matching in __audit_inode() and __audit_inode_child()
audit: replace getname()/putname() hacks with reference counters
fs/exec.c | 11 +++ fs/namei.c | 144 ++++++++++++++++++++++++++++------------- fs/open.c | 11 +++ include/linux/audit.h | 3 - include/linux/fs.h | 9 +-- kernel/audit.h | 17 +---- kernel/auditsc.c | 171 ++++++++++--------------------------------------- 7 files changed, 155 insertions(+), 211 deletions(-)