Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 1995 03:40:01 -0700
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        freebsd-bugs
Subject:   Re: kern/682: to shot command name in <sys/acct.h>
Message-ID:  <199508141040.DAA10796@freefall.FreeBSD.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/682; it has been noted by GNATS.

From: Wolfram Schneider <wosch@cs.tu-berlin.de>
To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: kern/682: to shot command name in <sys/acct.h>
Date: Mon, 14 Aug 1995 12:20:01 +0200

 J. Wunsch writes:
 >As Wolfram Schneider wrote:
 >> 
 >> /usr/include/sys/acct.h:
 >> 
 >> #define AC_COMM_LEN 16
 >> struct acct {
 >>         char    ac_comm[AC_COMM_LEN];    /* command name */
 >
 >What incompatibilites will this produce?  Is it just lastcomm(1)
 >that has to be recompiled?
 
 $gfind . -name '*.[ch]' | xargs egrep -l '<sys/acct.h>' > a
 $cat a
 ./usr.sbin/sa/usrdb.c
 ./usr.sbin/sa/main.c
 ./usr.sbin/sa/pdb.c
 ./usr.bin/lastcomm/lastcomm.c
 ./sys/kern/kern_exec.c
 ./sys/kern/kern_fork.c
 ./sys/kern/kern_proc.c
 ./sys/kern/kern_sig.c
 ./sys/kern/kern_prot.c
 ./sys/kern/kern_acct.c
 ./sys/i386/i386/trap.c
 ./sys/i386/i386/math_emulate.c
 
 $xargs egrep -l ac_comm < a
 ./usr.sbin/sa/main.c
 ./usr.bin/lastcomm/lastcomm.c
 ./sys/kern/kern_acct.c
 
 
 --
 Wolfram Schneider <wosch@cs.tu-berlin.de>
 <a href="http://hyperg.cs.tu-berlin.de/C~wosch">me</a>;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508141040.DAA10796>