VFS-FS protocol: add versioning

Change-Id: Ice6fbfd4b535b7435653fa08b27a3378d1cfdbf8
Define protocol version of {mode,ino,uid,gid}_t

Change-Id: Ia2027749f2ce55a561d19eb895a5618505e9a2ac
stat.h: remove some big_ types

Change-Id: I84017db3d54edfb823cc52e02d0b07fccb003988
VFS: use 64-bit file offsets in all requests

Change-Id: I735c4068135474aff2c397f4bc9fb147a618b453
Bumping version to 3.3.0

Change-Id: I4c88bdd449daf6ad3fe4e93ee8fc35d4f38becc4
fix sysroot clang

Change-Id: I63adf8460e7fdbe3d9d5ad6c828ae5758cb1643c
Adapt the type used for adjtime_delta

clock_t is currently a signed type, but in NetBSD this is not the
case. As we plan on aligning our types we have to change this as this
prevents negative delta from being correctly used.

Change-Id: I9bccdee2b41626b0262471dc1900de505a1991a7
Alignement on netbsd types, part 1

The following types are modified (old -> new):
 * _BSD_USECONDS_T_ int       -> unsigned int
 * __socklen_t      __int32_t -> __uint32_t
 * blksize_t        uint32_t  -> int32_t
 * rlim_t           uint32_t  -> uint64_t
On ARM:
 * _BSD_CLOCK_T_    int       -> unsigned int
On Intel:
 * _BSD_CLOCK_T_    int       -> unsigned long

bin/cat is also updated in order to fix warnings.

_BSD_TIMER_T_ has still to be aligned.

Change-Id: I2b4fda024125a19901120546c4e22e443ba5e9d7
struct uucred

Change-Id: Ia97cb6c38bb566be30d568a252ae7b76142a21dd
moving prototypes to lib.h

Change-Id: If53d3f5ee761b10e0f3d4346a0c5b39ba7901c65
32 to 64 bits fsblkcnt_t and fsfilcnt_t.

Change-Id: I432229143c85cd178262b802a76ac606801ac59a
ABI Break: aligning struct termios

Change-Id: I0109188fffbb166a5036e324a4a75b2491c39fb3
almost aligned ioctl prototype

Change-Id: I7f3eaa99d2a9767f71e8387cea5c7f56dcb28f99
usr.bin/stat Update

Change-Id: I029160c73baab1b3465bc5397a36c55886db225b
VFS/FS: remove fstatfs(2) and REQ_FSTATFS

The fstatfs(3) call now uses fstatvfs(2).

Change-Id: I3fa5d31f078457b4d80418c23060bb2c148cb460
Align "struct statvfs" with NetBSD

This is a requirement for implementing calls such as getmntinfo(3).
VFS is now responsible for filling in some of the structure's fields.

Change-Id: I0c1fa78019587efefd2949b3be38cd9a7ddc2ced
Redo mount(2)/umount(2) ABI

- pass in file system type through mount(2), and return this type in
  statvfs structures as generated by [f]statvfs(2);
- align mount flags field with NetBSD's, splitting out service flags
  which are not to be passed to VFS;
- remove limitation of mount ABI to 16-byte labels, so that labels
  can be made larger in the future;
- introduce new m11 message union type for mount(2) as side effect.

Change-Id: I88b7710e297e00a5e4582ada5243d3d5c2801fd9
Implement support for getvfsstat(2)

Change-Id: I99b697919d411c57105de561105beefc7d1d309a
Implement support for [f]statvfs1(2)

The [f]statvfs(3) calls now use [f]statvfs1(2).

Change-Id: I949c177fc14abf976e45165c342f897f4ec988ee
test55: add tests for getvfsstat(2)

Change-Id: Idc3da4137494db836590c71414017832f15a2628