Commit [09bd93]  Maximize  Restore  History

setregid02: invalid user value fix

Commit 705926d096f7a64c9d53efeb789288e25457d68f
introduced a bug that the value for inval_user was treated
as '-1' when passed to 16-bit version of setregid().

Fixed it the same way as it's done for setreuid test cases.

Reported-by: Honggyu Kim <>
Signed-off-by: Stanislav Kholmanskikh <>

Stanislav Kholmanskikh Stanislav Kholmanskikh 2013-11-08

Cyril Hrubis Cyril Hrubis 2013-11-13

changed testcases/kernel/syscalls/setregid/setregid02.c
testcases/kernel/syscalls/setregid/setregid02.c Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks