Age | Commit message (Collapse) | Author |
|
device. This matches what Linux does and is a first step towards running
X without setuid or root priviliges.
ok jsg@
|
|
|
|
running a ports bulk without bumping anything else
(matches what's on amd64.ports and exopi)
ok sthen@ phessler@ espie@ naddy@
|
|
value is given for the off. found by nagasaka at IIJ.
ok deraadt
|
|
ok deraadt
|
|
It seems like sysupgrade(8) could use this to figure out if a new
snapshot is available.
|
|
reacharound
|
|
a miniroot.fs elsewhere (but not made available because noone needs it)
this reduces the diff delta further...
|
|
|
|
|
|
for files, which is tee'd out to tell installboot where the bootblocks
should point to..) Yes, someone could fix this, but it won't be me today!
|
|
|
|
|
|
ok nicm@ tobias@ cheloha@
|
|
If clock_gettime(CLOCK_MONOTONIC) fails here, something is really wrong.
Lots of userland already require it anyway. Removing the fallback code
means less code, less global state and less fiddling with the timeheap
internals.
ok nicm@ tedu@ tobias@ cheloha@
|
|
Fixes STALL errors in mixer requests causing the mixer to be unusable.
With help from Claus <claus at mailbox.org>. Thanks.
|
|
Pointed out by jsg, just fix it deraadt@
|
|
OK deraadt@
|
|
when a nested macro is called with an expression argument.
Prompted by -Wint-in-bool-context with gcc 8. ok kettenis@
|
|
it obviously needs to be called with the kernel lock held, so it
makes sense to check that so we can unlock more code without
introducing bugs that shoot us in the face in the indeterminate
future.
csignal is basically a wrapper around ptsignal, so calls to that
without the kernel lock should be caught by this too.
discussed with mpi@ on bugs@
|
|
|
|
operations that tweak the kq_head and kq_count need to be serialised
against the kevent syscall which also fumbles with the list and
count too.
these asserts would have made it extremely obvious where the tun(4)
bug was. for half the time of the bug report about it we werent
even sure it was tun(4)
discussed with mpi@ jmatthew@
|
|
tun_wakeup is called from the network stack, which generally runs
with NET_LOCK, not KERNEL_LOCK, which is a problem when it calls
into things like csignal or kq code. this started causing corruption
and panics of a list inside the kq code, which got reported to
bugs@.
this version of the fix is ok mpi@ (even though he hasn't seen it)
an earlier but far trickier fix was ok visa@
the bug was reported by Olivier Antoine, and again by jmc@ privately.
|
|
|
|
|
|
|
|
|
|
|
|
As ap192k and julia cards are very similar, this change will hopefully
help reusing part of the juilia codec initialization code as is in the
ap192k card code. No behavior change.
|
|
|
|
The set_rate method switches the AK5385 and the AK4358 chips between
single-, double- or quad-speed modes depending on the host sample
rate. This suppresses aliasing noise in 96kHz and 192kHz sample
rates.
Help and testing by Andrey Oktyabrskiy <ano at bestmx.net>. Thanks!
|
|
This allows to hook card-specific codec initialization code
called when the sample rate is changed. As codecs follow host
clock, this method will be typically used to switch between
simple-speed to double-speed modes when necessary.
|
|
|
|
of the Armada 3720 SoC as used on the Turris Mox.
|
|
The new GPIO state doesn't set masked bits and matches the default
48kHz sampling rate. As the codec uses the host clock, this is a
no-op, but this way the code is less confusing.
|
|
Tests and help from Andrey Oktyabrskiy <ano at bestmx.net>. Thanks.
|
|
ok mpi
|
|
This controller does not only support pinmuxing, but also includes
GPIO controller functionality. This is needed to e.g. turn on USB
VBus on the Turris Mox.
ok kettenis@
|
|
ok kettenis@
|
|
ok kettenis@
|
|
property. The definition is that a regulator with this property
should never be disabled.
ok kettenis@
|
|
|
|
prefer file name matches over .Dt/.TH matches over first NAME matches
over later NAME matches, but do not change the ordering for apropos(1)
nor for man -a.
This reverts main.c rev. 1.213 and mansearch.h rev. 1.23
and includes a partial revert of mansearch.c rev. 1.62.
Regression reported by Lorenzo Beretta <loreb at github>
as part of https://github.com/void-linux/void-packages/issues/9868 .
|
|
|
|
chpass(1) without parameters enters in edit mode by default, in here it will
need to execute _PATH_BSHELL to spawn a new EDITOR, _PATH_SHELLS to check
(read) if we are changing from/to a non-standard shell (in case we are not
root) and read access to `tempname' to verify if the file has valid entries and
create to unlink it.
If -s is used to change a user's shell then it will need read access to
_PATH_SHELLS by the same reason already mentioned above.
Unconditionally we need to unveil _PATH_MASTERPASSWD_LOCK with write/create
permissions, _PATH_MASTERPASSWD with read and _PATH_PWD_MKDB to execute
pwd_mkdb(8).
In the -a case I'm not unveiling /etc/spwd.db since we can get it through
pledge "getpw", which can be added later for completeness of all code paths.
Note also that the first pledges need "unveil" since we will call unveil(2)
afterwards.
"looks good" deraadt@
|
|
|
|
okay schwarze@, jmc@
|
|
|
|
Eliminate many more differences. When it makes sense, build bsd.rd
and miniroot/ramdisk.fs and cd.iso in the same directory. More steps
coming after this..
|
|
First it needs to open(2) `device' with read permissions, /dev/hotplug by
default but can be changed via arguments. Then it needs read/execute on both
_PATH_ETC_HOTPLUG_{ATTACH,DETACH} to access(2) and execl(3) them.
ok deraadt@
|