Age | Commit message (Collapse) | Author |
|
OK mpi@ deraadt@
|
|
While here document prfind(9.
with and ok guenther@
|
|
rt_entry. Use this function in the success case of all route commands.
Reduce the goto madness in route_output and make the code hopefully a
bit easier to read and work with.
OK mpi@ bluhm@
|
|
struct file *, and then externalizes back to fd upon delivery.
Convert storage to array of struct fdpass, containing struct file *
(and soon something else). memcpy originally intended for alignment
purposes can be removed because CMSG_ALIGN is _ALIGN.
There is some anxiety over changing this code, but it reads easier.
ok mpi guenther kettenis
|
|
the old array of open files.
Fix a race for multi-threaded processes reported by cheeky.m@gmx.com
on bugs@ and analyzed with bluhm@.
ok deraadt@, bluhm@
|
|
|
|
ok guenther mpi
|
|
removed in 2004. The comment about raw_input() above rip_input()
was added in 1981, but it is wrong since 1992. After that it has
been copied to rip6_input(). (*pr_input)() is never called with
the parameters (mbuf, sockproto, sockaddr, sockaddr).
So retire raw_input().
OK guenther@ deraadt@
|
|
ok kettenis@ patrick@
|
|
Based on code written by patrick@
|
|
|
|
ok kettenis@ patrick@
|
|
|
|
|
|
mapping than the kernel.
|
|
ok kettenis@
|
|
function, we need another indirection for esym. The address of
esym is simply the address of the variable. But in the case of
esym we want to read and modify its value.
ok kettenis@
|
|
the end of BSS by 64-bit and not 32-bit.
With and ok kettenis@
|
|
|
|
|
|
|
|
few bits to calculate a valid virtual address for esym.
Found with kettenis@
|
|
only once per packet.
Fix a regression introduced when if_input() started to be called by
every pseudo-driver.
ok claudio@, dlg@
|
|
|
|
device tree provided by the current Raspberry Pi firmware.
ok jsg@
|
|
translations on machines like the Raspberry Pi.
ok jsg@
|
|
ok patrick@
|
|
ok benno@
|
|
globals is the KERNEL_LOCK().
ok claudio@
|
|
ok kettenis@
|
|
|
|
where we don't load the kernel at the start of physical memory such as
the Raspberry Pi 3.
ok patrick@
|
|
ok patrick@
|
|
|
|
this lets pflogd run again.
rename if_data() to if_getdata() while here to make grepping for
things less noisy.
reported by jsg@
worked through with deraadt@
|
|
|
|
|
|
to talk to a physical disk on mfii you need to know its physical
disk id and its current dev handle.
you can fetch a list of physical disks with a MR_DCMD_PD_GET_LIST
command, and you get the dev handle by fetching the associated info
from a MR_DCMD_LD_MAP_GET_INFO command.
i made a mistake and thought that the index into the PD_GET_LIST
info was the target id of a disk, and that should also be used as
the index into the LD_MAP_GET_INFO structures. it turns out that
the PD_GET_LIST is a dense array of info that points at the target
id, and the target id is used as the index into the LD_MAP_GET_INFO.
it also turns out that the dev handles from LD_MAP_GET_INFO can
change at runtime, so we should update them all when the bus topology
changes.
this change fetches a list of dev handles via LD_MAP_GET_INFO up
front, and makes them availble to the passthru bus scsi_cmd handler
via SRP. in the future hotplug events will update the map concurrently
with disk accesses.
also get rid of the probe for pd disks since the id from PD_GET_LIST
and what the scsibus automatically probes are the same. we just let
the midlayre blindly probe all possible targets on the passthru
bus. the pd scsibus probe handler still fetches specific disk info
to ensure we only provide access to disks marked as PASSTHRU in the
firmware.
|
|
ok I forget who
|
|
this is in preparation of reusing the sense buffer for passthru dcmds
|
|
upon "inet". Adjust the 4 programs that care about this.
|
|
|
|
|
|
ok patrick@
|
|
a new if_data() function takes a pointer to ifnet and merges its
if_data and ifq statistics. it takes the ifq mutex around the reads
of the ifq stats so they get a consistent copy.
the ifnet and ifq stats are merged because some parts of the stack
still update the ifnet counters.
ok visa@ (on an earlier diff) mpi@ claudio@
|
|
turn the enum of event argument types into a series of #defines so
when you printf the arg type you can search for the number and get
an answer without having to count lines.
add a struct for extended physical address arguments in event
messages.
add a list of event types.
|
|
memcpying uint16_ts into inconsistently addressed offsets is hard
to read, and this makes future work easier to implement.
tested on mfi(4) and mfii(4)
|
|
of that function, to guard it with SMALL_KERNEL.
ok mpi@
|
|
in the functions. This way it can be used for other trees as well.
OK mpi@ phessler@
|
|
ok patrick@
|