Re: [PATCH 03/11] VFS: Add security label support to *notify
From: Andrew Morton
Date: Fri Feb 29 2008 - 01:58:32 EST
On Wed, 27 Feb 2008 15:39:38 -0500 "David P. Quigley" <dpquigl@xxxxxxxxxxxxx> wrote:
> +#ifdef CONFIG_SECURITY
> + if (ia_valid & ATTR_SECURITY_LABEL) {
> + char *key = (char *)security_maclabel_getname();
> + vfs_setxattr_locked(dentry, key,
> + attr->ia_label, attr->ia_label_len, 0);
It would be nicer to change vfs_setxattr_locked() so that it
takes a const char *.
--
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/