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

Bug#575381: marked as done (linux-libc-dev: <linux/resource.h> getrusage() prototype should be protected from user space)



Your message dated Mon, 25 Oct 2010 12:27:46 +0000 (UTC)
with message-id <Pine.BSM.4.64L.1010251227140.10185@herc.mirbsd.org>
and subject line linux-libc-dev: <linux/resource.h> getrusage() prototype should be protected from user space
has caused the Debian Bug report #575381,
regarding linux-libc-dev: <linux/resource.h> getrusage() prototype should be protected from user space
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
575381: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575381
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libklibc-dev
Version: 1.5.12-2
Severity: important

Excerpt from dietlibc <sys/resource.h>:
│int getpriority(int which, int who) __THROW;                                                                
│int setpriority(int which, int who, int prio) __THROW;                                                      
│                                                                                                            
│int getrlimit (int resource, struct rlimit *rlim);                                                          
│int getrusage (int who, struct rusage *usage);                                                              
│int setrlimit (int resource, const struct rlimit *rlim);                                                    

Excerpt from klibc <linux/resource.h>, included by <sys/resource.h>:
│int getrusage(struct task_struct *p, int who, struct rusage *ru);

As you can see, four prototypes are missing, and the one existing
is broken. This prevents mksh from being built (Debian package mksh).

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh

Versions of packages libklibc-dev depends on:
ii  gcc-4.1                       4.1.2-25   The GNU C compiler
ii  libklibc                      1.5.12-2   minimal libc subset for use with i

libklibc-dev recommends no packages.

libklibc-dev suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
<linux/resource.h> has no prototype any more.

Thanks!

//mirabilos
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.		-- Coywolf Qi Hunt


--- End Message ---

Reply to: