From 74a9f2e1b4d3ab45a9f72cb5b556c9f521524ab3 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Thu, 5 Apr 2001 04:55:58 +0000 Subject: Merge with Linux 2.4.3. Note that mingetty does no longer work with serial console, you have to switch to another getty like getty_ps. This commit also includes a fix for a setitimer bug which did prevent getty_ps from working on older kernels. --- drivers/char/sx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/char/sx.c') diff --git a/drivers/char/sx.c b/drivers/char/sx.c index 024bada51..399f0102e 100644 --- a/drivers/char/sx.c +++ b/drivers/char/sx.c @@ -1647,7 +1647,7 @@ static int sx_fw_ioctl (struct inode *inode, struct file *filp, #if 0 /* Removed superuser check: Sysops can use the permissions on the device file to restrict access. Recommendation: Root only. (root.root 600) */ - if (!suser ()) { + if (!capable(CAP_SYS_ADMIN)) { return -EPERM; } #endif -- cgit v1.2.3