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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 22 Oct 2015 19:30:57 -0700
From:	Alexei Starovoitov <>
To:	"Wangnan (F)" <>,
	"David S. Miller" <>
Cc:	Ingo Molnar <>,
	Peter Zijlstra <>,
	He Kuang <>, Kaixu Xia <>,
	Daniel Borkmann <>,,
Subject: Re: [PATCH v3 net-next] bpf: fix bpf_perf_event_read() helper

On 10/22/15 7:21 PM, Wangnan (F) wrote:
>> +    if (attr->inherit)
>> +        goto err;
>> +
> Since Peter suggest it is pointless for a system-wide perf_event
> has inherit bit set [1], I think it should be safe to enable
> system-wide perf_event pass this check?

here we don't know whether it's system wide or not, so the check
is needed.
The patch is the fix that should have been there from day one.
We must be safe first and relax later.

To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists