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] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 27 Aug 2013 10:13:30 -0400
From:	Dave Jones <davej@...hat.com>
To:	David Ahern <dsahern@...il.com>
Cc:	Steven Rostedt <rostedt@...dmis.org>, paulmck@...ux.vnet.ibm.com,
	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: suspicious RCU usage (perf)

On Tue, Aug 27, 2013 at 07:58:12AM -0600, David Ahern wrote:
 > On 8/27/13 7:10 AM, Steven Rostedt wrote:
 > > On Mon, 26 Aug 2013 15:49:24 -0400
 > > Dave Jones <davej@...hat.com> wrote:
 > >
 > >
 > >>   > Do you have /sys/kernel/debug with access permissions?
 > >>
 > >> Ah, yeah, that'll be it. Good catch.
 > >>
 > >> Sorry for the false alarm Steve ;)
 > >
 > > Yeah, but it still does not explain how perf got started. Perf requires
 > > a sys_perf_event_open() call to run.
 > 
 > Per Peter's response another option is the paranoia level:
 > 
 > # perf event paranoia level:
 > # -1 - not paranoid at all
 > #  0 - disallow raw tracepoint access for unpriv
 > #  1 - disallow cpu events for unpriv
 > #  2 - disallow kernel profiling for unpriv
 > kernel.perf_event_paranoid = -1

This I have set to 1 on that box. (The default)

	Dave

--
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