Bug#627619: libc6-dev: please define RLIMIT_RTTIME and increment RLIM_NLIMITS

2011-05-22 Thread Jonathan Nieder
Aurelien Jarno wrote: > For example the types are not exactly the same in the linux kernel and > the GNU libc, causing a lot of issues. Are these mostly large file support related nowadays? > Also when there is a conflict between the two headers, the kernel side > and the GNU libc side have to d

Bug#627619: libc6-dev: please define RLIMIT_RTTIME and increment RLIM_NLIMITS

2011-05-22 Thread Aurelien Jarno
On Mon, May 23, 2011 at 12:09:16AM -0500, Jonathan Nieder wrote: > Aurelien Jarno wrote: > > > We don't want to include kernel headers directly, as they we don't > > control their change, and they might create conflicts (especially with > > type definition). > > Thanks for explaining. It seems s

Bug#627619: libc6-dev: please define RLIMIT_RTTIME and increment RLIM_NLIMITS

2011-05-22 Thread Jonathan Nieder
Aurelien Jarno wrote: > We don't want to include kernel headers directly, as they we don't > control their change, and they might create conflicts (especially with > type definition). Thanks for explaining. It seems somewhat backward --- Linus is a cooperative and reasonable person and has been

Bug#627619: libc6-dev: please define RLIMIT_RTTIME and increment RLIM_NLIMITS

2011-05-22 Thread Aurelien Jarno
tag 627619 + pending thanks On Sun, May 22, 2011 at 05:01:04PM -0500, Jonathan Nieder wrote: > Jonathan Nieder wrote: > > > I wonder why the enum trick in bits/resource.h is not ported to > > Linux so we could just #include ? That would save > > alpha, sparc, and mips from having to maintain the

Bug#627619: libc6-dev: please define RLIMIT_RTTIME and increment RLIM_NLIMITS

2011-05-22 Thread Jonathan Nieder
Jonathan Nieder wrote: > I wonder why the enum trick in bits/resource.h is not ported to > Linux so we could just #include ? That would save > alpha, sparc, and mips from having to maintain their own copies of > bits/resource.h. Lacking that, something like the following might > work. Untested.

Bug#627619: libc6-dev: please define RLIMIT_RTTIME and increment RLIM_NLIMITS

2011-05-22 Thread Jonathan Nieder
tags 627619 + upstream quit Hi, brian m. carlson wrote: > On amd64, /usr/include/bits/resource.h defines RLIM_NLIMITS as 15. > However, in /usr/include/asm-generic/resource.h, the kernel defines > RLIM_NLIMITS as 16 and instead defines RLIMIT_RTTIME as 15. This > appears to be part of the reaso

Bug#627619: libc6-dev: please define RLIMIT_RTTIME and increment RLIM_NLIMITS

2011-05-22 Thread brian m. carlson
Package: libc6-dev Version: 2.13-4 Severity: wishlist On amd64, /usr/include/bits/resource.h defines RLIM_NLIMITS as 15. However, in /usr/include/asm-generic/resource.h, the kernel defines RLIM_NLIMITS as 16 and instead defines RLIMIT_RTTIME as 15. This appears to be part of the reason behind #62