]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Staging: p9auth: fix credential logic
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 25 Feb 2009 04:06:34 +0000 (20:06 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:54:23 +0000 (14:54 -0700)
commit5dba0826999683fe39aa8b49480b0e953afd117a
treeb593b8740d642d0191aaa264a208275fefb31743
parent55643171de7ba429fbf2cb72fb1f2c6f2df0dcf3
Staging: p9auth: fix credential logic

current->uid is no longer allowed in the 2.6.29 kernel, so use
the proper credential api to be able to alter the uid and euid values.

Note, this now builds properly, hopefully still works properly, would be
good for someone to test it out...

Cc: Ashwin Ganti <ashwin.ganti@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/p9auth/p9auth.c