Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1450308

Re: [PATCH net-next v7 0/2] bpf: add bpf_probe_write_user helper & example

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net-next v7 0/2] bpf: add bpf_probe_write_user helper & example
Date 2016-07-26 03:10 +0200
Message-ID <rYZ2F-3OD-1@gated-at.bofh.it> (permalink)
References <rYNEe-4FI-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Sargun Dhillon <sargun@sargun.me>
Date: Mon, 25 Jul 2016 05:54:29 -0700

> This patch series contains two patches that add support for a probe_write
> helper to BPF programs. This allows them to manipulate user memory during
> the course of tracing. The second patch in the series has an example that
> uses it, in one the intended ways to divert execution.
> 
> Thanks to Alexei Starovoitov, and Daniel Borkmann for being patient, review, and 
> helping me get familiar with the code base. I've made changes based on their 
> recommendations.
> 
> This helper should be considered for experimental usage and debugging, so we
> print a warning to dmesg when it is along with the command and pid when someone
> tries to install a proglet that uses it. A follow-up patchset will contain a
> mechanism to verify the safety of the probe beyond what was done by hand.

Series applied, thanks.

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH net-next v7 0/2] bpf: add bpf_probe_write_user helper &  example Sargun Dhillon <sargun@sargun.me> - 2016-07-25 15:00 +0200
  Re: [PATCH net-next v7 0/2] bpf: add bpf_probe_write_user helper &  example David Miller <davem@davemloft.net> - 2016-07-26 03:10 +0200

csiph-web