ALT Linux Bugzilla
– Attachment 1638 Details for
Bug 10035
Let pppd work in vps
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Patch for kernel 2.6.16
2.6_70_fix_ppp_device_options.patch (text/plain), 680 bytes, created by
Alex Moskalenko
on 2006-09-25 10:24:44 MSD
(
hide
)
Description:
Patch for kernel 2.6.16
Filename:
MIME Type:
Creator:
Alex Moskalenko
Created:
2006-09-25 10:24:44 MSD
Size:
680 bytes
patch
obsolete
>--- linux-2.6.16-026test016-pppd/drivers/net/ppp_generic.c.pppd 2006-03-20 08:53:29.000000000 +0300 >+++ linux-2.6.16-026test016-pppd/drivers/net/ppp_generic.c 2006-09-19 01:27:45.000000000 +0400 >@@ -361,7 +361,7 @@ static int ppp_open(struct inode *inode, > /* > * This could (should?) be enforced by the permissions on /dev/ppp. > */ >- if (!capable(CAP_NET_ADMIN)) >+ if (!capable(CAP_NET_ADMIN) && !capable(CAP_VE_NET_ADMIN)) > return -EPERM; > return 0; > } >@@ -996,6 +996,7 @@ static void ppp_setup(struct net_device > dev->tx_queue_len = 3; > dev->type = ARPHRD_PPP; > dev->flags = IFF_POINTOPOINT | IFF_NOARP | IFF_MULTICAST; >+ dev->features |= NETIF_F_VIRTUAL; > } > > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 10035
: 1638