Re: 2.2.13pre9 ppp oddity

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 18 Sep 1999 13:31:09 +0100 (BST)


> Does the little change from 2.2.12 to 2.2.13pre9 in ppp.c (see below)
> explain this behaviour?
>
> --- linux.vanilla/drivers/net/ppp.c Sat Aug 14 02:26:16 1999
> +++ linux.13p9/drivers/net/ppp.c Thu Sep 16 16:40:27 1999
> @@ -371,6 +371,9 @@
> ppp_tty_open (struct tty_struct *tty)
> {
> struct ppp *ppp;
> +
> + if(!capable(CAP_NET_ADMIN))
> + return -EPERM;
>

If it does you will have to fix KPPP. Its a security fix. It is possible
kppp was relying on the hole to work. But unfixing security holes for kppp
isnt a good idea 8)

Check kppp sets the line discipline while it is still root

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/