This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: secureRPC on alpha/binary compatibility



Hello,

On Sat, Apr 10, Geoff Keating wrote:


> 
> I think it's supposed to be an array of two 4-byte words.  I can't
> find any instance of 'adv_ctime' in the code.

Sun likes defines. Search for adv_timeverf and adv_timestamp.

> 
> If existing code that uses it doesn't work, then there is no point
> worrying about binary compatibility :-).

Yes, my opinion, too.

Next problem:

long *(*x_inline) __PMT ((XDR *__xdrs, int len));

in rpc/xdr.h.

x_inline gives back a long* pointer to an array of int32_t :-(
If I increase the pointer on an alpha, I will loose some data
or get holes in the list. And I wonder, why auth_unix and auth_des
on Alpha doesn't work correct. Sun increases this pointer in the
sunrpc code for encoding XDR data.

I hope I could fix all this bugs without breaking to much.

  Thorsten

-- 
Thorsten Kukuk      http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE GmbH           Schanzaeckerstr. 10             90443 Nuernberg
Linux is like a Vorlon.  It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]