aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorGu Zheng <guzheng1@huawei.com>2017-01-09 09:34:48 +0800
committerJoey Rizzoli <joey@lineageos.org>2017-06-14 23:00:19 +0200
commitb0f454b1a49ec08417071fc9aa1ff9705f2974d4 (patch)
tree6495e869a9749e837fd404660efc7b8b21332b58 /net/lapb/lapb_timer.c
parentd52c8f1f72e8a8d2e7a0f7fe07ca65610bc49da5 (diff)
tmpfs: clear S_ISGID when setting posix ACLs
This change was missed the tmpfs modification in In CVE-2016-7097 commit 073931017b49 ("posix_acl: Clear SGID bit when setting file permissions") It can test by xfstest generic/375, which failed to clear setgid bit in the following test case on tmpfs: touch $testfile chown 100:100 $testfile chmod 2755 $testfile _runas -u 100 -g 101 -- setfacl -m u::rwx,g::rwx,o::rwx $testfile Change-Id: I639fb4221e65b8c1ab3cc26ba735521e25967faa Signed-off-by: Gu Zheng <guzheng1@huawei.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> [gmrt: Backport to 3.4]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions