diff options
author | Ronnie Sahlberg <[email protected]> | 2020-11-30 11:29:20 +1000 |
---|---|---|
committer | Steve French <[email protected]> | 2020-12-03 17:12:14 -0600 |
commit | ea64370bcae126a88cd26a16f1abcc23ab2b9a55 (patch) | |
tree | 45513cee94669dca19d662a2c35aa410ef9924ac /tools/perf/scripts/python/syscall-counts.py | |
parent | 59463eb88829f646aed13283fd84d02a475334fe (diff) |
cifs: refactor create_sd_buf() and and avoid corrupting the buffer
When mounting with "idsfromsid" mount option, Azure
corrupted the owner SIDs due to excessive padding
caused by placing the owner fields at the end of the
security descriptor on create. Placing owners at the
front of the security descriptor (rather than the end)
is also safer, as the number of ACEs (that follow it)
are variable.
Signed-off-by: Ronnie Sahlberg <[email protected]>
Suggested-by: Rohith Surabattula <[email protected]>
CC: Stable <[email protected]> # v5.8
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions