Commit Graph

10132 Commits

Author SHA1 Message Date
wiz 0409c3f975 No leading zeroes in date. 2012-02-07 21:02:33 +00:00
wiz 1507c42b9a No leading zeroes in date. New sentence, new line. 2012-02-07 21:02:23 +00:00
joerg 329b37d502 Fix C&P error with $NetBSD$ 2012-02-07 19:17:16 +00:00
joerg 410d0f4380 Import the new apropos/whatis.
This code has been developed by Abhinav Upadhyay as part of Google's Summer
of Code 2011. It uses libmandoc to parse man pages and builds a Full
Text Index in a SQLite database. The combination of indexing the full
manual page, filtering out stop words and ranking individual matches
based on the section gives a much improved user experience.

The old makewhatis and friends are kept under MKMAKEMANDB=no for now.
2012-02-07 19:13:24 +00:00
rmind 4d11ce4d7b Fix the family option in the grammar and example. 2012-02-06 00:41:36 +00:00
rmind d47695fbde - Handle NPF rule procedures in the parser and thus re-enable them.
- Few small updates to the man page.
2012-02-06 00:37:52 +00:00
dholland 430a952206 Remove unneeded #include. 2012-02-05 14:14:44 +00:00
rmind f7fec0d2a4 Multiple NPF fixes, add better error reporting from kernel side, add some
asserts, bump the version.
2012-02-05 00:37:13 +00:00
joerg 520acca96b Mark perfused_panic as dead. Canonical form of infinite loops is
for (;;). Remove completely redundant NOTREACHED markers.
2012-02-04 18:36:30 +00:00
pgoyette 460ef57533 Add missing period at end of sentence.
ok releng@
2012-02-04 18:25:53 +00:00
manu 9724ab82d4 Make sure perfused exit when the filesystem crashed, so that unmount
is done. Failure to do so caused deadlocks, with operation that
held a lock on the root vnode and got stuck in perfused forever.

Approved by releng.
2012-02-03 15:54:15 +00:00
yamt e119700586 use a correct macro.
releng@ ok
2012-02-03 05:06:51 +00:00
matt ded3ab848b Make this compile on vax (uninitialized use warning). 2012-02-02 03:00:48 +00:00
dholland a577f74f5b libquota no longer requires libprop. Also remove some other no-longer-used
.PATH'd-in bits from repquota.
2012-02-01 17:53:01 +00:00
dholland fb3f26c0cf Simplify elaborate calls to quota_check_limit(). 2012-02-01 17:48:10 +00:00
wiz 243adb95c2 Bump date for previous. 2012-02-01 09:30:01 +00:00
dholland f9735fd481 Reimplement repquota -x to print in tabular form instead of XML. 2012-02-01 05:12:45 +00:00
dholland f2da15f559 Remove unwanted decl of the old quotactl syscall. 2012-02-01 05:07:08 +00:00
mlelstv 780696aa56 Enable build of crash(8) for m86k platforms. 2012-01-31 21:17:57 +00:00
christos 109f5fba24 - remove dup included files
- use intptr_t instead of long where appropriate
- use perfused_ instead of perfuse_ for our own functions.
- more static
Fixes namespace collision of perfuse_mount with this and libperfuse.
2012-01-30 22:49:03 +00:00
dholland 56581d9c24 Needs its own copy of quotaprop.[ch] too. 2012-01-30 19:31:31 +00:00
dholland 2d9ddf6e73 Make it build in userlevel and hook it in. 2012-01-30 19:28:11 +00:00
dholland 89dd9c69f6 Add a copy of the proplib interpreter here so this program will
continue to work after it's removed from the kernel. This copy is
unchanged from sys/kern/vfs_quotactl.c except that I've preserved a
cop of the old rcsid.
2012-01-30 19:23:49 +00:00
dholland 3e2a4d1109 Remove dependence on quotaprop.h, also quotautil.c (no longer used).
Like repquota, compile in the number of object types for now because
making it support an arbitrary number would take some hacking.
2012-01-30 19:19:20 +00:00
dholland 6a92ecbca0 Rely on libquota for fallback to direct access of old-style quota files.
Keep the code around in #if 0 blocks for now, just in case some of the
logic might turn out to be wanted in libquota.
2012-01-30 19:18:36 +00:00
dholland 9aec0f661d Remove references to -D option. 2012-01-30 19:17:29 +00:00
dholland eba182257f Don't use the old getvfsquota() here. 2012-01-30 19:16:36 +00:00
dholland 5f0d2c5f55 Add quota_quotaon() and quota_quotaoff(). Use them in quotaon(8). 2012-01-30 16:45:13 +00:00
darrenr 14e440d33e New files imported from IPFilter 5.1.1 need to be added. 2012-01-30 16:13:21 +00:00
wiz f4788d8f8e New sentence, new line. Remove trailing whitespace.
Bump PKGREVISION for previous.
2012-01-29 11:32:23 +00:00
dholland 60d82a4ef2 Fix unsightly botch in repquota's heading output. 2012-01-29 07:23:52 +00:00
dholland f0f8fe3be2 Rename static inline "helper" functions:
ufsclass2qtype -> quota_idtype_to_ufs
   qtype2ufsclass -> quota_idtype_from_ufs

The reason for the direction of "ufs" changing is that the old names
were among the symbols using "ufs" to mean "fs-independent". So the
old names were for translating "ufsclass" (fs-independent quota id
type) to "qtype" (ufs-specific quota id type) and vice versa.

These functions are used in only two places, both of which are
inappropriate, so at some point they should probably be removed.
They're also identity transformations so not particularly helpful,
unless one were to make a careful and concerted effort to distinguish
the ufs quota code numbers from the fs-independent ones. This has not
been done and is probably impossible without support from a program
verifier, and maybe not even then.

They are static inline, so no compat concerns arise.

Also adjust the symbols they use to avoid <quota/quotaprop.h>.
2012-01-29 07:16:00 +00:00
dholland 7950da9e90 Change dqblk_to_quotaval() from quota1_subr.c to dqblk_to_quotavals(),
and pass in two single quotaval structs (for blocks and inodes)
instead of an array of (implicitly) QUOTA_NLIMITS quotaval structs
indexed by constants from quotaprop.h.

Note: because this code is used by COMPAT_50 as well as ufs, this
change requires a kernel version bump. (The code is also used by
edquota, but via .PATH so it's not ABI-sensitive there.)
2012-01-29 06:23:20 +00:00
manu 8fcbc70792 Improve FUSE trace facility 2012-01-29 06:22:01 +00:00
christos f1cc09510d Patch from Jung-uk Kim (jkim at FreeBSD dot org) to allow contents of multiple
directories to be merged to the current image.
2012-01-28 02:35:46 +00:00
dholland 738d51f0ef attribute noreturn -> __dead 2012-01-25 01:28:40 +00:00
dholland b483fd9867 More cleanup of repquota. For now we're going to compile in the number
of possible ID and object types, as making those numbers non-constant
requires a major rework.

This removes all dependence on quotaprop.h except for the code for
dumping the quota information as a blob of quota RPC XML packets. That
needs to go too and be replaced with a tabular dump format, but one
thing at a time.
2012-01-25 01:24:53 +00:00
jakllsch c53184c92c Ensure psshfs_node_read() completely reads all data before return.
Fixes file corruption in psshfs exposed with kernel MAXPHYS at 128KiB.
2012-01-20 22:07:58 +00:00
skrll 3ddf4f6f16 Support crash(8) on hppa. 2012-01-18 09:35:48 +00:00
skrll 145bbccc40 Remove workaround for old binutils. 2012-01-17 18:44:24 +00:00
joerg 5454e8a044 Rename perfuse_mount to not conflict with libperfuse. Mark it and
perfuse_trace as static.
2012-01-17 17:58:36 +00:00
christos 7f5fd4a5cd PR/45842: Henning Petersen: compare fgets with NULL not 0 2012-01-16 17:38:16 +00:00
rmind 4b85474b41 - Expire all sessions on flush.
- Enable checking for zero mask in IP{4,6}MATCH after npfctl changes.
- Make locking symmetric for npf_ruleset_inspect().
- Sync function prototypes in npf(3) man page with reality.
- Rename NPF_TABLE_RBTREE to NPF_TABLE_TREE.
2012-01-15 00:49:47 +00:00
wiz ee2d01f9ba Sort sections. Uppercase CPU. 2012-01-14 00:59:56 +00:00
cegger a3f6c06746 Support CPU microcode loading via cpuctl(8).
Implemented and enabled via CPU_UCODE kernel config option
for x86 and Xen Dom0.
Tested on different AMD machines with different
CPU families.

ok wiz@ for the manpages
ok releng@
ok core@ via releng@
2012-01-13 16:05:14 +00:00
christos a079a21d6c handle variables that contain variables 2012-01-12 20:41:33 +00:00
joerg 4c70cdf100 Use __dead 2012-01-10 23:39:11 +00:00
skrll 71f408f0ea Update for hp700. Bump date. 2012-01-09 19:40:09 +00:00
skrll 4d8cde761c s/ISO9660/ISO 9660/ for consistency with rest of man page. 2012-01-09 19:39:18 +00:00
dholland 1d7acc6b80 "quotaclass" -> "idtype". After lengthy wrangling on the mailing lists
the best conclusion for naming was to give up on "classes" and "types"
and use "idtype" for users vs. groups and "objtype" for blocks vs. files.
2012-01-09 15:44:42 +00:00