Age | Commit message (Collapse) | Author |
|
* ChangeLog: Wipe out content, and add instructions about how to get it back.
* auth/ChangeLog: Remove file.
* benchmarks/ChangeLog: Likewise.
* boot/ChangeLog: Likewise.
* bsdfsck/ChangeLog: Likewise.
* config/ChangeLog: Likewise.
* console-client/ChangeLog: Likewise.
* console/ChangeLog: Likewise.
* daemons/ChangeLog: Likewise.
* defpager/ChangeLog: Likewise.
* doc/ChangeLog: Likewise.
* exec/ChangeLog: Likewise.
* ext2fs/ChangeLog: Likewise.
* fatfs/ChangeLog: Likewise.
* fstests/ChangeLog: Likewise.
* ftpfs/ChangeLog: Likewise.
* hostmux/ChangeLog: Likewise.
* hurd/ChangeLog: Likewise.
* include/ChangeLog: Likewise.
* init/ChangeLog: Likewise.
* isofs/ChangeLog: Likewise.
* libcons/ChangeLog: Likewise.
* libdirmgt/ChangeLog: Likewise.
* libdiskfs/ChangeLog: Likewise.
* libfshelp/ChangeLog: Likewise.
* libftpconn/ChangeLog: Likewise.
* libhurdbugaddr/ChangeLog: Likewise.
* libihash/ChangeLog: Likewise.
* libiohelp/ChangeLog: Likewise.
* libnetfs/ChangeLog: Likewise.
* libpager/ChangeLog: Likewise.
* libpipe/ChangeLog: Likewise.
* libports/ChangeLog: Likewise.
* libps/ChangeLog: Likewise.
* libshouldbeinlibc/ChangeLog: Likewise.
* libstore/ChangeLog: Likewise.
* libthreads/ChangeLog: Likewise.
* libtrivfs/ChangeLog: Likewise.
* login/ChangeLog: Likewise.
* mach-defpager/ChangeLog: Likewise.
* nfs/ChangeLog: Likewise.
* nfsd/ChangeLog: Likewise.
* pfinet/ChangeLog: Likewise.
* pflocal/ChangeLog: Likewise.
* proc/ChangeLog: Likewise.
* release/ChangeLog: Likewise.
* serverboot/ChangeLog: Likewise.
* storeio/ChangeLog: Likewise.
* sutils/ChangeLog: Likewise.
* term/ChangeLog: Likewise.
* tmpfs/ChangeLog: Likewise.
* trans/ChangeLog: Likewise.
* ufs-fsck/ChangeLog: Likewise.
* ufs-utils/ChangeLog: Likewise.
* ufs/ChangeLog: Likewise.
* usermux/ChangeLog: Likewise.
* utils/ChangeLog: Likewise.
|
|
* ops.c (complete_setattr): Adapt to ``struct stat'' changes.
* xdr.c (encode_fattr): Likewise.
|
|
* loop.c (server_loop): Fix invalid lvalues.
|
|
* loop.c (server_loop): Use memset instead bzero.
(server_loop): Add parenthesis for post-decrement (even
though it is only used as an lvalue here). Increment P after
using it in the macro, not within.
* ops.c (complete_setattr): Likewise.
(op_setattr, op_read, op_write, op_create, op_symlink, op_mkdir,
op_readdir, op_getport): Likewise.
* xdr.c (encode_fattr): Likewise.
(encode_data): Likewise. Also use memcpy instead bcopy.
(encode_statfs): Likewise.
(decode_name): Likewise. Also use memcpy instead bcopy.
(encode_fhandle): Use memcpy instead bcopy.
* cache.c (process_cred): Add parenthesis for post-decrement (even
though it is only used as an lvalue here). Increment P after
using it in the macro, not within.
(idspec_lookup): Use memcpy, not bcopy.
(lookup_cache_handle): Likewise.
(create_cached_handle): Likewise.
(check_cached_replies): Likewise.
|
|
|
|
* nfsd.h (struct proctable): [0] -> [], for newfangled GCC.
|
|
|
|
* main.c (main): Cast int to intptr_t before any_t.
|
|
|
|
* loop.c (server_loop): size_t -> socklen_t
* cache.c (fh_hash): int -> intptr_t
|
|
|
|
* main.c: Include <error.h>.
* fsys.c: Likewise.
|
|
|
|
* fsys.c (init_filesystems): Use error, not fprintf. Use
MACH_PORT_NULL explicitly.
(write_filesystems): Use error, not fprintf. Use ERR, not errno.
* main.c (main): Use error, not perror and exit.
|
|
|
|
* ops.c: Include <string.h> for decls of built-ins.
|
|
* ops.c (op_readlink): Before returning, check if the buffer
pointed to by transp is ours. If not, munmap it.
(op_read): Likewise for bp.
(op_readdir): Don't alloca a buffer here. Instead initialize
BUF and BUFSIZE to 0 and let the server (eh, MiG) do it.
munmap BUF before returning.
|
|
* cache.c (scan_creds): Move I inside for-statement.
Replace inner for-loop with a while-loop. New variable
NEXT_I set to I->NEXT, because we might free I.
Set I to NEXT_I at end of while block.
Move update of leastidlastuse inside if block, because
otherwise we will constantly prevent ourself from scanning.
(scan_fhs): Very much the same.
(scan_replies): Likewise. Also free CR.
(check_cached_reply): Make HASH value absolute (as XID can be
negative, and thus the modulus).
Initialize REFERENCES to 1.
|
|
|
|
* cache.c (create_cached_handle): Add comment.
|
|
|
|
* cache.c: Add #include <sys/mman.h> for munmap decl.
|
|
* cache.c (create_cached_handle): Use munmap instead of
vm_deallocate.
|
|
|
|
* loop.c (server_loop): Cosmetic.
|
|
* nfsd.h: Include <rpc/types.h>.
(bool_t, enum_t): Remove typedefs.
|
|
|
|
* nfsd.h (enum_t): New type.
* cache.c: Don't inclide <rpc/auth_unix.h>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|