Home | History | Annotate | only in /src/libexec/rpc.rquotad
History log of /src/libexec/rpc.rquotad
RevisionDateAuthorComments
 1.11 03-Jun-2023  lukem bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.10 13-Oct-2019  mrg introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
 1.9 01-Feb-2012  dholland branches: 1.9.40;
libquota no longer requires libprop. Also remove some other no-longer-used
.PATH'd-in bits from repquota.
 1.8 24-Mar-2011  bouyer branches: 1.8.4;
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.7 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.6 08-Oct-1997  mrg branches: 1.6.64;
merge lite-2 Makefiles (rcsids), and turn on WARNS for all of libexec.
 1.5 07-Oct-1997  mrg WARNS?=1. RCS ids. cleanup a little.
 1.4 30-Aug-1996  thorpej RCS id police.
 1.3 12-Apr-1995  jtc Install manpage as foo(8) as well as rpc.foo(8), a convenient shorthand.
Also make sure that foo and rpc.foo are mentioned in the NAME section.
 1.2 25-Dec-1994  pk Define `MAN'.
 1.1 24-Jun-1994  deraadt from bouyer@ensta.fr; cleaned by me
 1.6.64.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.6.64.1 08-Feb-2011  bouyer Convert to new quotactl interface
 1.8.4.1 17-Apr-2012  yamt sync with head
 1.9.40.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.10 01-Sep-2025  riastradh rpc.rquotad(8): Document security limitation.

Obviously nobody wants to fix this so it hurts users more to keep it
secret than to just document the information and let users make
informed decisions based on that.

PR bin/45005: rpc.rquotad does no access checks
 1.9 10-Dec-2003  agc Modify the licences of code written by Theo De Raadt from a 4-clause
to a 2-clause licence (retaining UCB clauses (1) and (2)), per PR
22409 from Joel Baker, approved by Theo de Raadt, and ratified by
myself - the only discrepancy being the handling of the original
clause 3 in src/usr.sbin/yppoll/yppoll.c.
 1.8 14-Feb-2003  bouyer Remove bug section, we now support group quotas.
 1.7 15-Jan-2002  wiz Whitespace nits, sort sections.
 1.6 22-Mar-1999  garbled More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.
 1.5 06-Feb-1998  perry macroize BSD, NetBSD, FreeBSD and misc cleanup
 1.4 20-Oct-1997  enami Fix .Nm usage.
 1.3 30-Aug-1996  thorpej RCS id police.
 1.2 12-Apr-1995  jtc Install manpage as foo(8) as well as rpc.foo(8), a convenient shorthand.
Also make sure that foo and rpc.foo are mentioned in the NAME section.
 1.1 24-Jun-1994  deraadt from bouyer@ensta.fr; cleaned by me
 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