[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080228225724.cb3938e7.akpm@linux-foundation.org>
Date: Thu, 28 Feb 2008 22:57:24 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: "David P. Quigley" <dpquigl@...ho.nsa.gov>
Cc: hch@...radead.org, viro@....linux.org.uk,
trond.myklebust@....uio.no, bfields@...ldses.org,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH 03/11] VFS: Add security label support to *notify
On Wed, 27 Feb 2008 15:39:38 -0500 "David P. Quigley" <dpquigl@...ho.nsa.gov> 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@...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