[PATCH] INTERNAL_SYSCALL_NCS for SH
Kaz Kojima
kkojima@rr.iij4u.or.jp
Thu Sep 23 23:25:00 GMT 2004
>> BTW, SH port has a few problems with setXid changes. I'll report
>> them in the next mail.
>
> SH uses the old-fashioned 16-bit id's. It causes a few problems with
> setXid changes. The first problem is that seteuid.c and setegid.c may
> call __setre*[ug]id and causes undefined references. It seems pthread
> cases should use pthread_setre*[ug]id_np instead of __setre*[ug]id.
>
> The second one is that the variable __libc_missing_32bit_uids is defined
> in getuid.c but we don't have pthread_getuid. I've added an SH specific
> pthread_getuid as a workaround. I'd like to append a patch I'm using
> for comments.
Ugh. Please ignore this mail. I didn't noticed that some setXid changes
have been removed. I'll update my tree and try again. Sorry for the noise.
Regards,
kaz
More information about the Libc-hacker
mailing list