* [stable-rc 4.14] shmctl04.c:115: TFAIL: SHM_INFO haven't returned a valid index: SUCCESS (0)
@ 2020-11-04 11:25 Naresh Kamboju
2020-11-05 12:57 ` Cyril Hrubis
0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2020-11-04 11:25 UTC (permalink / raw)
To: linux- stable, LTP List, lkft-triage; +Cc: Li Wang, Jan Stancek, chrubis
LTP syscalls test shmctl04 test modified in latest LTP release 20200930
and this test reported as fail. so reporting to LTP mailing list.
Failed on stable-rc 4.14, 4.9 and 4.4 branches but
passed on stable-rc 4.19, 5.4 and 5.9 branches for arm64, arm, x86_64 and i386.
shmctl04.c:115: TFAIL: SHM_INFO haven't returned a valid index: SUCCESS (0)
shmctl04.c:131: TFAIL: Counted used = 0, used_ids = 1
shmctl04.c:72: TPASS: used_ids = 1
shmctl04.c:79: TPASS: shm_rss = 0
shmctl04.c:86: TPASS: shm_swp = 0
shmctl04.c:93: TPASS: shm_tot = 1
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Test log link,
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-4.14.y/build/v4.14.203-126-g8c25e7a92b2f/testrun/3392140/suite/ltp-syscalls-tests/test/shmctl04/log
kernel: 4.14.204-rc1
git repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git branch: linux-4.14.y
Test details: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-4.14.y/build/v4.14.203-126-g8c25e7a92b2f
--
Linaro LKFT
https://lkft.linaro.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [stable-rc 4.14] shmctl04.c:115: TFAIL: SHM_INFO haven't returned a valid index: SUCCESS (0)
2020-11-04 11:25 [stable-rc 4.14] shmctl04.c:115: TFAIL: SHM_INFO haven't returned a valid index: SUCCESS (0) Naresh Kamboju
@ 2020-11-05 12:57 ` Cyril Hrubis
0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2020-11-05 12:57 UTC (permalink / raw)
To: Naresh Kamboju; +Cc: linux- stable, LTP List, lkft-triage, Li Wang, Jan Stancek
Hi!
> LTP syscalls test shmctl04 test modified in latest LTP release 20200930
> and this test reported as fail. so reporting to LTP mailing list.
> Failed on stable-rc 4.14, 4.9 and 4.4 branches but
> passed on stable-rc 4.19, 5.4 and 5.9 branches for arm64, arm, x86_64 and i386.
>
> shmctl04.c:115: TFAIL: SHM_INFO haven't returned a valid index: SUCCESS (0)
> shmctl04.c:131: TFAIL: Counted used = 0, used_ids = 1
> shmctl04.c:72: TPASS: used_ids = 1
> shmctl04.c:79: TPASS: shm_rss = 0
> shmctl04.c:86: TPASS: shm_swp = 0
> shmctl04.c:93: TPASS: shm_tot = 1
Looks like SHM_STAT_ANY was added to kernel 4.17, that would explain why
shmctl() with SHM_STATA_ANY returns -1 on 4.14 and older but in that
case errno should be EINVAL and not set to zero.
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-05 12:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-04 11:25 [stable-rc 4.14] shmctl04.c:115: TFAIL: SHM_INFO haven't returned a valid index: SUCCESS (0) Naresh Kamboju
2020-11-05 12:57 ` Cyril Hrubis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).