Thread (1 message) 1 message, 1 author, 2020-06-04

Re: [exec] 166d03c9ec: ltp.execveat02.fail

From: Kees Cook <hidden>
Date: 2020-06-04 22:45:51
Also in: linux-api, linux-fsdevel, lkml, ltp, oe-lkp

On Mon, May 25, 2020 at 05:14:20PM +0800, kernel test robot wrote:
Greeting,
(Whoops, I missed this in my inbox.)
<<<test_start>>>
tag=execveat02 stime=1590373229
cmdline="execveat02"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1246: INFO: Timeout per run is 0h 05m 00s
execveat02.c:64: PASS: execveat() fails as expected: EBADF (9)
execveat02.c:64: PASS: execveat() fails as expected: EINVAL (22)
execveat02.c:61: FAIL: execveat() fails unexpectedly, expected: ELOOP: EACCES (13)
execveat02.c:64: PASS: execveat() fails as expected: ENOTDIR (20)
I will go check on this. Looking at the expected result (ELOOP) I think
this just means the test needs adjustment because it's trying to
double-check for a pathological case, but it seems their test setup
trips the (now earlier) IS_SREG() test. But I'll double-check and report
back!

-- 
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help