From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2] syscalls/capget02: remove useless getpid()
Date: Fri, 10 Jan 2020 17:42:24 +0100 [thread overview]
Message-ID: <20200110164224.GA305583@x230> (raw)
In-Reply-To: <20200110130029.GB25704@x230>
Hi Xu,
> > Since pid=0 returns the capabilities for the calling thread,
> > we can remove getpid. Also we can cover this test point.
> > Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
> > -----------------
> > v1-v2:
> > remove pid = 0 assignment, because it has been initialized as 0.
> > add comment
> Reviewed-by: Petr Vorel <pvorel@suse.cz>
> Note, waiting for merge before current git get's fixed.
> (v2 of https://patchwork.ozlabs.org/patch/1220180/).
Thanks for your patch, merged.
Kind regards,
Petr
prev parent reply other threads:[~2020-01-10 16:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-09 7:26 [LTP] [PATCH v2] syscalls/capget02: remove useless getpid() Yang Xu
2020-01-10 13:00 ` Petr Vorel
2020-01-10 16:42 ` 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=20200110164224.GA305583@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