[RESEND PATCH v18 4/4] overlayfs: inode_owner_or_capable called during execv

2020-10-22 Thread Mark Salyzyn
From: John Stultz Using old_creds as an indication that we are not overriding the credentials, bypass call to inode_owner_or_capable. This solves a problem with all execv calls being blocked when using the caller's credentials. Signed-off-by: John Stultz Signed-off-by: Mark Salyzyn Fixes: 05a

[RESEND PATCH v18 4/4] overlayfs: inode_owner_or_capable called during execv

2020-10-21 Thread Mark Salyzyn
From: John Stultz Using old_creds as an indication that we are not overriding the credentials, bypass call to inode_owner_or_capable. This solves a problem with all execv calls being blocked when using the caller's credentials. Signed-off-by: John Stultz Signed-off-by: Mark Salyzyn Fixes: 05a