lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 14 Oct 2015 08:27:43 +0200
From:	"Michael Kerrisk (man-pages)" <mtk.manpages@...il.com>
To:	Vince Weaver <vincent.weaver@...ne.edu>
CC:	mtk.manpages@...il.com, linux-man@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Ingo Molnar <mingo@...hat.com>,
	Arnaldo Carvalho de Melo <acme@...nel.org>,
	Stephane Eranian <eranian@...gle.com>,
	Alexei Starovoitov <ast@...mgrid.com>,
	Steven Rostedt <rostedt@...dmis.org>,
	Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Daniel Borkmann <daniel@...earbox.net>,
	"David S. Miller" <davem@...emloft.net>,
	Jiri Olsa <jolsa@...hat.com>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Namhyung Kim <namhyung@...nel.org>
Subject: Re: [patch 03/11] perf_event_open.2: 4.1 PERF_EVENT_IOC_SET_BPF support

On 07/23/2015 07:10 PM, Vince Weaver wrote:
> 
> This manpage patch relates to the addition of the
> PERF_EVENT_IOC_SET_BPF ioctl in the following commit:

Thanks, Vince. Applied.

Cheers,

Michael



> 	commit 2541517c32be2531e0da59dfd7efc1ce844644f5
> 	Author: Alexei Starovoitov <ast@...mgrid.com>
>     
> 	tracing, perf: Implement BPF programs attached to kprobes
> 
> 	Signed-off-by: Alexei Starovoitov <ast@...mgrid.com>
> 	Reviewed-by: Steven Rostedt <rostedt@...dmis.org>
> 	Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
> 	Cc: Andrew Morton <akpm@...ux-foundation.org>
> 	Cc: Arnaldo Carvalho de Melo <acme@...radead.org>
> 	Cc: Arnaldo Carvalho de Melo <acme@...hat.com>
> 	Cc: Daniel Borkmann <daniel@...earbox.net>
> 	Cc: David S. Miller <davem@...emloft.net>
> 	Cc: Jiri Olsa <jolsa@...hat.com>
> 	Cc: Linus Torvalds <torvalds@...ux-foundation.org>
> 	Cc: Namhyung Kim <namhyung@...nel.org>
> 	Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>
> 	Cc: Peter Zijlstra <peterz@...radead.org>
> 	Link: http://lkml.kernel.org/r/1427312966-8434-4-git-send-email-ast@plumgrid.com
> 	Signed-off-by: Ingo Molnar <mingo@...nel.org>
> 
> 
> Signed-off-by: Vince Weaver <vincent.weaver@...ne.edu>
> 
> diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2
> index a6b90ec..09eda9a 100644
> --- a/man2/perf_event_open.2
> +++ b/man2/perf_event_open.2
> @@ -2570,6 +2570,19 @@ This returns the event ID value for the given event file descriptor.
>  
>  The argument is a pointer to a 64-bit unsigned integer
>  to hold the result.
> +.TP
> +.BR PERF_EVENT_IOC_SET_BPF " (since Linux 4.1)"
> +.\" commit 2541517c32be2531e0da59dfd7efc1ce844644f5
> +This allows attaching a Berkeley Packet Filter (BPF)
> +program to an existing kprobe tracepoint event.
> +You need
> +.B CAP_SYS_ADMIN
> +privileges to use this ioctl.
> +
> +The argument is a BPF program file descriptor that was created by
> +a previous
> +.BR bpf (2)
> +system call.
>  .SS Using prctl
>  A process can enable or disable all the event groups that are
>  attached to it using the
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ