lkml.org 
[lkml]   [2006]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/16] 2.6.17-rc6 perfmon2 patch for review: new sysfs support
In-Reply-To: <200606150907.k5F97YtU008130@frankl.hpl.hp.com>

On Thu, 15 Jun 2006 02:07:34 -0700, Stephane Eranian wrote:

> --- linux-2.6.17-rc6.orig/perfmon/perfmon_sysfs.c 1969-12-31 16:00:00.000000000 -0800
> +++ linux-2.6.17-rc6/perfmon/perfmon_sysfs.c 2006-06-08 05:36:31.000000000 -0700
...
> +struct pfm_controls pfm_controls = {
> + .sys_group = PFM_GROUP_PERM_ANY,
> + .task_group = PFM_GROUP_PERM_ANY,
> + .arg_size_max = PAGE_SIZE,
> + .smpl_buf_size_max = ~0,
> +};

This means that by default anyone can create monitoring sessions.
It should start out as restrictive as possible; the admin can relax
permissions as needed.

--
Chuck
"You can't read a newspaper if you can't read." --George W. Bush
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-18 05:46    [W:0.027 / U:2.892 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site