This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: bug in sendmsg and recvmsg on linux in libc-2.0.95
- To: Stig Venaas <venaas@itea.ntnu.no>
- Subject: Re: bug in sendmsg and recvmsg on linux in libc-2.0.95
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Date: 01 Jan 1999 13:20:09 +0100
- Cc: libc-alpha@cygnus.com
- Mail-Copies-To: never
- References: <19990101120309.A25986@itea.ntnu.no>
>>>>> Stig Venaas writes:
Stig> In glibc-2.0.95/sysdeps/unix/sysv/linux/sendmsg.c there's a check
Stig> for cm->cmsg_type == SCM_CREDS. This is done without checking
cm-> cmsg_level. AFAIK, cmsg_type == 2 does only mean SCM_CREDS at
Stig> the socket level, that is cmsg_level == 1 (SOL_SOCKET). The same
Stig> goes for glibc-2.0.95/sysdeps/unix/sysv/linux/recvmsg.c.
2.0.95 is quite old, the current glibc test release is 2.0.109 and
doesn't contain the mentioned files and code at all anymore.
All the best for 1999,
Andreas
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de