From owner-freebsd-bugs Fri Jun 9 8:50: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id AEAB637B9D9 for ; Fri, 9 Jun 2000 08:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA23844; Fri, 9 Jun 2000 08:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 9 Jun 2000 08:50:02 -0700 (PDT) Message-Id: <200006091550.IAA23844@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ruslan Ermilov Subject: Re: bin/19145: ps not annotatable in 4.0 Reply-To: Ruslan Ermilov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/19145; it has been noted by GNATS. From: Ruslan Ermilov To: billh@europe.yahoo-inc.com Cc: bug-followup@FreeBSD.org Subject: Re: bin/19145: ps not annotatable in 4.0 Date: Fri, 9 Jun 2000 18:41:33 +0300 On Fri, Jun 09, 2000 at 08:04:19AM -0700, billh@europe.yahoo-inc.com wrote: > > create this C program, call it getargv.c, and compile with > cc -O -pipe getargv.c -lkvm -o getargv > [...] > > then compile and run the following (call it argv0.c, "make argv0") > > int main(int argc, char *argv[]) > { > argv[0] = "test"; > sleep(500); > return(0); > } > Try to setproctitle(3) in argv0(1). -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message