[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] simplify ulimit implementation

From: Pino Toscano
Subject: [PATCH] simplify ulimit implementation
Date: Sun, 18 Nov 2012 23:42:44 +0100
User-agent: KMail/1.13.7 (Linux/3.2.0-3-amd64; KDE/4.8.4; x86_64; ; )


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 

Pino Toscano

Attachment: fix-ulimit.diff
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]