Re: [PATCH] tmpfs: clear S_ISGID when setting posix ACLs

2017-01-10 Thread Al Viro
On Tue, Jan 10, 2017 at 09:03:01AM +0100, Jan Kara wrote: > On Mon 09-01-17 09:34:48, Gu Zheng wrote: > > 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,

Re: [PATCH] tmpfs: clear S_ISGID when setting posix ACLs

2017-01-10 Thread Jan Kara
On Mon 09-01-17 09:34:48, Gu Zheng wrote: > 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 tm

[PATCH] tmpfs: clear S_ISGID when setting posix ACLs

2017-01-08 Thread Gu Zheng
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

Re: [PATCH] tmpfs: clear S_ISGID when setting posix ACLs

2017-01-08 Thread Gu Zheng
thanks, I will update it. 在 2017/1/6 18:10, Jan Kara 写道: On Fri 06-01-17 16:12:55, Gu Zheng wrote: This change was missed the tmpfs modification in In CVE-2016-7097 commit 073931017b49d9458aa351605b43a7e34598caef posix_acl: Clear SGID bit when setting file permissions. It can test by xfstest ge

Re: [PATCH] tmpfs: clear S_ISGID when setting posix ACLs

2017-01-06 Thread Jan Kara
On Fri 06-01-17 16:12:55, Gu Zheng wrote: > This change was missed the tmpfs modification in In CVE-2016-7097 > commit 073931017b49d9458aa351605b43a7e34598caef > posix_acl: Clear SGID bit when setting file permissions. > It can test by xfstest generic/375, which failed to clear > setgid bit in the

[PATCH] tmpfs: clear S_ISGID when setting posix ACLs

2017-01-06 Thread Gu Zheng
This change was missed the tmpfs modification in In CVE-2016-7097 commit 073931017b49d9458aa351605b43a7e34598caef 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 c