Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1575800 > unrolled thread

Re: [LTP] [lkp-robot] [fs] 99f64a2676: ltp.creat08.fail & ltp.open10.fail

Started byCyril Hrubis <chrubis@suse.cz>
First post2017-02-07 16:20 +0100
Last post2017-02-07 16:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [LTP] [lkp-robot] [fs] 99f64a2676: ltp.creat08.fail &  ltp.open10.fail Cyril Hrubis <chrubis@suse.cz> - 2017-02-07 16:20 +0100

#1575800 — Re: [LTP] [lkp-robot] [fs] 99f64a2676: ltp.creat08.fail & ltp.open10.fail

FromCyril Hrubis <chrubis@suse.cz>
Date2017-02-07 16:20 +0100
SubjectRe: [LTP] [lkp-robot] [fs] 99f64a2676: ltp.creat08.fail & ltp.open10.fail
Message-ID<t8fIK-4zi-23@gated-at.bofh.it>
Hi!
> FYI, we noticed the following commit:
> 
> commit: 99f64a2676f0bec4ad32e39fc76eb0914ee091b8 ("fs: Harden against open(..., O_CREAT, 02777) in a setgid directory")
> https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git vfs/suid
> 
> in testcase: ltp
> with following parameters:
> 
> 	test: ltplite
> 
> test-description: The LTP testsuite contains a collection of tools for testing the Linux kernel and related features.
> test-url: http://linux-test-project.github.io/

Looking at the testcases in question these are testing exactly the
corner case the patch is fixing.

So the tests needs to be fixed once this patch hits mainline. And the
best fix is to expect the SGID flag to be cleared on newer kernels.

-- 
Cyril Hrubis
chrubis@suse.cz

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web