Commit Graph

10385 Commits

Author SHA1 Message Date
rmind f960ba1c63 npfctl: add 'validate' command to check the config, but not load it. Update
the man page.  Also add a small note about 'debug' command, PR/47298.
2012-12-10 02:26:04 +00:00
rmind 7d7f70e66e - npf.conf(5): fix of the example config.
- Mention npf_ext_log in a comment.
2012-12-06 22:36:51 +00:00
blymn 9a57dec753 Fix error message when trying to add a group using -g =uid that
that already exists, the old version printed the wrong GID.
2012-11-28 11:31:27 +00:00
blymn 2da0bfd2ff Google Code In bug fix by Philip Hayes, fixes bin/41049 2012-11-28 11:20:58 +00:00
rmind 5111d7eafd npfctl: extend syntax for extracting interface IP address(es) by the family. 2012-11-26 20:34:28 +00:00
pooka 4037e69f4e Attempt 2 at fixing DragonFly util.h conflicts: include util.h only for
non-tool builds.
(why does the tool build prefer host headers instead of compat headers?)
2012-11-26 20:13:54 +00:00
rmind 4a1b0d45b2 npfctl(8): mention table listing. 2012-11-15 22:22:53 +00:00
rmind b4a9940e50 npfctl: switch to ecalloc(3). 2012-11-15 22:20:27 +00:00
njoly 3373228440 Fix mandoc(1) output, use right arrow special character. 2012-11-14 23:11:27 +00:00
kefren 27b5caabc1 Use local-link address as source for hellos 2012-11-13 06:58:58 +00:00
pgoyette 76b8726c47 Repair another %lu --> %zd - this one was caught by building for
evbmips port
2012-11-13 01:08:51 +00:00
christos c0b74ca714 fix the build; ssize_t is %zd not %lu 2012-11-12 22:51:42 +00:00
wiz 54f8ce07cd New sentence, new line. Bump date for previous. 2012-11-12 22:46:59 +00:00
kefren 6cb0642362 * add initial IPv6 support - still incomplete at this moment, but it sends
out there IPv6 hellos. Interoperability not yet tested.
* sync man page with reality
2012-11-12 18:39:00 +00:00
apb f950d3cf71 The number of active vnodes may grow in between the sysctl call
that figures out the size, and the sysctl call that fetches the data.

Previously, any growth at all would have resulted in this error message:

        pstat: sysctl: KERN_VNODE: Cannot allocate memory

Now allow for growth of 100 vnodes, or 5%, or both.  Growth in
excess of 2% or 6000 vnodes has been observed in practice.  Also
ignore ENOMEM from the second sysctl call, in case the growth was
even more than we anticipated.
2012-11-10 11:01:52 +00:00
christos 98f3134321 If you cannot parse .SH NAME, like in the case of the ksh93 man page
where the .SH is followed by a conditional:

.SH NAME
.if \nZ=0 \{\
text text text
.\}

at least don't core-dump.
2012-11-08 19:17:54 +00:00
dholland cbb9c7214a Minor grammar fix, from Bug Hunting in PR 47159. 2012-11-06 19:08:45 +00:00
rmind 7b016567c0 npfctl: switch to efun(3) routines. 2012-11-05 23:47:12 +00:00
christos 8c13db6ad0 add the headers you need 2012-11-04 22:47:21 +00:00
christos 4f048a363d include the headers you use 2012-11-04 22:46:08 +00:00
christos 24f9b938a0 add missing header 2012-11-04 22:38:19 +00:00
christos 39a3c792a3 include utmpx.h if needed 2012-11-04 22:36:58 +00:00
christos a226200999 include <pwd.h> 2012-11-04 22:32:01 +00:00
christos 1f16d7465e include the headers that you need. 2012-11-04 22:26:04 +00:00
christos c6352516aa include the headers you need 2012-11-04 22:21:11 +00:00
apb f669c7071f Add references to ${_NETBSD_VERSION_DEPENDS} for files that
need to be re-created when the NetBSD version changes.  They
will also be re-created when any build settings are changed.
2012-11-04 11:12:31 +00:00
christos 599362a983 put in /sbin 2012-11-01 03:21:49 +00:00
martin 73809d4025 gcc 4.1 is not smart enough to notice "arg" is only used when initialized
correctly and produces a "might be used unintialized" warning.
2012-10-31 08:54:39 +00:00
wiz 4aa4bc5963 Remove trailing whitespace. 2012-10-30 23:03:02 +00:00
rkujawa 6ee58bf1d4 Note enchancements that appeared in NetBSD 6.0. 2012-10-30 21:24:26 +00:00
rmind 64647e51e4 Implement NPF table listing and preservation of entries on reload.
Bump the version.
2012-10-29 02:27:11 +00:00
rmind 3ed953299c Fix for npfctl show case. Improve some description while here. 2012-10-28 16:27:20 +00:00
seanb c3008a4839 Ensure entire sockaddr_dl is obtained. May not have
been the case previously for interfaces with long names.
2012-10-26 16:52:52 +00:00
martin 2900740595 Make warnings non fatal for older gcc versions - I couldn't figure out how to
shut up gcc when compiling for vax. Feel free to fix differently if you
find a better solution.
2012-10-25 15:14:36 +00:00
drochner 16e95cd0dc avoid dummy structure definition, include a system header instead,
looks just cleaner
2012-10-17 20:22:15 +00:00
plunky 048d95d5ff no trailing comma on enum 2012-10-14 08:35:45 +00:00
plunky c61317e3bf add code to ensure that SO_SNDBUF is large enough on client connections,
as was previously done for server mode
2012-10-14 08:31:35 +00:00
christos 0b112faa75 disable encoding of globbing characters for now. 2012-10-07 18:40:49 +00:00
wiz b1203a9851 Make mandb path configurable. makemandb (and related tools) use
the path from the _mandb variable from man.conf now.

Set _mandb in man.conf to same value as was used before.

From Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>.
2012-10-06 15:33:59 +00:00
msaitoh 8edba753e8 RFC 5848 2012-10-05 16:15:45 +00:00
wiz c4b7eb510b Sync usage with man page. 2012-10-05 09:18:08 +00:00
wiz 324794350b Fix typos; remove trailing whitespace; add missing options to SYNOPSIS. 2012-10-05 09:18:02 +00:00
wiz 519eb1daa9 Fix typo in comment. 2012-10-05 09:17:29 +00:00
christos b73d92b069 Implement FreeBSD's "nochange" keyworld which causes the existance of a
filesystem object to be checked but none of its attiributes.(brooks)
2012-10-05 01:31:05 +00:00
christos 23fe062937 Implement FreeBSD's "nochange" keyworld which causes the existance of a
filesystem object to be checked but none of its attributes. (brooks)
2012-10-05 01:30:36 +00:00
christos 1529f30b49 Encode literal global characters in files. Otherwise the results of
updating a directory using the resulting spec will be surprising.

See http://svnweb.freebsd.org/base/head/usr.sbin/mtree/test/test00.sh
for test cases.
(brooks)
2012-10-05 01:28:20 +00:00
christos 14b8803532 NetBSD needs <time.h> 2012-10-05 01:27:29 +00:00
christos 9e84d4e8c2 Implement FreeBSD's -f spec1 -f spec2 spec comparision function. This
is more useful than -C and diff because it highlights the keys that have
changed value so for example, you can see that the size of a file has
not changed but the contents have. (brooks)
2012-10-05 01:26:56 +00:00
christos d07df9451a Allow uid and uname or gid and gname to both be printed while
preserving the behavior of falling back to [ug]id when the name is not
resolvable. (brooks)
2012-10-05 01:21:44 +00:00
christos 09b2a8d434 clarify seconds.09nanoseconds format (brooks) 2012-10-05 01:19:54 +00:00