Date: Tue, 8 Aug 1995 23:46:30 +0200 From: Wolfram Schneider <wosch@cs.tu-berlin.de> To: FreeBSD-gnats-submit@freebsd.org, wosch@cs.tu-berlin.de Subject: kern/668: garbage in /var/account/acct Message-ID: <199508082146.XAA07340@localhost> Resent-Message-ID: <199508090840.BAA26824@freefall.cdrom.com>
index | next in thread | raw e-mail
>Number: 668
>Category: kern
>Synopsis: garbage in /var/account/acct
>Confidential: yes
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 9 01:40:02 PDT 1995
>Last-Modified:
>Originator: Wolfram Schneider
>Organization:
>Release: FreeBSD 2.0-ALPHA i386
>Environment:
>Description:
Sometimes the kernel produces garbage after long program names
in /var/account/acct.
# create a 10 chars long (or longer) program name
$ cp /bin/ls /tmp/ls34567890
# start this program 100 x
$ set 0 1 2 3 4 5 6 7 8 9
$ for i do for j do /tmp/ls34567890 ;done;done >/dev/null
# check for garbage
$ lastcomm |grep '^ls34567890[^ ]'|wc
3 30 201
$ lastcomm |grep '^ls34567890[^ ]'
ls34567890\001 - wosch ttyp0 0.02 secs Tue Aug 8 15:00
ls34567890\001 - wosch ttyp0 0.05 secs Tue Aug 8 15:00
ls34567890\001 - wosch ttyp0 0.03 secs Tue Aug 8 15:00
Wolfram
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508082146.XAA07340>
