From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v4 1/1] syscalls/mq_unlink: convert to use new test library API
Date: Fri, 2 Dec 2016 21:33:57 +0100 [thread overview]
Message-ID: <20161202203356.wgdckanthjsulvxr@x230> (raw)
In-Reply-To: <20161202141251.26121-1-pvorel@suse.cz>
> 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>
next prev parent reply other threads:[~2016-12-02 20:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-02 14:12 [LTP] [PATCH v4 1/1] syscalls/mq_unlink: convert to use new test library API Petr Vorel
2016-12-02 20:33 ` Petr Vorel [this message]
2016-12-05 13:09 ` Cyril Hrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161202203356.wgdckanthjsulvxr@x230 \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox