lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Thu, 19 May 2011 15:54:59 +0400
From:	samsonov@...sta.ru
To:	linux-kernel@...r.kernel.org
Subject: drivers/net/ppp_generic.c patch

--- ./linux-2.6.33.4.orig/drivers/net/ppp_generic.c	2010-05-13 02:04:27.000000000 +0400
+++ ./linux-2.6.33.4/drivers/net/ppp_generic.c	2011-05-19 15:46:43.836422678 +0400
@@ -363,11 +363,6 @@
 static int ppp_open(struct inode *inode, struct file *file)
 {
 	cycle_kernel_lock();
-	/*
-	 * This could (should?) be enforced by the permissions on /dev/ppp.
-	 */
-	if (!capable(CAP_NET_ADMIN))
-		return -EPERM;
 	return 0;
 }
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists