Age | Commit message (Collapse) | Author |
|
|
|
considered.
ok deraadt@
|
|
|
|
|
|
it factorizes path resolution in resolvpath() function, and use it in
sys_pledge() and pledge_namei().
please note that wl_paths is still disabled.
|
|
Kernel bits:
- When creating a VM, a list of memory ranges has to be specified,
similar to the BIOS memory map. This is necessary for VMs with
RAM sizes approaching 4G because we'll need PCI MMIO space in
the higher parts of the 32 bit address space.
vmctl and vmd bits:
- Construct appropriate memory ranges to create a VM with a given
RAM size
- Construct a corresponding BIOS memory map from the memory ranges
and update the boot params page accordingly.
- Make sure that all variables that represent guest physical addresses
match the address width of the target CPU instead of using uint32_t.
- Fix some integer promotion glitches that actually restricted VM
RAM size to 2G.
This changes the VM create ioctl interface, so update your kernel,
vmd, and vmctl.
ok mlarkin@
|
|
observed to fire for spurious reasons with buggy hardware/bios.
It is being ignored by both FreeBSD and Linux as well.
Fixes GENERIC kernel boot on ADI RCC-VE with buggy bios versions, where
ichiic(4) ended up stealing interrupts from ehci(4), rendering the internal
eMMC flash unusable.
Also, always ackknowledge all interrupts by writing status bits back
to avoid a potential SMBALERT# interrupt storm.
with and ok deraadt@ kettenis@ mpi@
|
|
still no binary change.
|
|
- rewrite canonpath() to not require extra byte before shrinking
- make canonpath() error not fatal for the caller (proposition from tedu@)
ok millert@ tedu@ deraadt@
|
|
the vlan interface is ifp, the vlans parent interface is ifp0, the new
interface parent is newifp0.
requested by mpi@
no binary change
|
|
'sc_link'. 'sc_link' is a field in the various device *_softc
structures, where the sc_ prefix was for 'softc'. Reduces potential
mental confusion. Newer code from down under was already using
'link'.
No functional change.
Prompted by bluhm@'s adventures in scsi. ok dlg@ jmatthew@
|
|
ok mpi@ bluhm@
|
|
of a use after free. In sdopen() the scsi link pointer is taken
from the scsi disk struct. While the scsi disk memory is refcounted
by autoconf, the scsi link may be detached and freed during sleep.
The solution is to check wether the disk is dying after every sleep.
The SDF_DYING flag is set before scsi bus and scsi disk are detached,
so without this flag the link must be valid.
input and OK krw@
|
|
So if vop_generic_revoke() does not unmount because the mount point
is busy, this could result in a mount point without a valid device.
It is better to check and sleep in a loop to avoid a corrupt mount
point.
OK natano@ krw@
|
|
from Michal Mazurek
|
|
ok mpi@
|
|
"if (cmd->len) != 0)", as cmd->len is a 3 byte array.
Broken since media_blkno accounting was introduced in r1.72 (2007!).
Might fix some obscure tape issues around miscounting variable sized blocks.
Spotted by mmcc@ and his friend clang.
|
|
This will make a future merge with urtwn(4) easier.
ok mpi@
|
|
don't want to change the current value"
it changes only the `request' argument behaviour when NULL is passed:
previously it was traited as "" was passed.
with help from jmc@ for man-page
OK tb@ on previous version
|
|
ok mpi@
|
|
things by renaming the field 'SLIST_HEAD(, scsi_link) sc_link' to
'sc_link_list' in struct scsibus_softc. Use 'sb' as the short name
for scsibus_softc variables.
Impetus from & ok bluhm@
|
|
it with junk anyway.
ok patrick mpi dlg and tested by Daniel Bolghero
|
|
> Start some refactoring in here. this gets bufadjust out
> of the hibernate path and starts preparing for some other work in here
|
|
|
|
of the hibernate path and starts preparing for some other work in here
|
|
any purpose and the code is shorter when calling the functions directly.
ok mpi@
|
|
ok mpi@
|
|
because the code that shuts down the firmware tsleep's to avoid system hangs.
ok mpi@
|
|
|
|
One layer which handles PCI support and low-level packet processing.
And another layer which handles ioctls, net80211 state transitions,
and all communication with the chip. The plan is to eventually merge
corresponding code from urtwn(4) in here.
ok mpi@
|
|
|
|
|
|
|
|
|
|
lots of agreement.
|
|
Reduce differences with amd64.
Inputs from mikeb@, ok mlarkin@
|
|
|
|
ok mlarkin@
|
|
Put addresses instead of registers inside db_regs[] to match what other
archs do and to get rid of db_setf_regs().
|
|
conversion function in vmm.c
Increase the size of the pending interrupt field from uint8_t to uint16_t.
|
|
Needed for ongoing interrupt controller work.
|
|
previously mpw would walk around our interface hierarchy so it could
reinject vlan tags for packets that were received on a stack of
vlan interfaces. this got in the way of making vlan mpsafe, but is
also unecessary according to how i read RFC 4448 which describes
how mpls pseudowires should function.
the behaviour is now:
- in raw mode mpw(4) acts like a normal ethernet interface
it no longer injects a tag from a vlan interface that may be on the
same bridge as it, and it allows you to configure ip addresses on
the local interface and use them without panicking the kernel.
- in tagged mode it will only add tags from vlan interfaces on the
same bridge as it, but not any parent/child tags from interfaces
on top of that vlan. if the packet did not come from a vlan interface
on a bridge it will inject a tag for vlan 0.
this will also allow vlan to move forward.
ok mpi@ rzalamena@ claudio@
|
|
(makes KASSERT() in pf_test() to go away)
Thanks to Mark and Mattieu for quick testing
OK mpi@
|
|
work in revamping the interrupt controller code.
|
|
printing the wrong function name.
|
|
|
|
respective .c files.
ok mpi@
|
|
|
|
ok mpi@ millert@
|
|
ok zhuk@ deraadt@
|