Age | Commit message (Collapse) | Author |
|
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@
|
|
Do *not* install the CMS_* manuals for now given that the code is
currently disabled. Cluestick applied by jsing@.
|
|
|
|
get rid of the "LOSS OF MIND" joke. Haha. We keep on removing it and
it shows up again because it accidentally gets synced from somewhere
else. bgpd and ospfd don't have it anymore, but their offsprings
still carry it. If you see it, remove it, and, in the OpenBSD ISC
case, use the original text from /usr/share/misc/license.template.
All authors agree.
|
|
from Ricardo Mestre
|
|
lexers under gnu/ that define it this way, leading to badness.
fuller assessment and repairs probably forthmcoming.
discovered by deraadt on BE64 architectures (sparc64).
ok deraadt
|
|
|
|
a copy of the same log.c file is shared by relayd, httpd, iked, and
snmpd. No functional changes.
|
|
sync log.c with relayd and httpd - all three daemons are using a copy
of the same file now. Nevertheless, adding "extern int debug/verbose"
in util.c is not super nice but helps for now. No functional change.
|
|
used with -a in order to iterate on all users using getpwent(3).
ok matthieu@ pascal@
|
|
both daemons are now sharing the same file. No functional changes.
|
|
also shared with relayctl). This allows us to unify common log.c with
other daemons. It also clarifies the Copyright: log.c is by Henning,
relayd's additions were from me. No functional or code changes, but
it will make future updates easier.
|
|
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@
|
|
/usr/share/misc/terminfo.db for the moment). ok millert
|
|
|
|
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@
|
|
|
|
|
|
are aliases rather than actual things;
ok schwarze
|
|
|
|
|
|
from Ricardo Mestre
|
|
|
|
and Xgedit() to a new mechanism. Keep a copy of the old partition
and compare final edited version to that to decide if it is dirty.
Fixes a number of (but not all!) nits in editing partitions.
Original problem(s) noted by, suggestions from, much testing and
ok tim@
|
|
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@
|
|
the b* byte functions belong in strings.h, not string.h so break
them out of string.h into a new strings.h. As long as there is no
POSIX or X/OPEN define in use string.h will pull in strings.h.
OK naddy@ deraadt@
|
|
pledging "unix".
Move control_listen up to the main process which already has
pledge("unix"). accept(2) was already allowed.
(Technically no longer necessary since listen(2) is now allowed, too,
but this moves it to the right place.)
OK claudio@, deraadt@
|
|
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
|
|
ok djm@
|
|
|
|
found by tb@ and millert@; parts of the code, in particular in tag.c,
by millert@; OK millert@.
|
|
|
|
|
|
to mmap, but thinking about it nothing feels risky
Long discussions with florian
|
|
ok millert
|
|
server these days.
|
|
sense to document that posix more or less says something should happen,
and that it does.
jmc
|
|
|
|
|
|
|