minix/lib
Thomas Veerman a9d0ffbd0d Define protocol version of {mode,ino,uid,gid}_t
The next commit will make mode_t 32-bits, ino_t 64-bits, nlink_t
32-bits, and off_t 64-bits. However, in the protocol there is no
room for that.

When analyzing the usage of these data types we can see that of
mode_t we currently use 15 bits and that future flags (if copied
from NetBSD) are only of importance to VFS and not to the actual
file system on disk. Therefore we can get away with keeping the
protocol version of mode_t (pmode_t) 16 bits.

At this point it is unlikely that MINIX will support file systems
that can hold more than 2^32 files. Keeping the protocol version of
ino_t (pino_t) 32-bits and exposing it as 64-bits to the rest of the
system is fine.

uid_t and gid_t are already 32-bits, but in behind the scenes they're
16-bits. This is sufficient since we don't support uid/gids larger
than 2^16-1.

off_t will become 64-bits, but the protocol had room reserved
for that since it was revised years ago.

So to make the difference clear between what the protocol supports
and what is exposed to the system, we define protocol version of
these data types.

Change-Id: Ifb883aafb222142e69d6dcc3049a47170b78b3ee
2013-03-28 19:39:21 +00:00
..
csu libcsu: store argc and argv on the stack 2013-01-25 17:07:02 +00:00
libasyn No more intel/minix segments. 2012-07-15 22:30:15 +02:00
libaudiodriver libaudiodriver: properly deallocate memory 2012-08-24 09:17:27 +00:00
libbdev libbdev: resolve Coverity warnings 2012-07-30 12:10:12 +00:00
libblockdriver Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
libbz2 Upgrading bzip2 2012-11-21 18:32:06 +01:00
libc Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
libchardriver libchardriver: resolve Coverity warnings 2012-07-30 12:10:13 +00:00
libcompat_minix Removing obsolete _MINIX_COMPAT define 2013-02-26 09:44:23 +00:00
libcrypt Updating lib/libcrypt 2013-01-14 11:36:27 +01:00
libcurses Removing useless __NBSD_LIBC define in libcurses 2013-01-17 10:03:58 +01:00
libddekit Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
libdevman retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
libedit Fix command line history in ash 2013-02-01 11:41:47 +01:00
libelf Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
libexec Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
libfetch Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
libgpio Let the build system manage compilation flags 2013-03-08 09:41:49 +01:00
libhgfs Create SFFS library out of HGFS 2012-04-09 18:08:26 +02:00
liblwip LIBLWIP - ARP fix 2013-03-25 16:51:25 +01:00
libm Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
libminc ldivmod, uldivmod: fix qdivrem calls 2013-02-08 14:09:45 +01:00
libminixfs Spring cleanup 2013-03-06 09:56:08 +00:00
libminlib ARM updates 2013-01-17 10:03:58 +01:00
libmthread Let the build system manage compilation flags 2013-03-08 09:41:49 +01:00
libnetdriver retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
libnetsock LWIP - fixed makefiles 2013-03-25 16:51:25 +01:00
libpadconf Let the build system manage compilation flags 2013-03-08 09:41:49 +01:00
libprop Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
libpuffs Define protocol version of {mode,ino,uid,gid}_t 2013-03-28 19:39:21 +00:00
librefuse Let the build system manage compilation flags 2013-03-08 09:41:49 +01:00
librmt Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
libsffs Define protocol version of {mode,ino,uid,gid}_t 2013-03-28 19:39:21 +00:00
libsys Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
libterminfo Re-adding extended keys in minix termcap entry 2013-01-23 21:28:17 +01:00
libtimers Replace NULL macro defs with null.h include 2010-07-22 10:03:31 +00:00
libusb retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
libutil Fixing cross build i386 on minix 2013-01-23 21:03:38 +01:00
libvassert No more intel/minix segments. 2012-07-15 22:30:15 +02:00
libvboxfs libvboxfs: fix setting file mtimes 2012-10-17 23:01:24 +02:00
libvirtio virtio: generic virtio library 2013-01-23 09:03:03 +00:00
libvtreefs Define protocol version of {mode,ino,uid,gid}_t 2013-03-28 19:39:21 +00:00
libz Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
Makefile lwip (inet's alternative) is compiled by default 2013-03-25 16:51:25 +01:00
Makefile.inc Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00