[PATCH 1/1] UBUNTU: enforce -- ensure SYSFS compatibility is disabled

Stefan Bader stefan.bader at canonical.com
Thu May 27 13:07:25 UTC 2010


On 05/27/2010 02:37 PM, Andy Whitcroft wrote:
> Ensure we have all of the SYSFS compatibility modes disabled.
> 
> BluePrint: http://blueprints.launchpad.net/ubuntu/+spec/kernel-maverick-upstart
> Signed-off-by: Andy Whitcroft <apw at canonical.com>
> ---
>  debian/config/enforce |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/debian/config/enforce b/debian/config/enforce
> index 80be985..6481323 100644
> --- a/debian/config/enforce
> +++ b/debian/config/enforce
> @@ -38,3 +38,7 @@ value CONFIG_BLK_DEV_RAM_SIZE 65536
>  
>  # LVM requires dm_mod built in to activate correctly (LP: #560717)
>  value CONFIG_BLK_DEV_DM y
> +
> +# sysfs: ensure all DEPRECATED items are off
> +value CONFIG_SYSFS_DEPRECATED_V2 n
> +!exists CONFIG_SYSFS_DEPRECATED | value CONFIG_SYSFS_DEPRECATED n

Sorry for potentially being stupid here: that reads it is ok if either
CONFIG_SYSFS_DEPRECATED does not exist or if it does it needs to be n.
I think if CONFIG_SYSFS_DEPRECATED exists then CONFIG_SYSFS_DEPRECATED_V2 does
not, so would it need a similar construct?





More information about the kernel-team mailing list