242800 Commits

Author SHA1 Message Date
christos
997b5166e9 use the correct array size. 2016-06-01 04:06:15 +00:00
pgoyette
b203eb9e28 Commit patch from t-hash in PR kern/48309 2016-06-01 03:37:35 +00:00
kre
919211f1ab PR bin/47065 PR bin/39466
When the shell exits after an error (when that is the right thing for
it to do) ensure that it never does exit(0).
2016-06-01 02:50:02 +00:00
kre
95edbff793 PR bin/51145 PR bin/48489
More fixes to the shell parser to prevent empty simple commands (where
empty means no significant text at all) - as discussed on tech-userlevel
this still allows { } (which can be useful in function definitions, not
really anywhere else though) except in posix mode.  ( ) now generates
a syntax error, as should any other place where commands are required but
nothing is present.  (nb, redirections, var assignments, even var expansions
that expand to nothing, are all OK, and avoid the error - just comments, or
whits space, are not.)    This is (aside from allowing { } at all) all in
accordance with the posix spec.
2016-06-01 02:47:05 +00:00
kre
a868903568 Add the posix -C option (-c but quieter). Fix -R to work properly when
setting \n as the record delimited using a numeric value rather than literal
\n - and to not incorrectly turn \n into a field separator if -R is used to
make some other char the record separator (\n becomes a field separator in
that case as long as the field separator remains "white space" but should not
be in any other case - unless set explicitly of course.)

Plus more cosmetic changes - the man page and usage are updated to make it
more clear that the 2 (or 1) params to -k are not fields (field1 and field2)
but specifiers of the beginning and end of one key field.   There was an
unused 'x' option in the GETOPTS string.  The usage message is reformatted
to display properly on both 80 col and > 80 col displays (on < 80 it will
still probably look pretty ugly ... perhaps not quite so bad though), and
is also updated to show the different usage for the -c case (and -C) from the
others (only 1 file permitted) - the man page synopsis has a similar update.

Using more than one of -c -C or -m generates a usage message rather than
just ignoring the -m as it did before (there was no -C before of course).

Aside from the bug fix to the interaction between -R and -t, there are no
changes that affect the way anything is sorted (or read, or written).

Discussed on tech-userlevel earlier this week.
2016-06-01 02:37:55 +00:00
pgoyette
e8999ad26e Add support for Nuvoton NCT6776F from OpenBSD
From PR kern/49747
2016-06-01 02:37:47 +00:00
pgoyette
629fb2d91c Use fixed number of entries in each row of a table. From PR misc/49516 2016-06-01 02:15:26 +00:00
pgoyette
d06f29fd8a Fix spello. From PR misc/49516 2016-06-01 02:06:54 +00:00
pgoyette
bda3fddb04 Use .An for authors. From PR misc/49516 2016-06-01 01:57:31 +00:00
pgoyette
46febbd0a3 Use .An for author names. From PR misc/49516 2016-06-01 01:55:18 +00:00
christos
c4250a9276 zero pad syscall. 2016-06-01 01:54:06 +00:00
pgoyette
4e8c87ac14 Move the .Pp to after the .El
from PR misc/49516
2016-06-01 01:52:19 +00:00
pgoyette
04f47cbf20 Use .An for author names. From PR misc/49516 2016-06-01 01:44:22 +00:00
pgoyette
39c5f080e9 Remove trailing space. From PR misc/49516 2016-06-01 01:41:27 +00:00
pgoyette
66e444fcd7 Use .An markup for author names. From PR misc/49516 2016-06-01 01:39:52 +00:00
pgoyette
a1ec041c65 Remove trailing space. From PR misc/49516 2016-06-01 01:34:43 +00:00
pgoyette
f90b22ef19 Fix formatting. From PR misc/49516 2016-06-01 01:33:10 +00:00
pgoyette
9d6294cd4c Fix AT&T version reference. From PR misc/49519 2016-06-01 01:31:11 +00:00
pgoyette
9458f2be2e Fix testing of returned entptr, and fix three affected tests.
From kamil@ via PR lib/49632
2016-06-01 01:12:02 +00:00
christos
725f9292f8 more flags. 2016-06-01 00:54:20 +00:00
christos
97989743a7 Ignore the first dlpi entry which is ourselves on NetBSD instead of having
a NULL name as on linux.
2016-06-01 00:53:35 +00:00
christos
bafdaf94ba Avoid locking issues when copying out requires taking a fault and we are
finding out our own maps, by allocating a buffer and copying out after
we collected the information.
2016-06-01 00:49:44 +00:00
christos
71229fdd60 Symbolic printing for mmap 2016-06-01 00:47:16 +00:00
christos
5b7667bd5c Add more alignments 2016-06-01 00:46:44 +00:00
agc
066a05a32e Note update of tzdata to 2016d:
Import tzdata2016d from ftp://ftp.iana.org/tz/releases/tzdata2016d.tar.gz

	Summary of changes in tzdata2016d (2016-04-17 22:50:29 -0700):
	  * America/Caracas switches from -0430 to -04 on 2016-05-01 at 02:30.
	  * Asia/Magadan switches from +10 to +11 on 2016-04-24 at 02:00.
	  * New zone Asia/Tomsk, split off from Asia/Novosibirsk.
	  * New zone Europe/Kirov, split off from Europe/Volgograd.
	  * Russia and nearby locations had daylight-saving transitions on
	    1992-03-29 at 02:00 and 1992-09-27 at 03:00, instead of on
	    1992-03-28 at 23:00 and 1992-09-26 at 23:00.
	  * Many corrections to historical time in Kazakhstan from 1991
	    through 2005.
	  * Mention Internet RFCs 7808 (TZDIST) and 7809 (CalDAV time zone references).

	Summary of changes in tzdata2016c (2016-03-23 00:51:27 -0700):
	  * Azerbaijan no longer observes DST.
	  * Chile reverts from permanent to seasonal DST.
	  * Europe/Kaliningrad and Europe/Vilnius changed from +03/+04 to
	    +02/+03 on 1989-03-26, not 1991-03-31.
	  * Several updates and URLs for historical and proposed Russian changes.
2016-06-01 00:12:27 +00:00
agc
767f450818 Note update of tzdata to 2016d
Import tzdata2016d from ftp://ftp.iana.org/tz/releases/tzdata2016d.tar.gz

	Summary of changes in tzdata2016d (2016-04-17 22:50:29 -0700):
	  * America/Caracas switches from -0430 to -04 on 2016-05-01 at 02:30.
	  * Asia/Magadan switches from +10 to +11 on 2016-04-24 at 02:00.
	  * New zone Asia/Tomsk, split off from Asia/Novosibirsk.
	  * New zone Europe/Kirov, split off from Europe/Volgograd.
	  * Russia and nearby locations had daylight-saving transitions on
	    1992-03-29 at 02:00 and 1992-09-27 at 03:00, instead of on
	    1992-03-28 at 23:00 and 1992-09-26 at 23:00.
	  * Many corrections to historical time in Kazakhstan from 1991
	    through 2005.
	  * Mention Internet RFCs 7808 (TZDIST) and 7809 (CalDAV time zone references).

	Summary of changes in tzdata2016c (2016-03-23 00:51:27 -0700):
	  * Azerbaijan no longer observes DST.
	  * Chile reverts from permanent to seasonal DST.
	  * Europe/Kaliningrad and Europe/Vilnius changed from +03/+04 to
	    +02/+03 on 1989-03-26, not 1991-03-31.
	  * Several updates and URLs for historical and proposed Russian changes.
2016-06-01 00:11:08 +00:00
agc
eb3f7d2486 Import tzdata2016d from ftp://ftp.iana.org/tz/releases/tzdata2016d.tar.gz
Summary of changes in tzdata2016d (2016-04-17 22:50:29 -0700):
  * America/Caracas switches from -0430 to -04 on 2016-05-01 at 02:30.
  * Asia/Magadan switches from +10 to +11 on 2016-04-24 at 02:00.
  * New zone Asia/Tomsk, split off from Asia/Novosibirsk.
  * New zone Europe/Kirov, split off from Europe/Volgograd.
  * Russia and nearby locations had daylight-saving transitions on
    1992-03-29 at 02:00 and 1992-09-27 at 03:00, instead of on
    1992-03-28 at 23:00 and 1992-09-26 at 23:00.
  * Many corrections to historical time in Kazakhstan from 1991
    through 2005.
  * Mention Internet RFCs 7808 (TZDIST) and 7809 (CalDAV time zone references).

Summary of changes in tzdata2016c (2016-03-23 00:51:27 -0700):
  * Azerbaijan no longer observes DST.
  * Chile reverts from permanent to seasonal DST.
  * Europe/Kaliningrad and Europe/Vilnius changed from +03/+04 to
    +02/+03 on 1989-03-26, not 1991-03-31.
  * Several updates and URLs for historical and proposed Russian changes.
2016-06-01 00:03:14 +00:00
agc
2a93c63445 Add an extra set in the instructions (to make sure that you have the
public key the data was signed with)

Take the EDITOR variable from the environment and use that, defaulting to vi,
rather than just hardcoding vi.
2016-06-01 00:02:12 +00:00
jnemeth
750eb2d593 PR/51205 - Nikolai Lifanov -- add EAPOL, PEAP, and RSN 2016-05-31 23:15:05 +00:00
christos
33b321f304 - hack BlockingMutex
- add NetBSD procmaps
- remove old unused source
2016-05-31 21:35:11 +00:00
christos
2a35c413e0 Add procmaps for NetBSD 2016-05-31 21:34:13 +00:00
christos
0fda9a31a2 Update sources and flags (compiles but missing stuff) 2016-05-31 20:47:52 +00:00
christos
0761ebe8d9 First steps to port this to NetBSD (compiles now but missing stuff) 2016-05-31 20:47:25 +00:00
christos
2a2d5d2e0a revert weak change. next time point to an example of what breaks in the
commit message.
2016-05-31 20:40:51 +00:00
christos
53bd6909de Add an ElfW() macro like linux. 2016-05-31 20:02:16 +00:00
christos
94b4dd721e remove the right history entry (Ingo Schwarze) 2016-05-31 19:25:17 +00:00
abhinav
ad8c33366b Add the missing parameter "const char *pattern" to the fetchList* functions.
From Julian Fagir in PR lib/45579
2016-05-31 16:26:47 +00:00
pgoyette
596954117f Minor formatting change in swapctl -l as noted in my PR bin/51155 2016-05-31 09:34:25 +00:00
wiz
b17d0f9679 Punctuation nits.
(adding space makes sure they are not marked up)
2016-05-31 09:31:13 +00:00
pgoyette
66c6aeeb7a Add prop_array_add_cstring{,_no_copy} utility functions as suggested in
PR lib/46723 using the patch provided.  (Header file updates are mine.)
2016-05-31 09:29:25 +00:00
mlelstv
9a4c3fd1cc Flush memory correctly during ring put.
See PR 51199.

From Sprow, ok skrll@.
2016-05-31 09:22:11 +00:00
wiz
e52839f4c3 Remove trailing whitespace. 2016-05-31 08:24:43 +00:00
pgoyette
d2c5329790 Use calloc(1, ...) instead of malloc(...) followed immediately by memset()
Addresses PR lib/46818
2016-05-31 07:49:09 +00:00
pgoyette
ed42ce54d9 Move __MKTEMP_OK up earlier so it has an actual impact. Reduces the
number of warnings during build.

XXX There are still some other warnings remaining to be resolved.

Fixes PR bin/48195 although we really should go back someday and fix
this correctly (by replacing all uses of mktemp(3)!)
2016-05-31 06:55:02 +00:00
pgoyette
7554718da8 Correct list of operations to note that SLISTs and SIMPLEQs cannot insert
entries before existing entries.  This can only be done for LISTs and
TAILQs.

Fixes PR kern/50845
2016-05-31 06:00:38 +00:00
pgoyette
7bdbb58b22 Add a new kern.messages sysctl to allow kernel message verbosity to be
altered after boot.

Fixes PR kern/46539 using patch submitted by Nat Sloss.
2016-05-31 05:44:19 +00:00
dholland
e992e1f829 PR 51196 David Binderman: simplify redundant conditional.
(yet another copy)
2016-05-31 04:14:12 +00:00
dholland
371fed6f5e PR 51195 David Binderman: simplify redundant conditional.
XXX: there are too many copies of this function floating around ("gettrailer")
2016-05-31 04:13:26 +00:00
dholland
f56f9deac4 PR 51194 David Binderman: simplify redundant conditional 2016-05-31 04:12:10 +00:00
dholland
e5e22563a1 PR 51193 David Binderman: simplify redundant conditional. 2016-05-31 04:05:50 +00:00