From owner-freebsd-hackers Fri Jan 19 14:41:24 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA20201 for hackers-outgoing; Fri, 19 Jan 1996 14:41:24 -0800 (PST) Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA20192 for ; Fri, 19 Jan 1996 14:41:14 -0800 (PST) Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id XAA21464 ; Fri, 19 Jan 1996 23:41:05 +0100 Received: from (uucp@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) with UUCP id XAA02303 ; Fri, 19 Jan 1996 23:41:03 +0100 Received: (from roberto@localhost) by keltia.freenix.fr (8.7.3/keltia-uucp-2.7) id TAA00978; Fri, 19 Jan 1996 19:01:27 +0100 (MET) From: Ollivier Robert Message-Id: <199601191801.TAA00978@keltia.freenix.fr> Subject: Re: setproctitle() To: am@f1.ru Date: Fri, 19 Jan 1996 19:01:26 +0100 (MET) Cc: freebsd-hackers@freebsd.org In-Reply-To: <199601191511.SAA05118@px.f1.ru> from "Andrew Maltsev" at Jan 19, 96 06:11:55 pm X-Operating-System: FreeBSD 2.2-CURRENT ctm#1559 X-Mailer: ELM [version 2.4ME+ PL0 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org Precedence: bulk It seems that Andrew Maltsev said: > Why we have no interface to change process name in FreeBSD? > Like setproctitle() in BSD/OS and some other OS'es.. You've been beaten :-) peter 95/12/26 14:50:09 Modified: lib/libutil Makefile Added: lib/libutil setproctitle.3 setproctitle.c Log: Bring in an initial version of setproctitle().. This is intended to replace the dozen other various hacks in the code that do all sorts of crude things including spamming the envrionment strings with the new argv string. This version is mainly inspired by the sendmail version, with a couple of ideas taken from the NetBSD implementation as well. Revision Changes Path 1.2 +2 -1 src/lib/libutil/Makefile -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net FreeBSD keltia.freenix.fr 2.2-CURRENT #1: Sun Jan 14 20:23:45 MET 1996