Age | Commit message (Collapse) | Author |
|
gpios based on board IDs.
ok visa@, jsg@
|
|
ok visa@, jsg@
|
|
platforms.
ok visa@, jsg@
|
|
to create and change the dynamic route. This behavior was introduced
in net/route.c rev 1.269 when the gateway route allocation was moved
from rt_setgateway() to _rtalloc(). So rtrequest(RTM_ADD) could
return a route without a valid gateway route. To fix this, call
rt_setgwroute() from _rtalloc() and rt_setgateway().
OK mpi@
|
|
From Simon Mages, ok beck@, claudio@, bluhm@
|
|
ok deraadt@, mpi@
|
|
Being able to add route entries without configured addresses is a nice
feature but this is not my fight. So I'd rather no add another pointer
to ``struct rtentry'' if I'm not removing another one.
|
|
Uninitialized variables used in an if/else could cause a slower
codepath to be taken, but the end effect of both paths is the same.
Found by jsg@
|
|
In that case, soft fail and return instead of allocating buffer with
a bogus size.
ok kettenis@
|
|
even for APIC ID values less than 255. Makes secondary CPUs attach on the
HP DL360 gen 9.
tested by jung@
ok guenther@
|
|
It is the ACPI processor UID that is stored here.
ok guenther@
|
|
|
|
|
|
|
|
ok deraadt@
|
|
affects only 32 bits platform (like i386).
problem spotted and diff from pelikan@
ok deraadt@ jca@
|
|
|
|
These are used to do board-specific setup of mux settings and pad
configuration.
ok jsg@, patrick@
|
|
flushing any pending local IOBDMA operations. The sync instruction is
overkill because it implies a full memory barrier.
ok jasper@ (long time ago)
|
|
and match based on the compatible property of the root node in the fdt.
Each of am33xx, omap3, and omap4 have their own list of devices to
attach.
|
|
use the fdt.
|
|
background it shall receive SIGTTOU. Handle TIOCSPGRP like we do
the other tty ioctls that change the terminal. OK deraadt@ guenther@
|
|
can't (in the future) loop from ktrace writing hitting a pledge condition.
diff from Michal Mazurek (akfaew (at) jasminek.net)
|
|
(essentially) the same for all boards, so we can use a single list and
match based on the compatible property of the root node in the device tree.
ok jsg@
|
|
- The number of slots must be initialized in the chunk of a small amap,
otherwise unmapping() part of a mmap()'d range would delay freeing
of vm_anons for small amaps
- If the first chunk of a bucket is freed, check if the next chunk in
the list has to become the new first chunk
- Use a separate loop for each type of traversal (small amap, by bucket
by list) in amap_wiperange(). This makes the code easier to follow and
also fixes a bug where too many chunks were wiped out when traversing
by list
However, the last two bugs should happen only when turning a previously
private mapping into a shared one, then forking, and then having
both processes unmap a part of the mapping.
snap and ports build tested by krw@, review by kettenis@
|
|
ok jsg@
|
|
board ID for the AR8031/AR8035.
ok jsg@
|
|
ok jsg@
|
|
ok patrick@, jsg@, visa@
|
|
port as well, though we still only handle a single port for now.
ok kettenis@
|
|
eeprom -p output that were lost in revision 1.13.
|
|
|
|
Identify as AR8035 since that one has the lowest revision number.
ok mlarkin@, millert@
|
|
OK beck@ tedu@
|
|
it's not enough to assign to an unsigned type because if the arithmetic
overflows the compiler may decide to do anything. so change all the
long long casts to uint64_t so that we start with the right type.
reported by Tim Newsham of NCC.
ok deraadt
|
|
This function will help splitting the IPv6 input path in two, in
order to run the first part without KERNEL_LOCK() held.
Tested by Hrvoje Popovski, ok bluhm@
|
|
ok mpi@
|
|
|
|
ok kettenis@ deraadt@ jasper@
|
|
|
|
addresses set on p2p interfaces.
Found the hardway by naddy@
|
|
|
|
|
|
stale reference and lock, while it shouldn't hold either.
"makes sense to me" beck@
|
|
contains -g by default anyway
problem noted by Edgar Pettijohn (edgar (at) pettijohn-web.com)
ok millert@ kettenis@ deraadt@
|
|
into negative values, which later causes a panic.
reported by Tim Newsham at NCC.
ok guenther
|
|
This allows openpic(4) to properly map interrupt for the devices
instead of possibly dereferencing garbage.
Found the hardway by and ok jmatthew@
|
|
prevent an off-by-one when removing entries from the mpath list.
Fix a regression introduced by the refactoring needed to serialize
rtable_walk() with create/delete.
ok jca@
|
|
Suggested by mpi@ diff from Patrick Keshishian.
ok mpi
|
|
family
it splits PLEDGE_FATTR in two ("fattr" stills grant the 2 flags, so no functional changes):
- PLEDGE_CHOWN : to be able to call *chown(2) syscalls
- PLEDGE_FATTR : the rest
it introduces "chown" which grant:
- PLEDGE_CHOWN : be able to call *chown(2)
- PLEDGE_CHOWNUID : be able to modifying owner/group
ok deraadt@ tedu@
|