finish port to new vfs*id helpers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | mnt_idmapping: add missing helpersinclude/ | +32 | 0 replies | |
| 2/8 | fs: use type safe idmapping helpersfs/ fs/ fs/ +3 more | +40 | 0 replies | |
| 3/8 | caps: use type safe idmapping helperskernel/ security/ | +28 | 0 replies | |
| 4/8 | apparmor: use type safe idmapping helperssecurity/ security/ security/ | +23 | 4 replies | |
| 5/8 | ima: use type safe idmapping helperssecurity/ | +18 | 0 replies | |
| 6/8 | fuse: port to vfs{g,u}id_t and associated helpersfs/ | +1 | 0 replies | |
| 7/8 | ovl: port to vfs{g,u}id_t and associated helpersfs/ | +7 | 0 replies | |
| 8/8 | fs: remove unused idmapping helpersinclude/ include/ | +0 | 0 replies |
Reviews trailers per patch
1 of 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Seth Forshee (DigitalOcean) | John Johansen |
|---|---|---|
| Series | R-b | |
| 1/8 | ||
| 2/8 | ||
| 3/8 | ||
| 4/8 | A-b | |
| 5/8 | ||
| 6/8 | ||
| 7/8 | ||
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] finish port to new vfs*id helpers
From: "Christian Brauner (Microsoft)" <[email protected]>
Hey,
A while ago we converted all filesystems and a good chunk of the vfs to rely on the new vfs{g,u}id_t type and the associated type safe helpers. After this change all places where idmapped mounts matter deal with the dedicated new type and can't be easily confused with filesystem wide k{g,u}id_t types. This small series converts the remaining places and removes the old helpers. The series does not contain functional changes. xfstests, LTP, and the libcap testsuite pass without any regressions.
(The series is based on the setgid changes sitting in my tree. It
removes a bunch of open-coding and thus makes the change here simpler as well.)
Thanks!
Christian
Christian Brauner (8):
mnt_idmapping: add missing helpers
fs: use type safe idmapping helpers
caps: use type safe idmapping helpers
apparmor: use type safe idmapping helpers
ima: use type safe idmapping helpers
fuse: port to vfs{g,u}id_t and associated helpers
ovl: port to vfs{g,u}id_t and associated helpers
fs: remove unused idmapping helpers
fs/coredump.c | 4 +- fs/exec.c | 16 ++--- fs/fuse/acl.c | 2 +- fs/inode.c | 8 +-- fs/namei.c | 40 +++++------ fs/overlayfs/util.c | 9 ++- fs/remap_range.c | 2 +- fs/stat.c | 7 +- include/linux/fs.h | 34 ---------- include/linux/mnt_idmapping.h | 100 +++++++++------------------- kernel/capability.c | 4 +- security/apparmor/domain.c | 8 +-- security/apparmor/file.c | 4 +- security/apparmor/lsm.c | 24 ++++--- security/commoncap.c | 51 +++++++------- security/integrity/ima/ima_policy.c | 34 +++++----- 16 files changed, 149 insertions(+), 198 deletions(-)
base-commit: 23a8ce16419a3066829ad4a8b7032a75817af65b
Signature · 1 line
2.34.1