Subject: Re: patch for a.out warnings
To: None <firstname.lastname@example.org>
From: Simon Burge <email@example.com>
Date: 01/28/2000 16:50:28
"Brian C. Grayson" wrote:
> For those of you trying to transition to an a.out-less box, and
> don't want to do a global find, the following patch will log a
> message whenever an a.out binary is executed. I've found this
> handy when I feel like upgrading a few programs at a time, rather
> than spending a few hours upgrading every blinkin' thing. I just
> look at /var/log/messages to see what programs I use daily still
> need upgrading.
> Just add "options WARN_FOR_AOUT" to your kernel config, and
> apply this patch to /sys/kern/exec_aout.c.
Aesthetically, I think:
printf("a.out format: %s\n", epp->ep_ndp->ni_dirp);
looks better, but that's just my 2c. I personally wouldn't use it;
an a.out upgrade for me usually just consists of deinstallang and
reinstalling the contents of /usr/pkg...