Commit Graph

14031 Commits

Author SHA1 Message Date
simonb 65ffe24597 Fix alignment of Flags column for vmstat -mW. 2020-01-25 05:43:32 +00:00
pgoyette ec1ef308ad Since vnconfig(8) was renamed (many years ago), update some cross-refs
in vndcompress(1) man page.
2020-01-24 20:20:35 +00:00
sjg b24780ba6c Rename guard to avoid that already used by Linux filemon.h
Reviewed by: riastradh
2020-01-22 22:10:36 +00:00
sevan 43eb56c7ac Add Terry Jones, once clarified who wasn't the messiah, but a very naughty boy 2020-01-22 21:07:56 +00:00
sjg de07d5747c Check for filemon valid.
If meta_needed() returns FALSE, mfp and filemon will be NULL
in which case we should not call filemon_*().
2020-01-22 21:04:29 +00:00
sjg 438d096b56 meta.c: report OODATE value if not empty
When a target is out-of-date per normal make rules
.OODATE will be non-empty, report this in .meta file
to help clarify why target was updated.
2020-01-22 00:26:45 +00:00
wiz b99eb4b31d Use standard Dd format. Remove superfluous Pp 2020-01-21 07:57:49 +00:00
dholland 773d4d29d4 ...and it seems that -d is no longer restricted to root.
(No particular reason it should be; I suspect this changed when we got
real quota plumbing as historically -d would have been a special case
of asking about another user.)
2020-01-20 21:38:29 +00:00
dholland cdca48c40d Document the actual behavior of -g; clarify the optional user/group args. 2020-01-20 21:35:41 +00:00
dholland 5edfd5c42b Clarify -u. 2020-01-20 21:30:41 +00:00
riastradh b8bc1cd703 Missed a spot -- define _KERNTYPES to get register_t. 2020-01-19 20:22:57 +00:00
riastradh e3921a1b91 Tweak makefile for USE_FILEMON=dev, from sjg. 2020-01-19 19:50:54 +00:00
riastradh bea0f8c176 Per sjg's suggestion, split filemon API into separate back ends.
By default we use the ktrace back end, but the /dev/filemon back end
is available as a compile-time option, by setting USE_FILEMON=dev in
make.  sjg raised concerns about ktrace performance and would like to
continue using /dev/filemon on FreeBSD (which has seen more
maintenance kernel-side) without forking make.
2020-01-19 19:49:36 +00:00
riastradh 1378959eea Reimplement make(1) meta mode without filemon(4). 2020-01-19 19:42:32 +00:00
ad ada01d2fe1 vmstat -s: report new stats:
0 per-cpu stats one synced
     7246 per-cpu stats all synced
     4092 anon pages possibly dirty
     8881 anon pages dirty
        0 anon pages clean
       68 file pages possibly dirty
        0 file pages dirty
  2367889 file pages clean
2020-01-15 17:56:46 +00:00
kamil d410a069a0 Catch up in ktruss(1) with ptrace descriptive operation names
Switch to dynamic string lists PT_STRINGS and PT_MACHDEP_STRINGS.

Reuse the code and approach from kdump(1).
2020-01-14 11:28:35 +00:00
christos c6368baa64 use getline(3) 2020-01-10 18:35:29 +00:00
ad 51ce3a6397 Show reverse misses too. 2020-01-08 11:58:02 +00:00
rillig f5872e2e0d usr.bin/make: document probabilities for random test failures
Side node: this test will never fail between 2024-04-15 and 2024-07-06.
2020-01-07 22:42:14 +00:00
rillig 0bcf77e1f6 usr.bin/make: remove dead code
The preprocessor conditions contradicted each other: __hpux__ or __hpux
would need to be defined, and at the same time none of them would need to
be defined.
2020-01-07 21:24:16 +00:00
rillig 4ef4eb355f usr.bin/make: fix typos in comment 2020-01-07 20:50:12 +00:00
ad 71efd89793 - Report namecache reverse hits with vmstat -s.
- ncvhashtbl is no more.
2020-01-06 11:24:30 +00:00
mlelstv 432d3fdb38 check of signal number of was backwards. 2020-01-04 22:22:34 +00:00
mlelstv 6fa7a3b241 validate signal and errno before trying to print. 2020-01-04 22:05:52 +00:00
mrg 66bc25587b move the time nlist fetches into their own namelist and only
fetch them when necessary.  allow for fallback uses of older
time sources if others are not present.

this stops vmstat from exiting if it can't get the addresses
of these time values it often doesn't need (eg, running kernels
use the sysctl method), which has cropped up recently wit the
removal of boottime variable.


a slighly modified version of this patch (modified to handle
the old boottime variable over the new one) works against a
netbsd-9 vmstat in -current too.

XXX: pullup
2020-01-04 03:09:55 +00:00
thorpej 45caeb7639 boottime in the kernel is no more. Instead, read timebasebin and convert
from bintime to timespec.
2020-01-03 19:13:54 +00:00
wiz ac8e57cbc4 New sentence, new line. Fix typo. 2020-01-02 23:21:14 +00:00
christos e33cbeae47 Provide a migration guide from the old flags to -V. 2020-01-02 19:02:41 +00:00
martin c309bf7aef Avoid mixing signed/unsigned arguments to the ? operator. 2020-01-01 11:48:36 +00:00
skrll 514a9e5836 Adjust image size appropriately when using update_image
OK jmcneill
2020-01-01 10:35:10 +00:00
christos 128e5f5e67 1. Remove all the special handling of variables (-d -p -P -s -S) that
were dealing with DBG (-d) LDSTATIC/NOPIE (-p), and the rest with
   disabling/enabling sanitizers.
2. Use emalloc/estrdup for all the allocators instead of only some cases.
3. Add -V varspec which passes variables on the command line (as DBG
   and LDSTATIC used to be passed before) instead of appending them
   to the on-the-fly Makefile using -v varspec.
4. Change the distrib and rescue Makefiles to use -V instead of the removed
   flags.

The motivation of this is to make variable handling consistent, less magical,
and remove the need for changing crunchgen each time we want to add disabling
an option by default.

(as proposed in tech-toolchain)
2019-12-29 18:26:16 +00:00
msaitoh b40ff30391 s/orignal/original/ 2019-12-27 10:20:01 +00:00
msaitoh ba5c90c4a4 s/sucess/success/ in comment. 2019-12-27 09:45:26 +00:00
msaitoh b932d49383 s/expresion/expression/ in comment. 2019-12-27 09:32:09 +00:00
ad 93aed9560e Have vmstat -H report on vcache_hashtab. 2019-12-22 17:27:53 +00:00
maya 65f02c7677 Avoid the risk of being wrong and don't expand meaning of holiday. 2019-12-20 22:58:53 +00:00
maya f6a0429497 Update to 2020 dates. While here:
- Add regional holidays: Sigd (Beta Israel), Mimouna (Morrocan).
- Transliterate some things in an Israeli Hebrew accent (Succos -> Sukkot,
  Atzeres -> Atzeret)
2019-12-20 18:37:20 +00:00
maxv 2a5d072bf2 Revert the filemon removal in bmake, as pointed out by maya we do care
about not introducing divergence with FreeBSD, and the cost of unused
is acceptable here.
2019-12-19 07:14:07 +00:00
martin 73fa983b0d Fix the build 2019-12-18 10:30:23 +00:00
maxv e67f51b8f7 Retire filemon, discussed on tech-kern@. 2019-12-18 07:37:17 +00:00
christos 19a77b177c Also disable ssp and fortify by default. 2019-12-18 02:16:04 +00:00
christos b735c4fa8d fix sun2 2019-12-17 19:12:50 +00:00
christos 9ee086ef0e revert previous, don't specialcase NUL string. 2019-12-16 22:55:45 +00:00
jnemeth a4f099cf92 update calendar files with all dates in 2020 as next release is expect late 2019 2019-12-16 07:18:11 +00:00
christos cd7f626ab2 bump date 2019-12-15 04:50:28 +00:00
christos bf48319541 treat empty variables are unset (Steffen Nurpmeso) 2019-12-15 04:17:38 +00:00
christos a7f52e3116 PR/54768: elo: Missing cksum(1) convenience links (and docs) for new sha2
functions.
2019-12-15 03:55:56 +00:00
christos ddf3269588 PR/54764: elo: Incorrect '+file' filename completion in mail(1)
Add propel completion stem so that file completion works.
pullup-9
2019-12-14 20:28:02 +00:00
christos 4169a5f39b PR/54765: elo: Minor error in the mail(1) man page (-F description truncated)
pullup-9
2019-12-14 20:23:38 +00:00
christos d13b4aaeef PR/54766: elo: Broken mime-hooks handling in mail(1)
pullup-9.
2019-12-14 20:21:43 +00:00