[PATCH] simplify ulimit implementation
Pino Toscano
toscano.pino@tiscali.it
Sun Nov 18 22:43:00 GMT 2012
Hi,
the current ulimit implementation used for Hurd,
sysdeps/unix/bsd/ulimit.c, is buggy (produces wrong return values,
different function name vs weak alias), while the one for Linux
(sysdeps/unix/sysv/linux/ulimit.c) is better; thus, I decided to remove
the bsd implementation and move the linux one as unix sysdeps (I
initially thought as posix, but since it implements non-standard values
I went for unix).
The only drawback of this operation is that for non-Linux
implementations, using bsd sysdeps and not providing an own ulimit, lose
the (non-standard) __UL_GETMAXBRK case. Can this be considered
acceptable?
Thanks,
--
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-ulimit.diff
Type: text/x-patch
Size: 8341 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20121118/4c7451c6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20121118/4c7451c6/attachment.sig>
More information about the Libc-alpha
mailing list