The NetBSD Project

CVS log for src/lib/libquota/quotapvt.h

[BACK] Up to [cvs.NetBSD.org] / src / lib / libquota

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Wed Feb 1 05:46:46 2012 UTC (8 years, 4 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, HEAD
Branch point for: yamt-pagecache
Changes since 1.13: +6 -6 lines
Diff to previous 1.13 (colored)

Be consistent about whether idtype and objtype codes are signed or
unsigned. They are signed. (While unsigned might have been a better
choice, it doesn't really matter and the majority of preexisting uses
were signed. And consistency is good.)

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 1 05:34:41 2012 UTC (8 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.12: +33 -34 lines
Diff to previous 1.12 (colored)

Change the syscall API for quotas over to the new non-proplib one.

   - struct vfs_quotactl_args -> struct quotactl_args
   - add sys/stdint.h to sys/quotactl.h for clean userland build
   - install sys/quotactl.h in /usr/include
   - update set lists for same
   - add new marshalling code in libquota
   - add new unmarshalling code in vfs_syscalls.c
   - discard proplib interpreter code in vfs_quotactl.c
   - add dispatching code for the 14 quotactl ops in vfs_quotactl.c
   - mark the proplib quotactl syscall obsolete
   - add a new syscall number for the new quotactl syscall
   - change the name of the syscall to __quotactl()
   - remove the decl of the old quotactl from quota/quotaprop.h
   - add a decl of the new quotactl to sys/quotactl.h
   - update the libc build
   - update ktruss
   - remove proplib marshalling code from libquota
   - update copy of syscall table in gdb ppc sources
   - hack rumphijack to accomodate new quotactl name (as I recall,
     pooka wanted such a name change to simplify something, but I
     don't really see what/how)

This change appears to require a kernel version bump for rumpish
reasons.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jan 30 16:45:13 2012 UTC (8 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.11: +6 -1 lines
Diff to previous 1.11 (colored)

Add quota_quotaon() and quota_quotaoff(). Use them in quotaon(8).

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jan 30 16:44:09 2012 UTC (8 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

Add quota_getrestrictions() to report the semantic restrictions
associated with a particular quotahandle.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jan 25 17:43:37 2012 UTC (8 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.9: +9 -3 lines
Diff to previous 1.9 (colored)

Improve how quota_open() works and generally improve function
dispatching. Allow access to the quota files via the oldfiles code if
quotaon hasn't run yet. Change the latter so it calls getfsent() up
front (and only once) to make it easier to avoid whacking caller
state.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jan 25 01:22:57 2012 UTC (8 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.8: +6 -1 lines
Diff to previous 1.8 (colored)

Move some more stuff technically specific to the proplib kernel
interface into the source file for using the proplib kernel interface.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 9 15:45:19 2012 UTC (8 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.7: +4 -1 lines
Diff to previous 1.7 (colored)

Implement quota_put and quota_delete for the fallback direct file
access backend.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jan 9 15:43:19 2012 UTC (8 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.6: +4 -1 lines
Diff to previous 1.6 (colored)

Implement quota_put() and quota_delete() using code from edquota(8).

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jan 9 15:41:59 2012 UTC (8 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.5: +32 -2 lines
Diff to previous 1.5 (colored)

Implement fallback direct access to quota1-type quota files.
Uses (mostly) code from repquota. Add some missing pieces that
weren't in repquota.

Use the direct file access code for cursors if proplib reports the
quota version is 1.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 9 15:40:10 2012 UTC (8 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.4: +25 -1 lines
Diff to previous 1.4 (colored)

Implement the libquota cursor interface, using proplib code from repquota.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 9 15:34:34 2012 UTC (8 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Implement the schema-related functions, using proplib code from
/usr/bin/quota.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 9 15:31:11 2012 UTC (8 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.2: +5 -1 lines
Diff to previous 1.2 (colored)

Redo getfsquota() and getnfsquota() using the new API.

Change the previous getufsquota() to __quota_getquota() and call it
from all three functions: getfsquota(), getufsquota(), and getnfsquota().

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jan 9 15:29:56 2012 UTC (8 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.1: +9 -1 lines
Diff to previous 1.1 (colored)

Add quota_nfs.c and implement quota_get() for nfs, using
code from getnfsquota().

Also implement quota_getmountdevice().

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jan 9 15:27:04 2012 UTC (8 years, 4 months ago) by dholland
Branch: MAIN

Add initial versions of quota_open(), quota_close(), quota_get(),
calling proplib code mostly taken from getufsquota().

Correct the proplib refcount handling in the code from getufsquota(),
where it was (as far as I can tell) wrong.

Avoid doing illegal and unsafe casts from (struct quotaval *)
to (uint64_t *).

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>