[LTP] [PATCH v4 1/1] syscalls/mq_unlink: convert to use new test library API
Petr Vorel
pvorel@suse.cz
Fri Dec 2 21:33:57 CET 2016
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
<snip>
> + /* cleanup */
> + if (tc->user != NULL && seteuid(euid) == -1)
> + tst_res(TWARN | TTERRNO, "seteuid back to %d failed", euid);
> +
> + if (fd > 0 && close(fd))
> + tst_res(TWARN | TERRNO, "close(fd) failed");
TTERRNO :-(.
Petr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.linux.it/pipermail/ltp/attachments/20161202/dac765df/attachment.sig>
More information about the ltp
mailing list