r1292 - in glibc-package/trunk/debian: . patches
Author: schizo
Date: 2006-03-17 19:21:58 +0000 (Fri, 17 Mar 2006)
New Revision: 1292
Added:
glibc-package/trunk/debian/patches/mips-bits-resource.diff
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/series
Log:
* Add mips-bits-resource.diff: add RLIMIT_NICE and RLIMIT_RTPRIO.
closes: #357419.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2006-03-11 06:14:34 UTC (rev 1291)
+++ glibc-package/trunk/debian/changelog 2006-03-17 19:21:58 UTC (rev 1292)
@@ -11,7 +11,7 @@
* Add tst-setcontext_c.diff (fix the arguments passed to setcontext during
test) from upstream.
* Create a link /usr/lib32 -> /emul/ia32-linux/usr/lib on amd64.
- * Add argp_h.diff fixes (Remove __NTH for __argp_usage inline function)
+ * Add argp_h.diff fixes (Remove __NTH for __argp_usage inline function)
by Ulrich Drepper (patch from HEAD). (Closes: #355264)
* Add getcwd_ia64.diff (Remove the assertion so that the behaviour is the
same on all platforms, including ia64). This is a temporary fix to bug
@@ -24,8 +24,12 @@
current locale defines sign_posn == 4 (as in de_CH) and format
argument contains the ! modifier.
- -- Denis Barbier <barbier@debian.org> Mon, 6 Mar 2006 00:40:52 +0100
+ [ Clint Adams ]
+ * Add mips-bits-resource.diff: add RLIMIT_NICE and RLIMIT_RTPRIO.
+ closes: #357419.
+ -- Clint Adams <schizo@debian.org> Fri, 17 Mar 2006 14:15:59 -0500
+
glibc (2.3.6-3) unstable; urgency=low
[ Aurelien Jarno]
Added: glibc-package/trunk/debian/patches/mips-bits-resource.diff
===================================================================
--- glibc-package/trunk/debian/patches/mips-bits-resource.diff 2006-03-11 06:14:34 UTC (rev 1291)
+++ glibc-package/trunk/debian/patches/mips-bits-resource.diff 2006-03-17 19:21:58 UTC (rev 1292)
@@ -0,0 +1,29 @@
+--- ./sysdeps/unix/sysv/linux/mips/bits/resource.h 2004-08-16 04:51:46.000000000 -0400
++++ /scratch/ports/sysdeps/unix/sysv/linux/mips/bits/resource.h 2005-06-20 11:07:34.000000000 -0400
+@@ -1,5 +1,5 @@
+ /* Bit values & structures for resource limits. Linux/MIPS version.
+- Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004
++ Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004, 2005
+ Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+@@ -89,7 +89,18 @@
+ __RLIMIT_MSGQUEUE = 12,
+ #define RLIMIT_MSGQUEUE __RLIMIT_MSGQUEUE
+
+- __RLIMIT_NLIMITS = 13,
++ /* Maximum nice priority allowed to raise to.
++ Nice levels 19 .. -20 correspond to 0 .. 39
++ values of this resource limit. */
++ __RLIMIT_NICE = 13,
++#define RLIMIT_NICE __RLIMIT_NICE
++
++ /* Maximum realtime priority allowed for non-priviledged
++ processes. */
++ __RLIMIT_RTPRIO = 14,
++#define RLIMIT_RTPRIO _RLIMIT_RTPRIO
++
++ __RLIMIT_NLIMITS = 15,
+ __RLIM_NLIMITS = __RLIMIT_NLIMITS
+ #define RLIMIT_NLIMITS __RLIMIT_NLIMITS
+ #define RLIM_NLIMITS __RLIM_NLIMITS
Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series 2006-03-11 06:14:34 UTC (rev 1291)
+++ glibc-package/trunk/debian/patches/series 2006-03-17 19:21:58 UTC (rev 1292)
@@ -137,3 +137,4 @@
strfmon.diff
argp_h.diff -p1
getcwd_ia64.diff -p1
+mips-bits-resource.diff -p0
Reply to: