Hi,

While writing a prlimit64 syscall parser I found a seemingly dead
HAVE_LONG_LONG_RLIM_T code in resource.c that implements [gs]etrlimit
parsers for systems where sizeof(rlim_t) == sizeof(long long).

Looking at "struct rlimit" and "struct compat_rlimit" definitions in
include/linux/resource.h and include/linux/compat.h I see no way for
sizeof(rlim_t) to be greater than sizeof(long) on linux.

Is it correct that rlim_t cannot be a long long type on linux,
or am I missing something?


-- 
ldv

Attachment: pgpjIGTIMlfO7.pgp
Description: PGP signature

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to