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] [day] [month] [year] [list]
Date:	Sat, 6 Nov 2010 11:57:28 +0000
From:	James Hogan <james@...anarts.com>
To:	Marco Stornelli <marco.stornelli@...il.com>
Cc:	Linux Kernel <linux-kernel@...r.kernel.org>,
	Linux Embedded <linux-embedded@...r.kernel.org>,
	Linux FS Devel <linux-fsdevel@...r.kernel.org>,
	Tim Bird <tim.bird@...sony.com>
Subject: Re: [PATCH 12/16] pramfs: extended attributes

Hi Marco,

On Sun, Oct 10, 2010 at 06:34:29PM +0200, Marco Stornelli wrote:
> From: Marco Stornelli <marco.stornelli@...il.com>
> diff -Nurp linux-2.6.36-orig/fs/pramfs/xattr.h linux-2.6.36/fs/pramfs/xattr.h
> --- linux-2.6.36-orig/fs/pramfs/xattr.h	1970-01-01 01:00:00.000000000 +0100
> +++ linux-2.6.36/fs/pramfs/xattr.h	2010-09-18 08:40:35.000000000 +0200
> @@ -0,0 +1,134 @@
> +/*
> + * FILE NAME fs/pramfs/xattr.h
> + *
> + * BRIEF DESCRIPTION
> + *
> + * Extended attributes for the pram filesystem.
> + *
> + * Copyright 2010 Marco Stornelli <marco.stornelli@...il.com>
> + *
> + * based on fs/ext2/xattr.h with the following copyright:
> + *
> + *(C) 2001 Andreas Gruenbacher, <a.gruenbacher@...puter.org>
> + *
> + * This file is licensed under the terms of the GNU General Public
> + * License version 2. This program is licensed "as is" without any
> + * warranty of any kind, whether express or implied.
> + */
> +
> +#include <linux/init.h>
> +#include <linux/xattr.h>
> +
> +/* Magic value in attribute blocks */
> +#define PRAM_XATTR_MAGIC		0x6d617270
> +
> +/* Maximum number of references to one attribute block */
> +#define PRAM_XATTR_REFCOUNT_MAX		1024
> +
> +/* Name indexes */
> +#define PRAM_XATTR_INDEX_USER			1
> +#define PRAM_XATTR_INDEX_POSIX_ACL_ACCESS	2
> +#define PRAM_XATTR_INDEX_POSIX_ACL_DEFAULT	3
> +#define PRAM_XATTR_INDEX_TRUSTED		4
> +#define	PRAM_XATTR_INDEX_LUSTRE			5
> +#define PRAM_XATTR_INDEX_SECURITY	        6

Maybe nobody minds, but there's some inconsistent whitespace here.

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