freebsd-dev/sys/compat/freebsd32
John Baldwin cc479dda4a Rework the routines to convert a 5.x+ statfs structure (with fixed-size
64-bit counters) to a 4.x statfs structure (with long-sized counters).
- For block counters, we scale up the block size sufficiently large so
  that the resulting block counts fit into a the long-sized (long for the
  ABI, so 32-bit in freebsd32) counters.  In 4.x the NFS client's statfs
  VOP did this already.  This can lie about the block size to 4.x binaries,
  but it presents a more accurate picture of the ratios of free and
  available space.
- For non-block counters, fix the freebsd32 stats converter to cap the
  values at INT32_MAX rather than losing the upper 32-bits to match the
  behavior of the 4.x statfs conversion routine in vfs_syscalls.c

Approved by:	re (kensmith)
2007-08-28 20:28:12 +00:00
..
freebsd32_misc.c Rework the routines to convert a 5.x+ statfs structure (with fixed-size 2007-08-28 20:28:12 +00:00
freebsd32_proto.h Regenerate after mmap/lseek/etc syscall changes 2007-07-04 23:03:50 +00:00
freebsd32_signal.h Oops, add the missing file. 2006-10-05 01:58:08 +00:00
freebsd32_syscall.h Regenerate. 2007-08-16 05:32:26 +00:00
freebsd32_syscalls.c Regenerate. 2007-08-16 05:32:26 +00:00
freebsd32_sysent.c Regenerate. 2007-08-16 05:32:26 +00:00
freebsd32_util.h
freebsd32.h Add compatible code to let 32bit libthr work on 64bit kernel. 2006-09-22 15:04:28 +00:00
Makefile
syscalls.conf - Remove unused sysvec variables from various syscalls.conf. 2006-08-15 17:25:55 +00:00
syscalls.master Add thr_kill2 compat32 syscall. 2007-08-16 05:30:04 +00:00