svn commit: r301414 - head/sys/dev/filemon

Simon J. Gerraty sjg at juniper.net
Sun Jun 5 14:42:03 UTC 2016


Konstantin Belousov <kostikbel at gmail.com> wrote:
> > Modified: head/sys/dev/filemon/filemon_wrapper.c
> >
>
===========================================================================
> >  
> > +#if defined(COMPAT_IA32) || defined(COMPAT_FREEBSD32) || defined(COMPAT_ARCH32)
> What are those COMPAT_IA32 and COMPAT_ARCH32 defines ?
> I cannot find any use or definitions for them except in filemon.
> 
> Are the symbols remnants of some porting ?

I think it was originally written for 7.x
but AFAIK it was never built for anything but FreeBSD.

It is possible that the original author was thinking of making it
portable to other platforms, but separate implementations were done for
NetBSD and Linux.


More information about the svn-src-all mailing list