🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16083

Re: inn-1.5.1 and Solaris

#16083
From: Per Hedeland
Date: Thu, 20 Mar 1997 00:00
22 lines
1374 bytes
In article <5gonsm$524$1@news.nol.net> blh@nol.net (Brett Hawn [NOL
STAFF]) writes:
>to emulate this in SysV a fast (and dirty) call to strcpy() could be used
>like:
>
>    strcpy(argc[0], "admins really hate this");
>
>generally argv[0] is the name of the called process taken from the command
>line.

Which is more or less what the INN code does (actually it uses all of
argv) if SETPROCTITLE is set DONT, of course. Unfortunately this doesn't
really work right on Solaris either - /usr/bin/ps pays no attention to
it, but the distantly BSD-resembling /usr/ucb/ps sort of shows it if
given a 'w' option (which for some inexplicable reason causes it to
switch from "initial command" to "program-set argv"-ish).

--Per Hedeland
per@erix.ericsson.se

Technical Details
Message-ID: <5gq0qu$a6j$1@news.du.etx.ericsson.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <332F8C34.2450@iti.gov.sg> <5gonsm$524$1@news.nol.net>

Show Full Headers
Complete Article Headers
Message-ID: <5gq0qu$a6j$1@news.du.etx.ericsson.se>
Subject: Re: inn-1.5.1 and Solaris
Date: Thu, 20 Mar 1997 00:00:00 +0000
From: per@erix.ericsson.se (Per Hedeland)
References: <332F8C34.2450@iti.gov.sg> <5gonsm$524$1@news.nol.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 226838459
Organization: Ericsson Telecom, Stockholm, Sweden
NNTP-Posting-User: per
Newsgroups: news.software.nntp