[parisc-linux-cvs] glibc willy

Matthew Wilcox willy@puffin.external.hp.com
Tue, 29 May 2001 16:01:15 -0600


CVSROOT:	/home/cvs/parisc
Module name:	glibc
Changes by:	willy	01/05/29 16:01:14

Modified files:
	sysdeps/unix/sysv/linux/hppa: Tag: merge_GLIBC_CVS_20010424 
	                              syscalls.list 
Removed files:
	sysdeps/unix/sysv/linux/hppa: Tag: merge_GLIBC_CVS_20010424 
	                              getrlimit.c setrlimit.c 

Log message:
Fix getrlimit / setrlimit.

the current code calls the x86 routine which checks for a syscall by
the name of seturlimit (unsigned).  since we've always been unsigned, we
don't have that syscall.  then it divides our infinity by 2, which causes
us to have 7fff'ffff.  it was 3fff'ffff before because our header files
were wrong and defined it to 7fff'ffff.  Anyway, with this fix, we just
call the setrlimit syscall directly without going through any C wrappers.