summaryrefslogtreecommitdiff
path: root/nfsd
AgeCommit message (Collapse)Author
2007-11-132007-11-13 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* ops.c (complete_setattr): Adapt to ``struct stat'' changes. * xdr.c (encode_fattr): Likewise.
2006-03-142006-03-15 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* loop.c (server_loop): Fix invalid lvalues.
2002-09-292002-09-29 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* 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.
2002-05-29.Roland McGrath
2002-05-292002-05-29 Roland McGrath <roland@frob.com>Roland McGrath
* nfsd.h (struct proctable): [0] -> [], for newfangled GCC.
2002-05-08.Roland McGrath
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* main.c (main): Cast int to intptr_t before any_t.
2002-05-08.Roland McGrath
2002-05-082002-05-07 Roland McGrath <roland@frob.com>Roland McGrath
* loop.c (server_loop): size_t -> socklen_t * cache.c (fh_hash): int -> intptr_t
2002-05-03.Roland McGrath
2002-05-032002-05-03 Roland McGrath <roland@frob.com>Roland McGrath
* main.c: Include <error.h>. * fsys.c: Likewise.
2002-03-26*** empty log message ***Neal H. Walfield
2002-03-262002-03-23 James A. Morrison <ja2morri@uwaterloo.ca>Neal H. Walfield
* 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.
2001-02-26.Roland McGrath
2001-02-262001-02-25 Roland McGrath <roland@frob.com>Roland McGrath
* ops.c: Include <string.h> for decls of built-ins.
2000-12-022000-12-02 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* 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.
2000-12-012000-12-01 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* 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.
2000-03-17*** empty log message ***Thomas Bushnell
2000-03-172000-03-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* cache.c (create_cached_handle): Add comment.
1999-07-11.Roland McGrath
1999-07-111999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* cache.c: Add #include <sys/mman.h> for munmap decl.
1999-07-031999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* cache.c (create_cached_handle): Use munmap instead of vm_deallocate.
1998-12-20.Roland McGrath
1998-12-201998-12-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* loop.c (server_loop): Cosmetic.
1998-12-201998-12-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* nfsd.h: Include <rpc/types.h>. (bool_t, enum_t): Remove typedefs.
1998-10-20Add braces to silence gcc warnings.Roland McGrath
1996-10-08Thu Sep 26 14:09:20 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* nfsd.h (enum_t): New type. * cache.c: Don't inclide <rpc/auth_unix.h>.
1996-09-17*** empty log message ***Thomas Bushnell
1996-09-04*** empty log message ***Thomas Bushnell
1996-08-14*** empty log message ***Thomas Bushnell
1996-08-13*** empty log message ***Thomas Bushnell
1996-08-12*** empty log message ***Thomas Bushnell
1996-08-07*** empty log message ***Thomas Bushnell
1996-08-07*** empty log message ***Thomas Bushnell
1996-07-18*** empty log message ***Michael I. Bushnell