> zsh started failing to build it static variant on hurd-i386 since we
> added the sendmsg(SCM_RIGHTS) patch. This is because it uses getauth(),
> which thus pulls hurdports.o from libcrt.a, and thus getproc(), for
> which zsh already provides a symbol, and they hence conflict.
> 
> Emilio, do you remember why using getauth(), and not one of
> _hurd_id.rid_auth or __USEPORT?

Using nearly any libc function without a __ prefix in a function like
sendmsg is bogus.  Namespace troubles aside, any libc-internal code
really ought to be using __USEPORT/HURD_PORT_USE rather than paying
the syscall overhead of mach_port_mod_refs+mach_port_deallocate calls.


Thanks,
Roland


Reply via email to