Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2001 14:53:51 +0100
From:      Brian Somers <brian@freebsd-services.com>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@freebsd-services.com
Subject:   Re: cvs commit: src/sys/net rtsock.c 
Message-ID:  <200109201353.f8KDrpR40559@hak.lan.Awfulhak.org>
In-Reply-To: Message from Ruslan Ermilov <ru@FreeBSD.org>  of "Thu, 20 Sep 2001 01:25:25 PDT." <200109200825.f8K8PPQ79587@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> ru          2001/09/20 01:25:25 PDT
> 
>   Modified files:
>     sys/net              rtsock.c 
>   Log:
>   Use the current process's credentials rather than socket's cached.
>   If the process drops its super-user privileges, we certainly don't
>   want to allow it to modify routing tables.
>   
>   Discussed with:	rwatson
>   
>   Revision  Changes    Path
>   1.58      +3 -3      src/sys/net/rtsock.c

I can't upgrade any of my current boxes at the moment, but I suspect 
this *may* break usr.sbin/ppp/arp.c (the write() on line 136 needs to 
change to ID0write()).

This can be tested by setting up a dialin to be assigned an IP address 
that's part of a LAN that's connected to the server, and adding 
``enable proxy'' to the server config.

If you can't test it right now, could you change the write() to ID0
write() and I'll check things when I'm in a more stable position ?

Thanks.

-- 
Brian <brian@freebsd-services.com>                <brian@Awfulhak.org>
      http://www.freebsd-services.com/        <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour !      <brian@[uk.]OpenBSD.org>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109201353.f8KDrpR40559>