aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorChristian Brauner <[email protected]>2022-11-22 11:40:32 +0100
committerChristian Brauner (Microsoft) <[email protected]>2022-11-24 18:07:01 +0100
commit8d84e39d76bd83474b26cb44f4b338635676e7e8 (patch)
tree64473f13d4761572c3823f2360225077263add88 /scripts/generate_rust_analyzer.py
parent23a8ce16419a3066829ad4a8b7032a75817af65b (diff)
fs: use consistent setgid checks in is_sxid()
Now that we made the VFS setgid checking consistent an inode can't be marked security irrelevant even if the setgid bit is still set. Make this function consistent with all other helpers. Note that enforcing consistent setgid stripping checks for file modification and mode- and ownership changes will cause the setgid bit to be lost in more cases than useed to be the case. If an unprivileged user wrote to a non-executable setgid file that they don't have privilege over the setgid bit will be dropped. This will lead to temporary failures in some xfstests until they have been updated. Reported-by: Miklos Szeredi <[email protected]> Signed-off-by: Christian Brauner (Microsoft) <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions