Re: [patch 02/24] perfmon: base code

From: Thomas Gleixner
Date: Thu Nov 27 2008 - 06:24:40 EST


Stephane,

On Wed, 26 Nov 2008, eranian@xxxxxxxxxxxxxx wrote:

> +/*
> + * pfmfs should _never_ be mounted by userland - too much of security hassle,
> + * no real gain from having the whole whorehouse mounted. So we don't need
> + * any operations on the root directory. However, we need a non-trivial
> + * d_name - pfm: will go nicely and kill the special-casing in procfs.
> + */

Can we please use anon_inodefs instead of creating a new one ? It's
exaclty for this purpose.

See fs/anon_inodes.c and fs/timerfd.c for an usage example.

Thanks,

tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/