Home | History | Annotate | Download | only in rpc.rquotad
History log of /src/libexec/rpc.rquotad/rquotad.c
RevisionDateAuthorComments
 1.33  18-Mar-2014  gson Delay daemonization until RPC services have been registered.
Fixes one of the race conditions of PR misc/48282.
 1.32  09-Jan-2012  dholland branches: 1.32.6;
Update rquotad to use the new libquota API.
 1.31  25-Nov-2011  dholland Rename struct ufs_quota_entry -> struct quotaval.
 1.30  16-Sep-2011  plunky branches: 1.30.2;
NULL does not need a cast, here
 1.29  30-Aug-2011  plunky Apply casts to cases where xdrproc_t is expected but is not
strictly passed, for example because the second argument is
a different kind of pointer.
 1.28  27-Aug-2011  joerg staticfy. Use __dead.
 1.27  24-Mar-2011  bouyer Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)
 1.26  12-Mar-2011  bouyer Define qfextension here
 1.25  06-Mar-2011  bouyer merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.24  16-Mar-2009  lukem branches: 1.24.2;
WARNS=4
 1.23  09-May-2006  mrg branches: 1.23.28;
change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
 1.22  07-Sep-2004  jrf Replaced strncpy with strlcpy. Thanks to Peter Postma who
pointed them our in PR #25762. Approved by christos@NetBSD.org.
 1.21  20-Sep-2003  bouyer memset(0) ext_getq_args before use. Should fix bin/22592 by Mark Davies.
 1.20  14-Feb-2003  bouyer Implement rquota RPC version 2, compatible with the linux implementation,
as proposed on tech-userlevel on Dec 06 2002. This allows to retrieve
group quota informations from NFS servers.
 1.19  09-Jun-2002  bouyer Make this file explicitely public domain.
 1.18  05-Jun-2002  itojun g/c unused function, which uses TS RPC.
 1.17  10-Jan-2001  lukem use LOG_WARNING instead of LOG_ERR for non critical errors
 1.16  03-Jun-2000  fvdl Missed a pmap_unset -> rpcb_unset change.
 1.15  03-Jun-2000  fvdl Adapt for TI-RPC.
 1.14  29-Nov-1999  pk branches: 1.14.2;
No need for <varargs.h> here.
 1.13  31-Jan-1999  mrg branches: 1.13.6;
do not use LOG_CONS.
 1.12  10-Aug-1998  perry bzero->memset, bcopy->memcpy, bcmp->memcmp
 1.11  03-Jul-1998  mrg KNF, and use MOUNT_FFS over "ffs"
 1.10  21-Jan-1998  lukem * store st_dev of filesystem not quotafile. (inspired by an openbsd commitmsg)
* minor KNF, fix typos, use strchr() not index()
* check return value of malloc() and use strdup() where appropriate
 1.9  07-Oct-1997  mrg WARNS?=1. RCS ids. cleanup a little.
 1.8  25-Aug-1997  kleink Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
use SEEK_SET/SEEK_CUR/SEEK_END instead.
 1.7  30-Aug-1996  thorpej RCS id police.
 1.6  01-Feb-1996  jtc Fixed to use ffs instead of ufs; See PR #1984
 1.5  12-Apr-1995  jtc branches: 1.5.2;
#include <sys/signal.h> -> <signal.h>
 1.4  13-Jan-1995  mycroft Free argument list (for !from_inetd case). General cleanup.
 1.3  13-Jan-1995  mycroft Correct calling sequence of getsockname(2).
 1.2  23-Dec-1994  cgd be a bit more careful with types, casts, and and function declarations.
 1.1  24-Jun-1994  deraadt from bouyer@ensta.fr; cleaned by me
 1.5.2.1  01-Feb-1996  jtc ufs -> ffs change from main branch
 1.13.6.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.14.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.23.28.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.24.2.2  14-Feb-2011  bouyer The rpc.rquotad protocol uses the legacy definitions and integer types.
Convert from/to dqblk using the quota1_subr.c routines to have the
necessery convertions done.
 1.24.2.1  08-Feb-2011  bouyer Convert to new quotactl interface
 1.30.2.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.30.2.1  17-Apr-2012  yamt sync with head
 1.32.6.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.

RSS XML Feed