Subject: Re: statvfs change breaking statfs() in emuls?
To: Jonathan Stone <>
From: Christos Zoulas <>
List: tech-kern
Date: 05/10/2004 16:26:20
On May 10,  1:18pm, (Jonathan Stone) wrote:
-- Subject: statvfs change breaking statfs() in emuls?

| FreeBSD-4 binary emulation was broken by the statvfs()
| changes. src/sys/compat/freebsd/syscalls.master is #ifdef'ed with
| COMPAT_20; but that flag is set in opt_compat_netbsd.h, which
| isn't included by src/sys/compat/freebsd/syscalls.master.
| A quick grep for compat_20_sys_ suggests the other possible
| victims are aout, aoutm68k, and pecoff, all of which include
| opt_compat_netbsd.h.
| Did I miss any others?

No; just the freebsd one:

grep -L opt_compat_netbsd `grep 'COMPAT_[0-9]' */syscalls.master linux/arch/*/syscalls.master | awk -F: '{ print $1 }' | sort -u`