Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.1.100 /kernel/printk.c

Filename:/kernel/printk.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.1.96  2.1.92  2.1.86  2.1.81  2.1.80  2.1.75 
(Following) 2.1.109  2.1.113  2.1.118  2.1.128  2.1.129  2.1.130 

Location
[  2.1.100
  [  kernel
     o  printk.c

Patch

diff -u --recursive --new-file v2.1.99/linux/kernel/printk.c linux/kernel/printk.c
--- v2.1.99/linux/kernel/printk.c   Tue Apr 14 14:29:26 1998
+++ linux/kernel/printk.c   Wed May  6 10:56:06 1998
@@ -130,7 +130,7 @@
    int error = -EPERM;
 
    lock_kernel();
-   if ((type != 3) && !suser())
+   if ((type != 3) && !capable(CAP_SYS_ADMIN))
       goto out;
    error = 0;
    switch (type) {


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.