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

Konstantin Belousov kostikbel at gmail.com
Sun Jun 5 08:15:50 UTC 2016


On Sat, Jun 04, 2016 at 11:34:51PM +0000, Bryan Drewery wrote:
> Author: bdrewery
> Date: Sat Jun  4 23:34:51 2016
> New Revision: 301414
> URL: https://svnweb.freebsd.org/changeset/base/301414
> 
> Log:
>   Fix build after r301404.
>   
>   X-MFC-With:	r301404
>   MFC after:	1 week
> 
> Modified:
>   head/sys/dev/filemon/filemon_wrapper.c
> 
> Modified: head/sys/dev/filemon/filemon_wrapper.c
> ==============================================================================
> --- head/sys/dev/filemon/filemon_wrapper.c	Sat Jun  4 21:34:06 2016	(r301413)
> +++ head/sys/dev/filemon/filemon_wrapper.c	Sat Jun  4 23:34:51 2016	(r301414)
> @@ -39,6 +39,10 @@ __FBSDID("$FreeBSD$");
>  
>  #include "opt_compat.h"
>  
> +#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 ?

> +extern struct sysent freebsd32_sysent[];
> +#endif
> +
>  static eventhandler_tag filemon_exec_tag;
>  static eventhandler_tag filemon_exit_tag;
>  static eventhandler_tag filemon_fork_tag;


More information about the svn-src-head mailing list