Commit Graph

231865 Commits

Author SHA1 Message Date
uebayasi
53a633ff23 Improve grep'ability.. 2014-11-27 04:41:55 +00:00
matt
dc7d9eb23e Add entry for Cortex-A17 r1 2014-11-27 04:09:50 +00:00
matt
25c151dc43 Add Cortex-A17 ID 2014-11-27 04:07:13 +00:00
ozaki-r
0b2631673e Pull if_drain routine out of m_reclaim
It's if-specific and should be in if.c.

No functional change.
2014-11-27 03:15:51 +00:00
ozaki-r
48243e3cda Welcome to 7.99.2 (struct ifnet change) 2014-11-27 01:44:59 +00:00
enami
11fe7239df Changes done in rsh.c rev. 1.36 was incomplete. As chuq pointed
in private mail, it broke rcp(1).

To achieve the documented behavior and to fix long standing incorrect
rsh(1) behavior which I've tried to fix in rev. 1.36, rcmd(1) should have
two operation mode; whether it should relay signal information on
auxiliary channel or not, depending on the argument `fd2p' passed to rcmd(3).
So, make rcmd(1) behave differntly depending on the environment variable and
set it when necessary in rcmd(3) according to how auxiliary channel
is set up by rcmd(3).
2014-11-26 23:44:21 +00:00
skrll
839f0f144d Appease gcc 4.8 - from Greg Willatt in private email. 2014-11-26 22:50:22 +00:00
rmind
0f9c6f0017 NPF: fix the reference counting and share the active NAT portmap correctly
when performing the reload.  Should fixes PR/49412, reported by kardel@.
2014-11-26 21:25:35 +00:00
wiz
d7073c492f New sentence, new line. Use more markup. Sort SEE ALSO. 2014-11-26 20:46:46 +00:00
mlelstv
7e594f6343 Mention the new bootspec variable.
Give more details about the root device configuration.
2014-11-26 20:42:29 +00:00
christos
fa438ee608 - Use O_DIRECTORY to open the file, so that we don't need to stat() after
that.
- Move the stat() call to fdopendir() and change it's error handling so that
  it does not hide errors.
- According to POSIX, fdopendir() transfers ownership of the fd only on
  success, so don't close it on failure. XXX: We still make it non-blocking
  on failure, but that's nitpicking.

XXX: pullup-7?
2014-11-26 16:48:43 +00:00
roy
82d103a378 Note import of dhcpcd-6.6.4 2014-11-26 16:05:51 +00:00
roy
c1ce8e7e2b Sync 2014-11-26 16:05:14 +00:00
roy
7bc67fea7a Note import of dhcpcd-6.6.3 2014-11-26 13:45:00 +00:00
roy
fd710a4140 Sync 2014-11-26 13:43:06 +00:00
manu
e6a2cb8983 Do not follow symlinks in sys_unmount()
There are situations where the underlying filesystem is unreachable
(e.g: NFS) causing symlink resolution to hang. Such a situation
should be avoided by using umount -f -R (force and raw), but while -R
causes the symlink resolution to be skipped in umount(8), the kernel was
still doing it in sys_unmount(). This changes fixes that.

When the -R flag is not given, umount(8) does symlinks resolution through
realpath(3) before calling unmount(2), hence not doing it in the kernel
would not change behavior.
2014-11-26 10:50:36 +00:00
ozaki-r
fb797ebb35 Call looutput with holding KERNEL_LOCK
This fixes diagnostic assertion "KERNEL_LOCKED_P()" in if_loop.c.

PR kern/49410
2014-11-26 10:18:37 +00:00
pettai
e6c5cb1208 fix comma error 2014-11-26 10:12:27 +00:00
ozaki-r
1d0321acf8 Tweak ifconf variants
The tweaks make the code intention clear and make further changes easy.

No functional change.
2014-11-26 09:53:53 +00:00
ozaki-r
e45b80861c Change if_slowtimo_ch to a pointer
One benefit to do so is to reduce memory used for struct callout;
we can avoid to allocate struct callout for interfaces that don't
use callout.

Requested by uebayasi@.
2014-11-26 09:38:42 +00:00
ozaki-r
3f6a7c52ac Create if_slowtimo (if_watchdog) callout for each interface
This change is to obviate the need to run if_slowtimo callbacks that
may sleep inside IFNET_FOREACH. And also by this change we can turn
on MPSAFE of callouts individually.

Discussed with uebayasi@ and riastradh@.
2014-11-26 07:43:04 +00:00
pettai
c474a8e4a5 In all_etypes prefer des3-cbc-sha1 over arcfour-hmac-md5 (#24c8bac) 2014-11-26 07:39:52 +00:00
ozaki-r
af22e70cfc Rename if_watchdog to if_slowtimo
if_watchdog callbacks do a little more than what "watchdog" suggests.

Discussed with uebayasi@ (the idea originally from openbsd-tech).
2014-11-26 07:22:05 +00:00
ozaki-r
1ceb2f0443 Make if_slowtimo static 2014-11-26 07:06:03 +00:00
matt
05675fafc6 Add option ARM_HAS_LPAE 2014-11-26 04:20:30 +00:00
christos
59de200486 Avoid coredumps when the linenumbers in the hunks turn negative.
From: http://marc.info/?l=openbsd-tech&m=141693055412785

XXX: pullup 7
2014-11-26 00:31:32 +00:00
christos
bac69224e7 CID 981752: printf format 2014-11-25 19:54:08 +00:00
christos
52b8bb1b69 CID 977389: Out of bounds access. 2014-11-25 19:51:17 +00:00
christos
fdb1c07286 CID 977076: Widen before multiply. 2014-11-25 19:48:24 +00:00
seanb
ae36e3e5b1 Really make SO_REUSEPORT and SO_REUSEADDR equivalent for multicast
sockets.  From FreeBSD.
2014-11-25 19:09:13 +00:00
seanb
56c6664a5c Clean up any dangling ifp references in (struct in6pcb *)->in6p_v4moptions
(v4 multicast options off v4 mapped v6 socket) on interface destruction.  The
code to clean this up in a true v4 socket was moved to its own function
which is now also called in the corresponding place for v6 sockets on
interface destruction.
2014-11-25 15:04:37 +00:00
skrll
4ba88a445b Only use 128-bit mode when the transfer is a multiple of this.
From Jared (the arm periph guy)
2014-11-25 14:30:05 +00:00
jmcneill
b74092acc2 disable wapbl for evbarm images until stability issues are sorted out 2014-11-25 13:42:31 +00:00
nakayama
687aa18d14 Avoid use after pool_put. 2014-11-25 12:33:13 +00:00
skrll
ecb7c9c079 Explicitly set LOADADDRESS, the linker script hack is overriden by
command line arguments now.

Hi uebs!
2014-11-25 12:02:20 +00:00
skrll
74ec17a2af Another section to delete when converting elf -> a.out 2014-11-25 12:01:18 +00:00
ozaki-r
9341145987 Fix wrong expected outputs
IP addresses in the expected outputs looks reversed (in byte order).
It seems the expected outputs had been generated based on source code
with a bug and the bug was fixed by a commit titled "#534 destination
list hashing not endian neutral" by darrenr@.
2014-11-25 08:25:46 +00:00
martin
f00316cced Explicitly set LOADADDRESS, the linker script hack is overriden by
command line arguments now.
2014-11-25 07:42:35 +00:00
macallan
bc8fb6d4a3 fix _MTC0_V0_USERLOCAL for _LP64 as well
ok matt@
2014-11-25 05:28:26 +00:00
msaitoh
c36aa68bf4 Add note about the variations of Intel gigabit Ethernet controller. 2014-11-25 05:05:16 +00:00
macallan
33218c6f53 remove some cargoculted goop 2014-11-25 04:55:13 +00:00
nonaka
743ec1652d avoid NULL pointer dereference when acpivga isn't attached. 2014-11-25 03:31:12 +00:00
jmcneill
6eceb7f535 Change the "mDNSPlatformRawTime went backwards" message from LogMsg to
debugf. It's not that interesting, as it is comparing the results of two
gettimeofday() calls.
2014-11-25 02:29:57 +00:00
jmcneill
67e121920b - Write the correct value to the ctrl register to restart the watchdog.
Watchdog restart bit is 0 not 1, and we need to write a key as well.
- Add A31 support.
2014-11-25 00:06:32 +00:00
joerg
1cca922b35 iscsi_attrs is not used when iscsi(4) is compiled into the kernel. 2014-11-24 21:49:17 +00:00
prlw1
dccbfddf17 Trivial build fix for no options SYSCTL_INCLUDE_DESCR case, to
avoid -Werror.
OK christos@ and riastradh@
2014-11-24 17:29:02 +00:00
christos
94783bbf05 knf, no functional change. 2014-11-24 15:43:21 +00:00
christos
8a88bf6a6c Don't read past the end when the data is exactly the right size. Reported
by tedu @ openbsd in tech-userlevel. Thanks!
2014-11-24 15:41:18 +00:00
christos
625ac095d3 Fix ptrace %rcx corruption when pthread_errno() is used. Small example:
#include <sys/types.h>
    #include <stdio.h>
    #include <sys/ptrace.h>
    int main(void) { ptrace(18, getpid(), NULL, 0xabcd); }
The -lpthread cases pases 0 instead of 0xabcd
2014-11-24 15:33:18 +00:00
tsutsui
4b574ec157 Terminate messages with a newline so that dialog box won't overwrite messages.
Should be pulled up to netbsd-7 (and netbsd-6) branches.
2014-11-24 15:22:59 +00:00