dumb question

Zack Weinberg zack@rabi.phys.columbia.edu
Mon Jun 29 22:16:00 GMT 1998


On Mon, 29 Jun 1998 23:04:22 -0400, Roland McGrath wrote:
>> anyone know what 'struct ucred' is?
>
>It's a common type in BSD kernels.  Where did you come across it?

In some userspace code that seems to expect it's defined in
sys/types.h.  Or maybe sys/socket.h.  There's a reference in
sysdeps/.../linux/bits/socket.h (__SCM_CREDENTIALS), but the actual
type is not defined anywhere.

zw



More information about the Libc-hacker mailing list