Commit Graph

13489 Commits

Author SHA1 Message Date
wiz 6595bf8f10 Sort sections. Fix macro usage. 2017-07-13 10:59:53 +00:00
maxv 138795e97b Update. 2017-07-12 17:38:15 +00:00
maxv 25d629d753 Properly handle overflows, and take them into account in userland. 2017-07-12 17:33:29 +00:00
maxv e0e9462ba4 Build the pmc tool on amd64. 2017-07-12 17:10:09 +00:00
sjg 3dd087f31b Ensure that command output is always followed by newline,
even when filemon is not being used.

Tweak MAKE_META_IGNORE_PATTERNS matching to avoid using path name
with :L as it does not handle ':' in path names.

fgetLine: an extra check to avoid shrinking the buffer.
2017-07-09 04:54:00 +00:00
jmcneill dfe9578fbd Load address is not required for "ramdisk" images. 2017-07-05 01:09:17 +00:00
mlelstv 245a1a4599 Use I/O timestamps to compute disk statistics for better precision.
Disk statistics are collected in a fixed size array, that got corrupted
when a disk was detached. Adapt by skipping entries of detached disks
and detect reused disknames at the array end.
2017-07-04 21:19:33 +00:00
wiz 6f62608235 Use more macros. 2017-07-04 07:07:23 +00:00
wiz 40396b53cb Add EXIT STATUS section. Use Ex. 2017-07-04 07:01:07 +00:00
wiz 0aaaa77458 Add EXIT STATUS section. Use Ex. Remove duplicate RCS Id. 2017-07-04 07:00:30 +00:00
wiz 39aca47cc7 Add EXIT STATUS section. Use Ex. 2017-07-04 06:59:34 +00:00
wiz 99a393ce51 Add EXIT STATUS section. Use Ex. New sentence, new line. 2017-07-04 06:58:55 +00:00
wiz 01869ca4d2 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
jnemeth fd16d76322 Only 35 years late. 2017-07-02 08:25:52 +00:00
ozaki-r 5bd67db98a Tweak outputs of netstat -s for IPsec
- Get rid of "Fast"
- Use ipsec and ipsec6 for titles to clarify protocol
- Indent outputs of sub protocols

Original outputs were organized like this:

(Fast) IPsec:
IPsec ah:
IPsec esp:
IPsec ipip:
IPsec ipcomp:
(Fast) IPsec:
IPsec ah:
IPsec esp:
IPsec ipip:
IPsec ipcomp:

New outputs are organized like this:

ipsec:
	ah:
	esp:
	ipip:
	ipcomp:
ipsec6:
	ah:
	esp:
	ipip:
	ipcomp:
2017-06-29 07:15:27 +00:00
dholland 8d1c7950e6 Improve description of -V. Can probably be improved further. 2017-06-22 13:42:09 +00:00
wiz a726a39b89 Whitespace fixes. 2017-06-22 13:34:13 +00:00
dholland af10ba7a81 Document what the magic variable .MAKE.EXPAND_VARIABLES actually does. 2017-06-22 13:21:21 +00:00
abhinav 95487f06f5 Fix typo 2017-06-20 15:50:04 +00:00
christos 6b4650c2c5 Add -v variable that always expands variables; restore -V the way it was. 2017-06-19 19:58:24 +00:00
christos 5c6ef1cc66 make the code look like to 1.266 2017-06-19 15:49:21 +00:00
christos 0d284700aa Remove previous variable expansion code; sjg had already added the code to
do it. Note that the manual page already documents this behavior and does
not need to change:

	-dV -V VAR:	prints the raw variable
	-V VAR:		prints the expanded variable
2017-06-19 14:59:06 +00:00
christos a8ded88f7a a variable that starts with \\ is not expanded. 2017-06-17 19:59:28 +00:00
christos 72acc73554 simplify 2017-06-17 16:34:07 +00:00
christos bd56310bf6 -V: try to expand the variable again if the value contains a variable. 2017-06-17 15:49:56 +00:00
christos 20a3c31620 move some code out of the gigantic main function; no functional change. 2017-06-17 15:26:50 +00:00
christos c8eb41c615 un-c99 2017-06-16 02:01:10 +00:00
christos 8090156fb8 Bump for quoting makeoptions with multiple lines. 2017-06-16 00:10:09 +00:00
christos f3bbdc592c Allow multiline makeoptions to work by quoting the newline.. 2017-06-15 23:52:15 +00:00
maxv fb196e084a Check argc, and add a message. 2017-06-14 17:54:01 +00:00
christos edba12e937 PR/52295: Anthony Mallet: find -delete: "relative path not safe" with absolute
paths ... Fix from OpenBSD
2017-06-13 13:10:32 +00:00
chs ffdbc0ccea rearrange sys/mount.h so that all of the kernel-only parts are together
and not exposed to userland, except do expose struct mount if __EXPOSE_MOUNT
is defined.  define __EXPOSE_MOUNT in the kmem grovellers that want
the definition.  needed for ZFS.
2017-06-09 00:13:29 +00:00
abhinav 12e252e9b3 Fix typo: s/compatability/compatibility/ 2017-06-04 08:48:05 +00:00
mrg e9aad8d696 avoid assert() and simply return errors. 2017-06-03 21:31:14 +00:00
mrg 99f85f4578 update copyright strings. 2017-06-03 21:28:48 +00:00
maya f4f257830c Don't prefix include guards by _, suggested by riastradh 2017-05-31 22:02:06 +00:00
maya 42fe4e0ac7 The previous change might actually be less generic.
prepend by _MAKE, to be sure.
2017-05-31 21:15:47 +00:00
maya 0de6456123 Use less generic include guards 2017-05-31 21:07:03 +00:00
riastradh ef315f7931 Remove MKCRYPTO option.
Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export.  The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.

In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated.  I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.

The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.

My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.

As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:

https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html

P.S.  Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet...  That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.
2017-05-21 15:28:36 +00:00
abhinav ae7adf81e7 Correct the man page reference 2017-05-18 16:33:57 +00:00
roy 12d2934b32 _ti_database now includes the database extension so don't duplicate it. 2017-05-16 09:21:54 +00:00
sevan 1f7af9ec92 Remove more _KERNTYPES definitions in rump components. 2017-05-11 13:20:02 +00:00
sevan 6b31f116cc With the removal of HAVE_REGISTER_T from rumpuser_port.h, _KERNTYPES does not
need to be defined. This allows register_t to be typedef'd to RUMP_REGISTER_T
without conflict, as highlighted in PR kern/52206.
2017-05-11 04:33:14 +00:00
sjg cd14dec36c Main_SetObjdir: ensure buf2 is in scope 2017-05-10 22:26:14 +00:00
sevan 979875ac74 Revert previous change so builds can resume.
_KERNTYPES needs to be defined for NetBSD builds to succeed.
_KERNTYPES must not be defined for buildrum.sh builds to succeed.
2017-05-10 08:48:46 +00:00
sevan 9204518573 Do not define _KERNTYPES as this breaks build with buildrump.sh due to
conflicting types for register_t.
Closes PR kern/52206
Steered in the right direction by christos.
2017-05-10 01:11:51 +00:00
christos 9a21bc9318 fix the tools build. reported by Utkarsh Anand 2017-05-05 12:21:28 +00:00
roy 55c5fc2560 Remove __VALGRIND__ guard .... just clean up. 2017-05-04 14:07:33 +00:00
roy e04b9c5743 Whitespace and formatting. 2017-05-04 13:53:36 +00:00
abhinav 5652c781e4 Teach man -p to respect the MANPATH environment variable and the -M option.
Currently, `man -p` generates its output based on the value of the _default tag
in man.conf. However, man(1) modifies its search path based on the value of the
MANPATH variable and the list of directories specified via the -M option. In such
a case, `man -p` does not represent the correct search path. This commit intends
to fix this.

This change has the side effect that now the output of `man -p` will also include
the machine class specific subdirectories (such as man8/x86), while previously it
did not. The output would include subdirectories only for those machine classes
which are specified in the man.conf file.

Also, with this change, it is possible to run makemandb(8), by setting MANPATH
environment variable (e.g. env MANPATH=/usr/share/man makemandb).

Patch reviewed by wiz@
2017-05-02 14:19:23 +00:00