summaryrefslogtreecommitdiffstats
path: root/lib/libgssapi/utils.h
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2006-10-21 00:46:56 +0000
committercognet <cognet@FreeBSD.org>2006-10-21 00:46:56 +0000
commitb4b85ee027c1dea172f462f1067f45b7ebc11961 (patch)
tree1ec2d4885194bbc00bbbc1fd2e745cb91cfeea53 /lib/libgssapi/utils.h
parent8f92fe04c3829512304e750aec70de2de57b0897 (diff)
downloadFreeBSD-src-b4b85ee027c1dea172f462f1067f45b7ebc11961.zip
FreeBSD-src-b4b85ee027c1dea172f462f1067f45b7ebc11961.tar.gz
Ok I am an idiot. On 32 bits big-endian systems, it is needed to handle the
syscalls using __syscall but only actually returning 32bits, such as mmap(), specially : they set the return value in td->td_retval[0], but the userland functions will expect this in r1, and not in r0 as it is normally done, as it is the LSB. So add a special case for all these syscalls (all except lseek, which truly returns 64bits). Many thanks to Peter Grehan for his patience while explaining me the issue.
Diffstat (limited to 'lib/libgssapi/utils.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud