From: Daniel Borkmann <daniel@iogearbox.net>
To: Al Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org, bpf@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH][bpf] don't bother with getname/kern_path - use user_path_at
Date: Wed, 22 Jan 2020 00:32:53 +0100 [thread overview]
Message-ID: <16c6b94e-81cb-0b93-d1a5-db72768b0048@iogearbox.net> (raw)
In-Reply-To: <20200120232858.GF8904@ZenIV.linux.org.uk>
On 1/21/20 12:28 AM, Al Viro wrote:
> kernel/bpf/inode.c misuses kern_path...() - it's much simpler
> (and more efficient, on top of that) to use user_path...() counterparts
> rather than bothering with doing getname() manually.
>
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Looks good, applied, thanks!
prev parent reply other threads:[~2020-01-21 23:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-20 23:28 [PATCH][bpf] don't bother with getname/kern_path - use user_path_at Al Viro
2020-01-21 23:32 ` Daniel Borkmann [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=16c6b94e-81cb-0b93-d1a5-db72768b0048@iogearbox.net \
--to=daniel@iogearbox.net \
--cc=bpf@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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;
as well as URLs for NNTP newsgroup(s).