This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: sunrpc/clnt_unix.c:__msgread
- To: Roland McGrath <roland@frob.com>
- Subject: Re: sunrpc/clnt_unix.c:__msgread
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 21 Dec 1998 09:45:51 -0800
- Cc: GNU libc hacker <libc-hacker@gnu.org>
- References: <199812201812.NAA15822@baalperazim.frob.com>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
Roland McGrath <roland@frob.com> writes:
> What is the point of setting msg.msg_control in this function? The
> control data returned in `cm' is not inspected at all. Does Linux
> just require it for some stupid reason?
I can't answer this in the moment. It could very well be that if
SO_PASSCRED is set to enable the checking this very same option also
enables passing the values up. I'll have to read the kernel sources.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------