Re: [PATCH 14/14] NFSD: Server implementation of MAC Labeling

From: James Morris
Date: Fri Dec 05 2008 - 05:01:23 EST


On Wed, 26 Nov 2008, David P. Quigley wrote:

> + err = 0;
> + (void)security_inode_getsecctx(dentry->d_inode, &context, &len);
> + if (len < 0)
> + return nfserrno(len);

So, with the simpler version:

err = security_inode_getsecctx(dentry->d_inode, &context, &len);
if (err)
return nfserrno(err);




--
James Morris
<jmorris@xxxxxxxxx>
--
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/