patch-2.1.100 linux/drivers/char/apm_bios.c
Next file: linux/drivers/char/bttv.c
Previous file: linux/drivers/cdrom/sbpcd.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed May 6 10:56:03 1998
- Orig file:
v2.1.99/linux/drivers/char/apm_bios.c
- Orig date:
Wed Apr 1 20:11:48 1998
diff -u --recursive --new-file v2.1.99/linux/drivers/char/apm_bios.c linux/drivers/char/apm_bios.c
@@ -1050,7 +1050,7 @@
* we might close the device immediately without doing a
* privileged operation -- cevans
*/
- as->suser = suser();
+ as->suser = capable(CAP_SYS_ADMIN);
as->next = user_list;
user_list = as;
filp->private_data = as;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov