* drivers/net/ppp_generic.c patch
@ 2011-05-19 11:54 samsonov
0 siblings, 0 replies; only message in thread
From: samsonov @ 2011-05-19 11:54 UTC (permalink / raw)
To: linux-kernel
--- ./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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-19 11:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-19 11:54 drivers/net/ppp_generic.c patch samsonov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).