Skip to content

Commit

Permalink
* sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_NICE,
Browse files Browse the repository at this point in the history
	RLIMIT_RTPRIO): Add.
	(RLIMIT_NLIMITS): Adjust.
	* sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_NICE,
	RLIMIT_RTPRIO): Add.
	(RLIMIT_NLIMITS): Adjust.
	* sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_NICE,
	RLIMIT_RTPRIO): Add.
	(RLIMIT_NLIMITS): Adjust.
	* sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_NICE,
	RLIMIT_RTPRIO): Add.
	(RLIMIT_NLIMITS): Adjust.
  • Loading branch information
Ulrich Drepper committed Jun 20, 2005
1 parent 9b5204d commit dc69e77
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 8 deletions.
15 changes: 15 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
2005-06-20 Jakub Jelinek <jakub@redhat.com>

* sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_NICE,
RLIMIT_RTPRIO): Add.
(RLIMIT_NLIMITS): Adjust.
* sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_NICE,
RLIMIT_RTPRIO): Add.
(RLIMIT_NLIMITS): Adjust.
* sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_NICE,
RLIMIT_RTPRIO): Add.
(RLIMIT_NLIMITS): Adjust.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_NICE,
RLIMIT_RTPRIO): Add.
(RLIMIT_NLIMITS): Adjust.

2005-06-17 Ulrich Drepper <drepper@redhat.com>

* time/mktime.c: Always include <string.h> for prototype of
Expand Down
15 changes: 13 additions & 2 deletions sysdeps/unix/sysv/linux/alpha/bits/resource.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Bit values & structures for resource limits. Alpha/Linux 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.
Expand Down Expand Up @@ -89,7 +89,18 @@ enum __rlimit_resource
__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
Expand Down
15 changes: 13 additions & 2 deletions sysdeps/unix/sysv/linux/bits/resource.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Bit values & structures for resource limits. Linux 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.
Expand Down Expand Up @@ -89,7 +89,18 @@ enum __rlimit_resource
__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
Expand Down
15 changes: 13 additions & 2 deletions sysdeps/unix/sysv/linux/mips/bits/resource.h
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -89,7 +89,18 @@ enum __rlimit_resource
__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
Expand Down
15 changes: 13 additions & 2 deletions sysdeps/unix/sysv/linux/sparc/bits/resource.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Bit values & structures for resource limits. Linux/SPARC 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.
Expand Down Expand Up @@ -89,7 +89,18 @@ enum __rlimit_resource
__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
Expand Down

0 comments on commit dc69e77

Please sign in to comment.