The NetBSD Project

CVS log for src/lib/libquota/Attic/quota_proplib.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11, Wed Feb 1 05:34:40 2012 UTC (7 years, 9 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-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, 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, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, HEAD
Changes since 1.10: +2 -2 lines
FILE REMOVED

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.10 / (download) - annotate - [select for diffs], Mon Jan 30 16:45:13 2012 UTC (7 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.9: +111 -2 lines
Diff to previous 1.9 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jan 30 16:44:08 2012 UTC (7 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.8: +20 -2 lines
Diff to previous 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 30 06:00:49 2012 UTC (7 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.7: +12 -11 lines
Diff to previous 1.7 (colored)

Remove an old, no longer necessary hack from libquota and handle the
relevant case properly in usr.bin/quota.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 25 01:22:56 2012 UTC (7 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.6: +43 -2 lines
Diff to previous 1.6 (colored)

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

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

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

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 9 15:41:58 2012 UTC (7 years, 10 months ago) by dholland
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (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.4 / (download) - annotate - [select for diffs], Mon Jan 9 15:40:10 2012 UTC (7 years, 10 months ago) by dholland
Branch: MAIN
Changes since 1.3: +413 -42 lines
Diff to previous 1.3 (colored)

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

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

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

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jan 9 15:32:38 2012 UTC (7 years, 10 months ago) by dholland
Branch: MAIN
Changes since 1.1: +14 -6 lines
Diff to previous 1.1 (colored)

Handle default ID case in quota_get(), based on logic found in
/usr/bin/quota.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jan 9 15:27:04 2012 UTC (7 years, 10 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>