Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 1999 13:20:01 -0700 (PDT)
From:      Marcel Moolenaar <marcel@scc.nl>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/12319: linux emu: getrusage causing core dumps
Message-ID:  <199908102020.NAA17005@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/12319; it has been noted by GNATS.

From: Marcel Moolenaar <marcel@scc.nl>
To: freebsd-gnats-submit@freebsd.org, petr.rehor@decros.cz
Cc:  
Subject: Re: kern/12319: linux emu: getrusage causing core dumps
Date: Tue, 10 Aug 1999 22:17:50 +0200

 The Linux getrusage syscall only accepts RUSAGE_SELF and RUSAGE_CHILDREN.
 RUSAGE_BOTH is only used internally. How does the emulated syscall differ
 from the Linux native syscall? Both return EINVAL for anything other than
 RUSAGE_SELF and RUSAGE_CHILDREN. How do you explain the coredump? Does the
 binary coredump on a Linux system? Do I miss something?
 
 Linux kernel
 	version:	2.2.10
 	file:		kernel/sys.c
 FreeBSD
 	version:	-current (7 aug 1999)
 	file:		kern/kern_resource.c
 
 -- 
 Marcel Moolenaar                                  mailto:marcel@scc.nl
 SCC Internetworking & Databases                     http://www.scc.nl/
 Amsterdam, The Netherlands                         tel: +31 20 4200655
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908102020.NAA17005>