summaryrefslogtreecommitdiffstats
path: root/drivers/staging/p9auth
Commit message (Collapse)AuthorAgeFilesLines
* Staging: p9auth: clean up #includesGreg Kroah-Hartman2009-04-031-11/+1
| | | | | | | | Not all of these files needed to be included, clean up the list. Cc: Ashwin Ganti <ashwin.ganti@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: p9auth: use kzallocGreg Kroah-Hartman2009-04-031-10/+11
| | | | | | | | | | | It's nicer than doing kmalloc/memset. Also check the return value of all allocations, one was previously not being checked properly. Cc: Ashwin Ganti <ashwin.ganti@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: p9auth: fix up sparse warningsGreg Kroah-Hartman2009-04-031-69/+64
| | | | | | | | | | | Everything needs to be static, as sparse complains and you don't want to polute the global kernel symbol namespace. So mark everything as such and move one function around to prevent a forward declaration from being needed. Cc: Ashwin Ganti <ashwin.ganti@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: p9auth: fix up codingstyle issuesGreg Kroah-Hartman2009-04-031-41/+49
| | | | | | | | This fixes up a number of scripts/codingstyle.pl warnings and errors Cc: Ashwin Ganti <ashwin.ganti@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: p9auth: remove unneeded header fileGreg Kroah-Hartman2009-04-032-36/+32
| | | | | | | | | The p9auth.h file is not needed, move the stuff into p9auth.c file and delete it. Cc: Ashwin Ganti <ashwin.ganti@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: p9auth: fix dependency/build errorRandy Dunlap2009-04-031-0/+1
| | | | | | | | | | | | | Fix p9auth dependency/build failure. It needs to depend on CRYPTO. p9auth.c:(.text+0x107297): undefined reference to `crypto_alloc_base' p9auth.c:(.text+0x1073d4): undefined reference to `crypto_destroy_tfm' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Ashwin Ganti <ashwin.ganti@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: p9auth: add to the kernel buildGreg Kroah-Hartman2009-04-032-0/+9
| | | | | | | | This adds the p9auth code to the kernel build Cc: Ashwin Ganti <ashwin.ganti@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: p9auth: fix credential logicGreg Kroah-Hartman2009-04-031-3/+14
| | | | | | | | | | | | 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>
* Staging: add p9auth driverAshwin Ganti2009-04-032-0/+382
This is a driver that adds Plan 9 style capability device implementation. From: Ashwin Ganti <ashwin.ganti@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
OpenPOWER on IntegriCloud