Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jun 2016 07:41:51 -0700
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Bryan Drewery <bdrewery@freebsd.org>, <src-committers@freebsd.org>, <svn-src-all@freebsd.org>, <svn-src-head@freebsd.org>, <sjg@juniper.net>
Subject:   Re: svn commit: r301414 - head/sys/dev/filemon
Message-ID:  <74460.1465137711@kaos.jnpr.net>
In-Reply-To: <20160605081543.GE38613@kib.kiev.ua>
References:  <201606042334.u54NYpFt096529@repo.freebsd.org> <20160605081543.GE38613@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Konstantin Belousov <kostikbel@gmail.com> wrote:
> > Modified: head/sys/dev/filemon/filemon_wrapper.c
> >
>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >  =

> > +#if defined(COMPAT_IA32) || defined(COMPAT_FREEBSD32) || defined(COMP=
AT_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.



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