linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Olivier Brunel <jjk@jjacky.com>
To: Network Development <netdev@vger.kernel.org>
Cc: Alexei Starovoitov <alexei.starovoitov@gmail.com>,
	Daniel Borkmann <daniel@iogearbox.net>,
	"Luis R . Rodriguez" <mcgrof@kernel.org>,
	linux-kernel@vger.kernel.org,
	"David S . Miller" <davem@davemloft.net>,
	Olivier Brunel <jjk@jjacky.com>
Subject: [PATCH 2/2] net: bpfilter: Set user mode helper's command line
Date: Sat, 20 Oct 2018 19:39:57 +0200	[thread overview]
Message-ID: <20181020173957.31239-3-jjk@jjacky.com> (raw)
In-Reply-To: <20181020173957.31239-1-jjk@jjacky.com>

Signed-off-by: Olivier Brunel <jjk@jjacky.com>
---
 net/bpfilter/bpfilter_kern.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/bpfilter/bpfilter_kern.c b/net/bpfilter/bpfilter_kern.c
index 94e88f510..7acfc8308 100644
--- a/net/bpfilter/bpfilter_kern.c
+++ b/net/bpfilter/bpfilter_kern.c
@@ -92,6 +92,7 @@ static int __init load_umh(void)
 	int err;
 
 	/* fork usermode process */
+	info.cmdline = "bpfilter_umh";
 	err = fork_usermode_blob(&bpfilter_umh_start,
 				 &bpfilter_umh_end - &bpfilter_umh_start,
 				 &info);
-- 
2.19.0


  parent reply	other threads:[~2018-10-20 17:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20180826180816.04ef7d16@jjacky.com>
     [not found] ` <20180827183122.0b4ac65e@jjacky.com>
     [not found]   ` <20180828033500.g3siwst5h2ckewwb@ast-mbp>
     [not found]     ` <20180905175243.78a6ba81@jjacky.com>
     [not found]       ` <CAADnVQ+xFfwV67BRXD0epoTwKz54W3mcYHXVWBd1iWb94p+zpg@mail.gmail.com>
2018-10-20 17:39         ` [PATCH 0/2] Re: bpfilter causes a leftover kernel process Olivier Brunel
2018-10-20 17:39           ` [PATCH 1/2] umh: Add command line to user mode helpers Olivier Brunel
2018-10-23  2:37             ` David Miller
2018-10-20 17:39           ` Olivier Brunel [this message]
2018-10-23  2:37             ` [PATCH 2/2] net: bpfilter: Set user mode helper's command line David Miller

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=20181020173957.31239-3-jjk@jjacky.com \
    --to=jjk@jjacky.com \
    --cc=alexei.starovoitov@gmail.com \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcgrof@kernel.org \
    --cc=netdev@vger.kernel.org \
    /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).