summaryrefslogtreecommitdiff
path: root/nfsd/ops.c
AgeCommit message (Collapse)Author
2013-11-21nfsd: fix error handling in op_removeJustus Winter
Found using the Clang Static Analyzer. * nfsd/ops.c (op_remove): Fix error handling.
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.
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.
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.
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-07*** empty log message ***Thomas Bushnell
1996-07-18*** empty log message ***Michael I. Bushnell