From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: linux-next: manual merge of the creds tree Date: Fri, 31 Oct 2008 09:16:08 +0000 Message-ID: <3442.1225444568@redhat.com> References: <20081031170609.a3fcda4e.sfr@canb.auug.org.au> Return-path: Received: from mx2.redhat.com ([66.187.237.31]:36225 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753349AbYJaJQ2 (ORCPT ); Fri, 31 Oct 2008 05:16:28 -0400 In-Reply-To: <20081031170609.a3fcda4e.sfr@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: dhowells@redhat.com, James Morris , linux-next@vger.kernel.org, Eric Paris Stephen Rothwell wrote: > - return inode_has_perm(current, inode, > + return inode_has_perm(cred, inode, > - open_file_mask_to_av(inode->i_mode, mask), NULL); > + file_mask_to_av(inode->i_mode, mask), NULL); ... > - return inode_has_perm(current, inode, open_file_to_av(file), NULL); > - return inode_has_perm(cred, inode, file_to_av(file), NULL); > ++ return inode_has_perm(cred, inode, open_file_to_av(file), NULL); ACK.