From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] semctl09: Fix EPERM warning in cleanup()
Date: Mon, 25 Jan 2021 13:23:28 +0100 [thread overview]
Message-ID: <YA64QLg+xwEIwT7P@pevik> (raw)
In-Reply-To: <20210125114121.1368-1-mdoucha@suse.cz>
Hi Martin,
> If semctl09 failed in one of the SAFE_*() functions during unprivileged user
> test case, SAFE_SEMCTL() in cleanup() would fail with EPERM because the sem_id
> is owned by root. Make sure that cleanup() always runs with root EUID.
Thanks a lot, merged!
Kind regards,
Petr
prev parent reply other threads:[~2021-01-25 12:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-25 11:41 [LTP] [PATCH] semctl09: Fix EPERM warning in cleanup() Martin Doucha
2021-01-25 12:23 ` Petr Vorel [this message]
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=YA64QLg+xwEIwT7P@pevik \
--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