Date: Thu, 22 Mar 2001 10:58:48 -0800 From: Alfred Perlstein <alfred@FreeBSD.org> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/rpc clnt_vc.c svc_vc.c src/sys/sys socket.h src/usr.sbin/rpcbind pmap_svc.c rpcb_svc_com.c src/usr.sbin/keyserv Makefile keyserv.c keyserv.h keyserv_uid.c Message-ID: <20010322105848.U9431@fw.wintelcom.net> In-Reply-To: <200103221831.NAA31696@khavrinen.lcs.mit.edu>; from wollman@khavrinen.lcs.mit.edu on Thu, Mar 22, 2001 at 01:31:51PM -0500 References: <200103220431.f2M4VUi82231@freefall.freebsd.org> <200103221541.KAA30165@khavrinen.lcs.mit.edu> <20010322102659.T9431@fw.wintelcom.net> <200103221831.NAA31696@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
* Garrett Wollman <wollman@khavrinen.lcs.mit.edu> [010322 10:31] wrote: > <<On Thu, 22 Mar 2001 10:26:59 -0800, Alfred Perlstein <alfred@FreeBSD.org> said: > > > Yeah, but it's disgusting, at least I can't see a sane way of declaring > > the cmessage type without using it, here's what you can do: > > > 1) leave it in sys/socket.h > > Bad for reasons already discussed. Y'know it seems pretty counterproductive to not do this, anyone who needs to pass creds has to make thier own struct cmessage some way. If everyone needs to do this, then it might as well be in a header where everything it's composed of is defined. CMSG_DATA is terrible because there's no way to reserve the space I need, only to access it out of some binary blob. How about we call it something like "struct cmessage_withcred"? It's more descriptive, less likely to clash wrt namespace and takes care of the "where the heck is this thing defined" problem. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom. 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?20010322105848.U9431>