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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: [PATCH] setrlimit/getrlimit


> Jakub, I changed the sparc/bits/resouces.h file as you suggested,
> sparc32 uses signed long, sparc64 unsigned long. Could you please
> look at the patch ?

I'll wait until we get to consensus with Davem and I do the kernel side.

> I have one problem with this: What happens if somebody compiles
> his sparc64 binaries with the new header files and runs for example
> linux 2.2.5 ? This kernel doesn't reject negative rlimit values.

No problem. He will not do it. sparc64 userland will be officially supported
with 2.3.latest and later. E.g. up to 2.3.18 or when was it any 64bit task
can set its page tables as it wants because it can access its VPTE area, so
enabling BINFMT_ELF on those kernels is a security issue. Also, several
other bugs have been fixed in 2.3, so 64bit userland would not be usable
anyway.

Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.26 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________

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