[XS] Change in ...nfs-ganesha[next]: nfs4_op_open: Check permissions on upgrade re-open
by Lior Suliman (GerritHub)
Lior Suliman has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1201415?usp=email )
Change subject: nfs4_op_open: Check permissions on upgrade re-open
......................................................................
nfs4_op_open: Check permissions on upgrade re-open
Without the permission check here it means that if a client has an open
state on a file, it can just open any other open state without a
permission checks.
Specifically it means that if you have read permissions and open a file
for read, then while you have that open state, you can open the file for
write, even without having permissions.
Change-Id: I005d9dd3e484da812887551ac3f3b159a05db761
Signed-off-by: Lior Suliman <liorsu(a)gmail.com>
---
M src/Protocols/NFS/nfs4_op_open.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/15/1201415/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1201415?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I005d9dd3e484da812887551ac3f3b159a05db761
Gerrit-Change-Number: 1201415
Gerrit-PatchSet: 1
Gerrit-Owner: Lior Suliman <liorsu(a)google.com>
3 months, 1 week
[XS] Change in ...nfs-ganesha[next]: CMakeLists: Resolve __FILE__ to a relative path to the project
by Lior Suliman (GerritHub)
Lior Suliman has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1201406?usp=email )
Change subject: CMakeLists: Resolve __FILE__ to a relative path to the project
......................................................................
CMakeLists: Resolve __FILE__ to a relative path to the project
This is made so logs will not contain the full path to source files
Change-Id: I9c7b98d0eecae497f8d8524821529ba94668edca
src/CMakeLists: Added a check for the file-prefix-map flag before using it
RockyLinux: Use -fmacro-prefix-map instead of -ffile-prefix-map
- The intention behind introducing a new compiler flag was to eliminate lengthy file names in Ganesha logs.
However, this flag also modifies the source file paths in binary executables, making it impossible to debug using gdb.
Change-Id: Id55cf35f0b0415967c7c11d87e0f3fb508f0a2e8
Signed-off-by: Lior Suliman <liorsu(a)gmail.com>
---
M src/CMakeLists.txt
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/06/1201406/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1201406?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Id55cf35f0b0415967c7c11d87e0f3fb508f0a2e8
Gerrit-Change-Number: 1201406
Gerrit-PatchSet: 1
Gerrit-Owner: Lior Suliman <liorsu(a)google.com>
3 months, 1 week