Commit Graph

241814 Commits

Author SHA1 Message Date
roy
da98c8b8e3 Stop calling reallocarr and just do the same bounds checking but without
messing around with copying pointers which was causing ssh to crash.
2016-04-05 15:01:26 +00:00
christos
0fe87e3916 Simplify even more to make it clear how the status is set. 2016-04-05 14:07:31 +00:00
christos
30e54fbe0a Set the exit status code properly. 2016-04-05 13:01:46 +00:00
christos
e7b9154ec4 more FreeBSD changes from Kurt Lidl. 2016-04-05 12:28:57 +00:00
bouyer
16b5bc5ec8 Fix pasto for GPIO_PIN_EVENTS/GPIO_PIN_LEVEL/GPIO_PIN_FALLING
(not used at this time)
2016-04-05 10:58:04 +00:00
bouyer
7bdb4633da Fix DS1672 suppport: need to provide dm_ch_reg to avoid a KASSERT
on write. For consistency set dm_ch_value too, even if it's unused.
2016-04-05 10:53:16 +00:00
ozaki-r
b7639842cb Unbreak build of kernels without INET 2016-04-05 10:03:33 +00:00
skrll
fde887dff0 binutils 2.26 mknative for aarch64 2016-04-05 09:54:26 +00:00
skrll
ded2b1e2a4 Set ELFSIZE to 64 2016-04-05 09:52:22 +00:00
sjg
f5cd368fff Skip looking for .MAKE.JOBS if either of compatMake or forceJob is true.
If -B compatMake will be true and should be honored.
If -j forceJobs will be true and the command line supplied .MAKE.JOBS
should be respected - for consistency with other usage.
2016-04-05 04:25:43 +00:00
christos
a34d3aeabd Add test for PR/49872 2016-04-05 00:48:53 +00:00
mrg
0a5e3dc2e5 sgimip is big endian, noted by @nisimura.
minor updates.
2016-04-05 00:43:48 +00:00
christos
7a955c4ce5 PR/49872:Yorick Hardy: sed functions 'i' and 'a' discard leading white space
FIxed as suggested, behavior now matches gnu-sed.
2016-04-05 00:13:03 +00:00
christos
b1bf748a07 PR/51043: Yorick Hardy: ftp(1) should use the port number for CONNECT 2016-04-04 23:59:41 +00:00
christos
adc5c06021 remove sys/wait.h just added, put it in the file that needed it (kvm_proc.c) 2016-04-04 23:31:46 +00:00
christos
5c35dbcd66 no need to pass the coredump flag to exit1() since it is set and known
in one place.
2016-04-04 23:07:06 +00:00
christos
d6b67564a6 some ports need <sys/wait.h> 2016-04-04 22:14:38 +00:00
christos
513b040cc6 catch up with exit1() change 2016-04-04 21:21:49 +00:00
christos
cacc57bfc6 catch up with p_xstat split. 2016-04-04 21:08:44 +00:00
christos
4fbdf206cb Split p_xstat (composite wait(2) status code, or signal number depending
on context) into:
1. p_xexit:		exit code
2. p_xsig:		signal number
3. p_sflag & WCOREFLAG	bit to indicated that the process core-dumped.

Fix the documentation of the flag bits in <sys/proc.h>
2016-04-04 20:47:57 +00:00
wiz
679837e910 I do like the idea of April 43, 2016, but it's just not standardized enough. 2016-04-04 20:43:31 +00:00
martin
53a4b022d2 For the benefit of compilers not using our native C runtime environment,
install a "sysident.o" file providing the note identifying NetBSD
executables (and marking the currently installed version).
2016-04-04 18:29:07 +00:00
christos
246c8910b2 Fix description of si_status. 2016-04-04 17:29:04 +00:00
christos
43b93ab851 Add some diagnostic printf's when we reset permissions. 2016-04-04 16:47:39 +00:00
christos
849c4feb3c FreeBSD patches from Kurt Lidl. 2016-04-04 15:52:56 +00:00
joerg
a3bc99b827 If the per-target LDSTATIC flag is set, don't include the PIE linker
flags as we currently don't support static PIE.
2016-04-04 15:06:16 +00:00
skrll
744cc1c471 binutils 2.26 mknative for alpha 2016-04-04 13:45:40 +00:00
wiz
4120986a4e Sort sections. 2016-04-04 13:29:12 +00:00
wiz
386cb828c3 Use more markup, fix a typo. 2016-04-04 13:13:09 +00:00
wiz
6b7f9f8932 Remove some double quotes.
Parity is kept.
2016-04-04 13:05:56 +00:00
christos
2e4e2294f3 Add a test case for here documents positioned outside `` with the
redirect operator inside the ``.   Move the one similar test using
$( ) into its own test case (and expand that test as well.
The `` case was omitted before, as no shells (including NetBSD) were
parsing it correctly,  Now the NetBSD shell does, so ... (from kre@)
2016-04-04 12:40:13 +00:00
christos
478a0487ac Allow a heredoc to be positioned outside a `` command substitution.
POSIX just says "here docs begin after the next newline [token]".
Nothing about "provided it is inside any `` the redirect operator
appears in...    As best I can tell, NetBSD now has the only shell to
handle this "correctly" (which raises the question whether it is
correct - but if not, only erroneous scripts are affected.)
This is required by some (probably broken) autoconfigure related
scripts. (from kre@)
2016-04-04 12:39:08 +00:00
roy
60a5a4a8a7 all1_sa is no longer used. 2016-04-04 12:05:40 +00:00
joerg
d0d56fdcd8 Replace LDADD with LDSTATIC. 2016-04-04 09:52:02 +00:00
ozaki-r
71d3a4ba22 Bump kernel version for nexthop cache separation 2016-04-04 08:42:53 +00:00
hannken
1c27fb53ee Avoid a race with spec_revoke for the assertion too.
Final fix for PR kern/50467 Panic from disconnecting phone while reading
its contents
2016-04-04 08:03:53 +00:00
ozaki-r
09973b35ac Separate nexthop caches from the routing table
By this change, nexthop caches (IP-MAC address pair) are not stored
in the routing table anymore. Instead nexthop caches are stored in
each network interface; we already have lltable/llentry data structure
for this purpose. This change also obsoletes the concept of cloning/cloned
routes. Cloned routes no longer exist while cloning routes still exist
with renamed to connected routes.

Noticeable changes are:
- Nexthop caches aren't listed in route show/netstat -r
  - sysctl(NET_RT_DUMP) doesn't return them
  - If RTF_LLDATA is specified, it returns nexthop caches
- Several definitions of routing flags and messages are removed
  - RTF_CLONING, RTF_XRESOLVE, RTF_LLINFO, RTF_CLONED and RTM_RESOLVE
- RTF_CONNECTED is added
  - It has the same value of RTF_CLONING for backward compatibility
- route's -xresolve, -[no]cloned and -llinfo options are removed
  - -[no]cloning remains because it seems there are users
  - -[no]connected is introduced and recommended
    to be used instead of -[no]cloning
- route show/netstat -r drops some flags
  - 'L' and 'c' are not seen anymore
  - 'C' now indicates a connected route
- Gateway value of a route of an interface address is now not
  a L2 address but "link#N" like a connected (cloning) route
- Proxy ARP: "arp -s ... pub" doesn't create a route

You can know details of behavior changes by seeing diffs under tests/.

Proposed on tech-net and tech-kern:
  http://mail-index.netbsd.org/tech-net/2016/03/11/msg005701.html
2016-04-04 07:37:07 +00:00
skrll
dc636fed66 Switch alpha to binutils 2.26 2016-04-04 07:02:31 +00:00
skrll
b1a9918244 Don't use secureplt on alpha yet 2016-04-04 06:58:48 +00:00
riastradh
0def3bc2ac Fix module name of dtrace_profile. 2016-04-04 05:15:07 +00:00
knakahara
8862602337 fix inconsistency about "sdt" provider which was declared but not defined. 2016-04-04 03:53:25 +00:00
mrg
c8af37f927 remove platforms successful switched and update some of the mips testing 2016-04-04 01:47:18 +00:00
mrg
0e34d6d47b note shark (earmv4) works including atf. 2016-04-04 01:32:21 +00:00
christos
c1be1782f4 We don't need this in /current because packet processing does not happen in
an interrupt anymore (pointed out by ozaki@)
2016-04-04 00:44:06 +00:00
christos
93583346f6 restore the early breaks for the exact process match. 2016-04-03 23:50:49 +00:00
skrll
590b4bf8cc binutils 2.26 mknative for mipseb 2016-04-03 18:24:03 +00:00
martin
d041b3c221 Update links to usb.org specs 2016-04-03 17:41:30 +00:00
christos
65818211eb Comment out the mutex calls that protect against concurrent configuration
changes and processing. This needs to be done differently since you can't
sleep during interrupt processing.
2016-04-03 15:52:37 +00:00
gson
43ed5fd66c Fix typo 2016-04-03 14:41:30 +00:00
skrll
4af6e95a2b binutils 2.26 mknative for mipsel 2016-04-03 14:34:22 +00:00