On Mon, Aug 08, 2011 at 09:18:29AM +0100, David Howells wrote:> > Al Viro <viro@ZenIV.linux.org.uk> wrote:> > > #define current_cred() \> > - (current->cred)> > + (*(__force struct cred **)¤t->cred)> > No. You've cast away the const. Please don't do that.So let's bring const back, not a problem...