Commit Graph

11428 Commits

Author SHA1 Message Date
hannken
dcc198a3f8 Move vnode member v_mntvnodes as vi_mntvnodes to vnode_impl.h.
Add an ugly hack so pstat.c may still traverse the list.
2017-01-11 09:07:57 +00:00
christos
103b31ec3d more todo 2017-01-11 02:13:54 +00:00
christos
f07757667e Don't silently take the first element of multiple element variables. 2017-01-11 02:11:21 +00:00
christos
5da201fb8b fix hint. 2017-01-11 02:10:44 +00:00
christos
6aea766547 need <time.h> for clock_gettime 2017-01-10 21:07:17 +00:00
christos
9009c648c6 need <sys/stat.h> 2017-01-10 21:04:06 +00:00
christos
59d9f8355d need <sys/types.h> 2017-01-10 21:03:36 +00:00
christos
22e2f96812 need <sys/stat.h> 2017-01-10 20:57:26 +00:00
christos
0f64b50934 need <sys/stat.h> for chmod(2) 2017-01-10 20:56:41 +00:00
ozaki-r
26e6c607e9 Don't give up just because inet6 sysctl knobs aren't available
It can happen normally, for example run a kernel without INET6 or
run a rump_server without librumpnet_netinet6.so.
2017-01-10 05:43:27 +00:00
kamil
2fe964ca6f Include <unistd.h> for R_OK W_OK STDOUT_FILENO access(2)
These symbols are undefined after switch to new zlib.
2017-01-10 04:34:07 +00:00
kamil
1eec2c6197 Include missing header <unistd.h> for write(2) read(2) close(2)
These functions are undefined after switch to new zlib.
2017-01-10 04:27:02 +00:00
christos
3b9bb00dc5 don't try to install rc scripts for programs not installed 2017-01-09 19:51:31 +00:00
wiz
33271d5eb0 Whitespace, fix xref, remove unnecessary macro, sort SEE ALSO. 2017-01-08 13:59:53 +00:00
christos
09e56bb693 add nsd 2017-01-07 19:55:35 +00:00
christos
b083914cc2 add example. 2017-01-07 18:48:47 +00:00
christos
3f2d359121 descend to npfd 2017-01-07 17:27:02 +00:00
christos
cec127882c add man page, lint cleanups. 2017-01-07 16:48:03 +00:00
christos
177e6c06dd restrict permissions on log file 2017-01-07 16:36:54 +00:00
christos
9ed7390988 Add log validation 2017-01-06 19:20:24 +00:00
christos
d20e855db5 don't try to run a non-existing nbcat 2017-01-06 17:25:32 +00:00
christos
83809af30d set the timeout to 1 second so we can see packets flowing in real time. 2017-01-05 16:23:31 +00:00
rmind
f095afd741 npfctl: dynamic interface address handling; update npf.conf(8). 2017-01-03 01:29:49 +00:00
jnemeth
5c7485e31c add rtsold to rc_obsolete_files :-( 2017-01-03 00:35:07 +00:00
christos
d8571daf5b flesh this out more. 2016-12-30 19:55:46 +00:00
rmind
f97363cc85 Improve 'npfctl debug' a little bit. 2016-12-29 20:48:50 +00:00
christos
f069472cf9 starts running 2016-12-28 03:02:54 +00:00
christos
204834d4f3 Add some flesh. 2016-12-28 01:25:48 +00:00
rmind
8334b9bc82 npf.conf: add support for logical NOT, e.g.: pass from ! 10.0.0.1 to any 2016-12-27 22:35:33 +00:00
rmind
61e84d3fc1 Add some very preliminary npfd(8) code. 2016-12-27 22:20:00 +00:00
christos
bc388aee45 Document list 2016-12-27 20:55:11 +00:00
wiz
00bae140fd Sort options in usage. 2016-12-27 20:24:32 +00:00
christos
a0cedf0df5 Add a list command to iterate over connection and nat endpoints. 2016-12-27 20:14:35 +00:00
christos
ef70bf3819 We don't use openssl for NPF in NetBSD, so don't include the header, and
provide a compatibility define.
2016-12-27 13:43:38 +00:00
christos
f75d79eb69 Sync NPF with the version on github: backport standalone NPF changes,
which allow us to create and run separate NPF instances. Minor fixes.
(from rmind@)
2016-12-26 23:05:05 +00:00
abhinav
93422f00ef Remove xref to signal(7).
As noted by wiz, it is probably not a good idea to mention signal(7) in SEE ALSO
every time a signal name is used in a man page.
2016-12-24 08:26:57 +00:00
mrg
0537635d0c for 64 bit mips platforms where we built userland largely as n32 by
default, build a handful of tools as n64 so they work properly.

unfortunately, they're also static as dynamic n64 has a problem.

of these tools pstat is probably the lowest hanging fruit to convert
to sysctl.  systat would be close were it not for the netstat screen,
which includes netstat itself.

the rest are difficult to perhaps foolish.


the upside is that netstat, pmap and fstat all work properly now.
2016-12-23 10:19:57 +00:00
abhinav
c8a3a46962 Add xrefs to ipsec_set_policy(3) and signal(7) 2016-12-22 09:44:56 +00:00
wiz
154b520e6c New sentence, new line. 2016-12-21 22:49:14 +00:00
abhinav
fe663009fc Move information about exit status to its own section. 2016-12-21 17:45:07 +00:00
abhinav
2abbc56adb s/results/result
Also remove .Pp before .Bl
2016-12-21 17:29:22 +00:00
abhinav
585f9e85b5 Add xref for ethers(5) and hosts(5).
Remove extra white space in the middle of a sentence.
Use more markup for AUTHORS section.

ok wiz@
2016-12-21 12:03:48 +00:00
abhinav
01c3d3dc7f Escape hyphen when parsing .Nd 2016-12-19 14:10:57 +00:00
riastradh
513e90a6d7 Need <stdint.h> for uintmax_t.
From debidi in #netbsd on Freenode.
2016-12-18 18:32:24 +00:00
abhinav
e4137a4e3a Don't ignore symlinks.
There can be symlinks which are pointing to man pages not installed in
one of the _default locations mentioned in man.conf or MANPATH. For example
there are man pages in /usr/pkg/man which are symlinked to pages in
/usr/pkg/lib/perl5/man. If we ignore symlinks, we would not be able to
index such pages installed outside the default set of directories.

(Also, the symlink test was incorecct, so we never noticed this issue)

Ok christos@, wiz@
2016-12-17 17:04:38 +00:00
ozaki-r
0739b470cb Support -p <pidfile> option
It's needed to avoid using /var/run/rtadvd.pid on ATF tests and
run multiple instances of rump.rtadvd on a test.
2016-12-16 09:09:38 +00:00
mrg
f1582e88f7 scandir/alphasort take "const struct dirent **" not "const void *" in
modern unix.  since we claim to be 'IEEE Std 1003.1-2008', make it so.
2016-12-16 04:45:04 +00:00
roy
87cdadbd3f ping is not a reliable means of testing if connectivity to download sets
actually works, so remove it.
Hopefully fixes PR kern/51531.
2016-12-13 19:03:49 +00:00
alnsn
66e93929b7 Add aes-xts to sysinst(8). 2016-12-11 00:56:34 +00:00
mrg
0ef38b0092 note that crash/sparc is unstable 2016-12-10 23:21:02 +00:00