Commit Graph

242815 Commits

Author SHA1 Message Date
pgoyette
39bee72c5e Document return value for realloc(3) when size is 0. From PR lib/47384 2016-06-01 05:40:26 +00:00
mlelstv
c0d66217b0 don't sleep in run_xfer path. 2016-06-01 05:31:59 +00:00
macallan
147de8dbef report the power button to sysmon when possible 2016-06-01 05:27:40 +00:00
mlelstv
5762a6113b refactor callouts
remove timed out ccbs and connections from cleanup queue when stopping timeout.
2016-06-01 05:13:07 +00:00
kre
09ccb20143 PR bin/51207 Only check for ELF bnaries in regular files. 2016-06-01 05:11:52 +00:00
kre
cdb38c6b4d PR bin/43639
Redo earlier fix to only prohibit sourcing directories and block special files.
char specials (/dev/tty, /dev/null, ... incl /dev/rwd0a) and fifos are OK.

Posix actually requires that we find only readable files - that is not yet
implemented (doing it sanely, without opening the file twice, is going to
take some more modifications to code elsewhere).
2016-06-01 05:10:41 +00:00
pgoyette
94bb1b5cc0 Add quick for Sandisk Cruzer - from PR kern/46547 2016-06-01 04:54:59 +00:00
pgoyette
00819ffe8c Regen 2016-06-01 04:52:20 +00:00
pgoyette
c053462e15 Regen for Sandisk Cruzer 2016-06-01 04:51:33 +00:00
pgoyette
a2bdc73dfd Add Sandisk Cruzer - from PR kern/46547 2016-06-01 04:47:02 +00:00
christos
294de9a807 missing space 2016-06-01 04:20:20 +00:00
mlelstv
62dba08e32 factor out sernum handling.
make incrementing sernum atomic.
declare variables for atomic operations as volatile.
2016-06-01 04:19:08 +00:00
pgoyette
1bafcf7e51 Move macro inside of #ifdef KERNEL
PR kern/46706
2016-06-01 04:15:54 +00:00
christos
78fc04143a use the default offsets since gcc hardcodes them (TARGET_ASAN_SHADOW_OFFSET ->
ix86_asan_shadow_offset)
2016-06-01 04:07:51 +00:00
mlelstv
de2e673f8c close session when last connection is removed. 2016-06-01 04:07:03 +00:00
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