Age | Commit message (Collapse) | Author |
|
ok mlarkin
|
|
|
|
getpass(3), so don't specifically allow it for "rpath" (rpath will
accept it in the end, unless it is on the whitelist)
|
|
|
|
|
|
ok sashan@
|
|
|
|
|
|
Prevent lazy developers, like David and I, to use atomic operations
without including <sys/atomic.h>.
ok dlg@
|
|
This has been masked because <sys/srp.h> is pulled unconditionally.
ok dlg@
|
|
Incoherency brought by jmc@ and schwarze@ because the SYNOPSIS of the
corresponding manual do not match its NAME.
This is one step further in the zs(4) unification... Go dokey go!
Tested by jmatthew@, ok sebastia@, deraadt@
|
|
|
|
people with old/broken batteries didn't like this change, and the
underlying heuristics are wrong.
|
|
found by deraadt@
|
|
|
|
Intel Thunderbolt controller, as this model was introduced in 2012, and the
second generation controllers were introduced in 2013.
|
|
|
|
|
|
also, to satisfy midlayers that some fs/install tools need.
|
|
discovered by rpe
|
|
has been removed upstream as well.
|
|
stack, is currently set to 25%. With 25% battery left, a typical
modern laptop will have at least one hour runtime left. It is an
arbitrary value, and other APM power layers in the kernel set CRITICAL
to something like 5% or 10%, so set it to 10% for now.
OK mlarkin@
|
|
ok kettenis@
|
|
interrupt line register as the irq number doesn't really work as the contents
of that register might be 0, and the code has checks for non-zero irq
numbers in places. Insteadmake drm_dev_to_irq() return -1, which is an
obviously bogus, but non-zero value.
This should fix inteldrm(4) on recent Apple hardware.
|
|
pcengines APU.
ok deraadt@
|
|
As Kenjiro Cho pointed out it is very hard to cancel a dequeue operation
for some queueing disciplines when such it keeps some internal states.
As you can see, APIs can also Live Fast & Die Young.
ok dlg@
|
|
requested by sashan@
|
|
Inputs from and ok florian@, ok sthen@, visa@, sashan@
|
|
ok sthen@, visa@, sashan@, florian@
|
|
Return EAGAIN in this case:
# vmmctl -d
vmmctl: disable VMM command failed (35) - Resource temporarily unavailable
ok mlarkin@
|
|
Currently one MUST do "vmmctl -e" before creating a vm with "vmm -S ...".
Lately this could be done automagically by vmd(8) but the kernel should
not allow things that wont fly.
While here, disable vmm mode in error path if at least one of the CPUs
failed to enable it.
ok mlarkin@
|
|
ok mlarkin@
|
|
dont check if its busy at all, actually.
fine with reyk@
|
|
with pledge_socket(p, -1, state) we only check for "dns" promise against SS_DNS
socket. But it isn't possible to pass a SS_DNS socket to listen(2) or accept(2)
(EINVAL). So this deeper check is a bit useless...
ok deraadt@
|
|
|
|
|
|
hfsc needed a rollback ifqop to requeue the mbuf because it used
ml_dequeue in the begin op. now it uses MBUF_LIST_FIRST to get a
ref to the first mbuf in deq_begin.
now the disciplines dont need a rollback op, so ifq_deq_rollback
can be simplified to just releasing the mutex.
based on a discussion with kenjiro cho
|
|
found by deraadt@
|
|
MBUF_LIST_FOREACH is then rewritten on top of those.
this makes it easier to get at the head of a list too, which may make
the hfsc ifq backend nicer.
based on a discussion with kenjiro cho
ok mpi@
|
|
also. The idea is much like rpath is with files, you get an fd and then
you can play with it somewhat. In the socket space once you have a fd, you
can play with it somewhat. So you cannot bind, but you can accept. You
can listen, getpeername, getsockname, and of course set/getsockopt is
somewhat available.. yes, this makes pledge the anti-capsicum, kind of
like salt from Secovlje.. reasoning due to a conversation with tedu
|
|
to mmap, but thinking about it nothing feels risky
Long discussions with florian
|
|
few disklabel ioctls, and the DIOCMAP ioctl against /dev/diskmap used
to translate duid numbers into partitions.
This will allow pledging of at least 12 disk/filesystem aware
programs; due to the negative impact that diff will wait a bit so
everyone has a chance to update their kernels.
ok semarie
|
|
link is down.
ok mpi@
|
|
|
|
ifidx uninitialised for the gateway not directly reachable case.
ok mpi@
|
|
KERNE_LOCK.
A piece is still not right as many peole reported a "watchdog timeout"
problem.
This basically brings us back to r1.305.
ok dlg@, jmatthew@
|
|
Allows us to get rid of mq_requeue(9) and IFQ_POLL(9) because wireless
drivers use a special queue for management frames.
Tested by stsp@, ok dlg@, stsp@
|
|
The thread detaching an interface will sleep until all references to this
interface have been released. So we decided to only keep references for
a short period of time.
Keeping if_ref() private will hopefully help preserve this goal as long
as it makes sense.
Calling if_get()/if_put() in the same function also allows us to make
use of static analysis tools (thanks jsg@!) to catch our errors.
ok dlg@
|
|
destroyed during our sleep.
No objection from the slackers.
|
|
support for sppp with framing, simplifying things. Remove unused ifdefs while
there.
"sppp will go away before it gets used for something else" dlg@
|