This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sunrpc/clnt_unix.c:__msgread


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   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]