Commit Graph

241536 Commits

Author SHA1 Message Date
christos
29494835fd fix constness (from kre) 2016-03-21 02:37:26 +00:00
christos
2e0d62d9ac Add command substitution test. 2016-03-20 22:57:49 +00:00
christos
bb9d40a374 new command substitution test from kre 2016-03-20 22:57:04 +00:00
christos
db56d5516c Move the command substitution "internal subroutine" part of
readtoken1() into a real function of its own (inspired by a
similar change made by FreeBSD - the other internal routines
they moved out are expected to move out here as well soon.)
This change helps avoid gcc 5.3 demanded (not required!) volatile
noise which would slow down parsing. (from kre)
2016-03-20 22:56:39 +00:00
christos
66aed21df4 regen 2016-03-20 22:27:44 +00:00
christos
b09de184c8 elide bug with new cpuid code. 2016-03-20 22:27:31 +00:00
christos
e3b47d16a6 bring newer versions from 1.1.0-pre4 2016-03-20 22:26:56 +00:00
christos
5a840fc796 re-gen to fix sha1. there were also improvements for montgomery multiplications
that we did not have from a previous change.
2016-03-20 22:18:43 +00:00
christos
2392dd986f move scratch stack offset from 64 to 72 bytes so that it is aligned properly.
We core-dump using xmm instructions with gcc-5.3 otherwise. This is all
fixed a lot better in openssl-1.1.0-pre4 and I am tempted....
2016-03-20 22:17:13 +00:00
mrg
0645af0eac update alpha (mostly working) and hppa (mknative-gcc works) 2016-03-20 21:27:27 +00:00
mrg
e10e41c701 mknative-gcc for HPPA and GCC 5.3. thanks for fixing fenv.c, nick! 2016-03-20 21:14:20 +00:00
wiz
1b0989ebef Sort errors. Improve markup. 2016-03-20 20:09:49 +00:00
christos
533b5973e2 PR/50460: Abhinav Upadhyay: Fix legacy apropos query to match both the name
and the one line description and delete extra args.
2016-03-20 17:31:09 +00:00
christos
34698e074e simplify. 2016-03-20 16:39:36 +00:00
christos
618262a97a use foo - 0 instead of testing for defined(foo); from joerg@ 2016-03-20 16:26:06 +00:00
khorben
88481e0aaa Let PaX ASLR know about the current emulation
This effectively fixes PaX ASLR with 32-bits emulation on 64-bits
platforms. Without this knowledge, the offset applied for 32-bits
programs was really meant for a 64-bits address space - thus
shifting the address up to 12 bits, with a success rate of about
1/4096. This offset is calculated once in the lifetime of the
process, which therefore behaved normally when able to start.

Fixes kern/50469, probably also kern/50986

Tested on NetBSD/amd64 (emul_netbsd32)
2016-03-20 14:58:10 +00:00
skrll
3593a88925 Update {read,write}fpsr to work everywhere 2016-03-20 14:22:46 +00:00
christos
c07b0c6505 PR/50983: David Shao: Protect stddef;
also make the pointer void *.
2016-03-20 14:11:49 +00:00
tsutsui
a2b51fbb55 Pass a correct residual size to wdcbit_bucket() that drains extra bytes.
Seems broken (but almost harmless?) since rev 1.101 committed ~10 years ago:
 http://mail-index.netbsd.org/source-changes/2006/09/07/0043.html
2016-03-20 10:29:12 +00:00
tsutsui
225e5dba8f Remove extra spaces. 2016-03-20 09:47:58 +00:00
dholland
89579fda21 Comment out unused logic. PR 50973 2016-03-20 04:24:46 +00:00
gdt
af798e7b27 Disable uscanner in all kernel configs
As discussed on current-users@, SANE uses ugen via libusb and not
uscanner, so users are not well served by having uscanner.  Consensus
is that addressing how to adjust permissions for scanners should not
block restoring basic functionionality.

(Compile-tested only, but there are multiple reports of this being the
right approach.)
2016-03-19 23:21:02 +00:00
christos
4f0a81a7d2 Save and restore all the registers we need instead of playing tricks and
"knowing" which registers the compiler clobbers. gcc-5.3 clobbers both
rcx and rdx...
2016-03-19 21:27:38 +00:00
mrg
3ae3bff701 remove some dead code. 2016-03-19 20:57:48 +00:00
mrg
0d31cfc9e9 disable -fdelete-null-pointer-checks by default for now. 2016-03-19 20:54:49 +00:00
mrg
4b0e0968c5 note alpha mostly works (sshd problem as well)
add that sparc64 test results are about 60 additional failures
2016-03-19 20:53:46 +00:00
christos
b1ba608e8b Allow enabling and disabling PaX ASLR debug 2016-03-19 18:56:37 +00:00
martin
a706a41168 Default kernel builds to USE_SSP=yes. 2016-03-19 18:50:25 +00:00
christos
3bf2eee003 Add MAP_FMT 2016-03-19 18:44:10 +00:00
dholland
71d3320a40 Sync documentation of struct ktr_header with reality:
- there is a ktr_version field
   - the ordering of ktr_type and ktr_version is byte-order dependent
   - ktr_time is now a timespec, not a timeval
   - there's now a ktr_lid field
   - there is no such thing as a ktr_buf field and it's certainly not
     a caddr_t.

XXX: I would appreciate it if someone who knows how this stuff works
XXX: could review this file in case it's still lying in some more
XXX: subtle way.
2016-03-19 17:15:13 +00:00
dholland
02cda16070 Update documented prerequisite includes. PR 50633 and PR 50634.
Remove sys/uio.h, and swap sys/param.h for sys/types.h as sys/ktrace.h
depends on MAXCOMLEN.

Bump date; first time since 1993.
2016-03-19 17:05:36 +00:00
dholland
c2159a40f8 PR 50633 and PR 50634 from Brad Harder: add missing includes:
sys/signal.h and sys/time.h. Also add sys/uio.h which is needed and
for some probably historical/obsolete reason has been documented as a
prerequisite instead of included directly.

This also requires sys/param.h for MAXCOMLEN (blah) but for now at
least shift that to the documentation instead of including it
directly as it's a sewer.
2016-03-19 17:04:12 +00:00
mrg
fed2b588b4 add missing insn-modes.h files from earlier regen. 2016-03-18 20:40:21 +00:00
christos
f3a6400cd0 sprinkle more volatile (distribution build with gcc-5.3) 2016-03-18 18:42:25 +00:00
christos
7633776511 kill more mudflap for gcc-5.3 2016-03-18 18:24:25 +00:00
christos
fc55d6ef49 sprinkle more volatile (needed for the rescue build with gcc-5.3) 2016-03-18 18:07:28 +00:00
christos
e31ac8976d Add more stack-protector elides 2016-03-18 17:52:30 +00:00
christos
ccd8517e35 write references as pointers XXX: 2016-03-18 17:11:04 +00:00
christos
8db25f0638 treat class line struct and union 2016-03-18 17:08:45 +00:00
christos
dd09ff20c8 Add support for c++ classes. 2016-03-18 17:07:23 +00:00
christos
63ffeeee3f spell restrict 2016-03-18 16:37:09 +00:00
christos
3e0f598a15 fix printf format 2016-03-18 16:32:03 +00:00
christos
714b78ffa0 Add references, comments. 2016-03-18 16:24:26 +00:00
christos
096b9466af add references. 2016-03-18 16:12:46 +00:00
christos
4a929da448 Add references. 2016-03-18 15:26:31 +00:00
christos
0f160f0ea7 match the updated <sys/types.h> definition 2016-03-18 15:05:49 +00:00
christos
6f5d40c1b7 tidy up: parse DW_AT_specification like DW_AT_abstract_origin 2016-03-18 14:58:18 +00:00
christos
22c82d5b7b - Add processing for c++ references.
- Make sure we load the DIE that contains the types of array elements so
  we can resolve them later.
- Print t_id (die offsets) in hex.
2016-03-18 14:55:34 +00:00
christos
f15ed7b01a swap first, then write. 2016-03-18 13:23:00 +00:00
ginsbach
bec9db1ba3 Use the correct upper bounds for the types array. The correct upper
bound is typecnt not timecnt.  Now perpetual 'standard' time zones
will work correctly as they have a typecnt of 1 but a timecnt of 0.
2016-03-18 12:41:25 +00:00