suser() check audit Was: [patch] 2.4.0: lp superuser check

2001-01-05 Thread David Weinehall
On Fri, Jan 05, 2001 at 05:16:32PM +, Tim Waugh wrote: > Here is a patch that changes the superuser check in lp to use > capabilities instead. Just for the fun (?) of it, I made a grep/visual inspection for all occurences of suser/fsuser, and found the following: ./fs/ufs/balloc.c -- 1 occur

[patch] 2.4.0: lp superuser check

2001-01-05 Thread Tim Waugh
Here is a patch that changes the superuser check in lp to use capabilities instead. Does anyone see a problem with it before I send it to Linus? Tim. */ 2001-01-05 Tim Waugh <[EMAIL PROTECTED]> * drivers/char/lp.c: Capability check instead of superuser check. Patch from [EMAI