From owner-freebsd-bugs Thu May 10 21:10:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D429137B424 for ; Thu, 10 May 2001 21:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4B4A1r10674; Thu, 10 May 2001 21:10:01 -0700 (PDT) (envelope-from gnats) Received: from dns.amalea.org (in.m1.ntu.edu.tw [140.112.240.66]) by hub.freebsd.org (Postfix) with ESMTP id ACD1937B423 for ; Thu, 10 May 2001 21:00:52 -0700 (PDT) (envelope-from in@dns.amalea.org) Received: (from in@localhost) by dns.amalea.org (8.11.3/8.11.3) id f4B40qk90902; Fri, 11 May 2001 12:00:52 +0800 (CST) (envelope-from in) Message-Id: <200105110400.f4B40qk90902@dns.amalea.org> Date: Fri, 11 May 2001 12:00:52 +0800 (CST) From: in@amalea.org Reply-To: in@amalea.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: kern/27262: process won't be terminated after CPUTIME exceeded Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 27262 >Category: kern >Synopsis: process won't be terminated after CPUTIME exceeded >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 10 21:10:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: in@amalea.org >Release: FreeBSD 5.0-CURRENT i386 >Organization: International Amalea Organization >Environment: System: FreeBSD dns.amalea.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon May 7 22:33:41 CST 2001 in@dns.amalea.org:/usr/obj/usr/src/sys/GENERIC i386 CPU: Pentium III/Pentium III Xeon/Celeron (733.36-MHz 686-class CPU) FreeBSD 5.0-CURRENT i386 >Description: process which exceeds CPUTIME limit by setrlimit() will not receive signal SIGXCPU and terminate. >How-To-Repeat: /*- * this program should be terminated after 2 secs, */ #include #include #include int main(argc, argv) int argc; char *argv[]; { struct rlimit rlp; rlp.rlim_cur = 2; rlp.rlim_max = 2; setrlimit(RLIMIT_CPU, &rlp); while( 1 ) ; } >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message