Re: accessing user memory from kernel

2021-04-19 Thread Mike Larkin
On Mon, Apr 19, 2021 at 11:27:29PM +0200, Alessandro Pistocchi wrote: > Hi all, > > I am playing around with openbsd kernel source code. > Is there any clean way of accessing a process' memory from inside the > kernel? > > Thanks, > Alessandro man copyin

accessing user memory from kernel

2021-04-19 Thread Alessandro Pistocchi
Hi all, I am playing around with openbsd kernel source code. Is there any clean way of accessing a process' memory from inside the kernel? Thanks, Alessandro

Re: sndio: way to play and record from different devices?

2021-04-19 Thread Alexandre Ratchov
On Mon, Apr 19, 2021 at 09:40:37AM -0500, Ax0n wrote: > I have a nice microphone attached to a USB sound device, but I'd like to > rely on my computer's built-in line out for speakers from the same program > (e.g. Audacity, Firefox). It feels like sndio might have some way to let > programs use

Re: sndio: way to play and record from different devices?

2021-04-19 Thread Stuart Henderson
On 2021-04-19, Ax0n wrote: > I have a nice microphone attached to a USB sound device, but I'd like to > rely on my computer's built-in line out for speakers from the same program > (e.g. Audacity, Firefox). It feels like sndio might have some way to let > programs use snd/0.play and snd/1.rec, or

sndio: way to play and record from different devices?

2021-04-19 Thread Ax0n
I have a nice microphone attached to a USB sound device, but I'd like to rely on my computer's built-in line out for speakers from the same program (e.g. Audacity, Firefox). It feels like sndio might have some way to let programs use snd/0.play and snd/1.rec, or a way to make snd/1 the default