]> Zhao Yanbai Git Server - minix.git/commit
New stat structure.
authorEvgeniy Ivanov <lolkaantimat@gmail.com>
Fri, 1 Jul 2011 19:35:54 +0000 (23:35 +0400)
committerBen Gras <ben@minix3.org>
Tue, 12 Jul 2011 14:39:55 +0000 (16:39 +0200)
commitef0a2650865b2de21fca220bbb8eae050699cf0a
treec46a3adf51ec8a1b183530cb2d993686740dbc82
parent48331843ea1480ca54df18bd3f2ec8a855b68390
New stat structure.

  * VFS and installed MFSes must be in sync before and after this change *

Use struct stat from NetBSD. It requires adding new STAT, FSTAT and LSTAT
syscalls. Libc modification is both backward and forward compatible.

Also new struct stat uses modern field sizes to avoid ABI
incompatibility, when we update uid_t, gid_t and company.
Exceptions are ino_t and off_t in old libc (though paddings added).
34 files changed:
commands/stat/stat.c
common/include/minix/callnr.h
common/include/minix/type.h
docs/UPDATING
include/minix/types.h
include/sys/stat.h
lib/libc/posix/_fstat.c
lib/libc/posix/_lstat.c
lib/libc/posix/_stat.c
lib/libvtreefs/stadir.c
lib/nbsd_libc/db/btree/bt_open.c
lib/nbsd_libc/db/hash/hash.c
lib/nbsd_libc/minix-port.patch
lib/nbsd_libc/resolv/res_init.c
lib/nbsd_libc/stdio/fseeko.c
lib/nbsd_libc/stdio/makebuf.c
lib/nbsd_libc/sys-minix/stat.c
man/man2/Makefile
man/man2/stat.2 [deleted file]
nbsd_include/sys/stat.h
nbsd_include/sys/types.h
servers/ext2/stadir.c
servers/hgfs/stat.c
servers/iso9660fs/stadir.c
servers/mfs/stadir.c
servers/pfs/stadir.c
servers/pm/table.c
servers/rs/exec.c
servers/vfs/exec.c
servers/vfs/proto.h
servers/vfs/request.c
servers/vfs/stadir.c
servers/vfs/table.c
servers/vm/exec.c