[1104] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

Re: Kerberos 5-B4-pl3 bug report (telnet/sys_bsd.c)

daemon@ATHENA.MIT.EDU (Craig Leres)
Wed Feb 22 21:27:32 1995

To: "Theodore Ts'o" <tytso@MIT.EDU>
Cc: krb5-bugs@MIT.EDU, dab@cray.com, hobbit@asylum.sf.ca.us, jef@ee.lbl.gov
In-Reply-To: Your message of Wed, 22 Feb 95 21:23:16 R.
Date: Wed, 22 Feb 95 18:27:16 PST
From: Craig Leres <leres@ee.lbl.gov>


> Potentially silly question.... is there any reason to use recv() in this
> case?  I can't see any.... the flags parameter is 0 here, after all.

Well, in a BSD system, there is less system overhead when you use
recv(). You already know you have a socket and can just go get the
data. In the read() case, you have to indirect through the vnode ops...
But to answer your question, it's probably ok to just switch to read().

		Craig

home help back first fref pref prev next nref lref last post