On recent snapshots, 'sysctl kern.audio.record' is broken:
$ sysctl kern.audio.record
sysctl: kern.audio.record: specification is incomplete
It works for me again after reverting this commit:
https://github.com/openbsd/src/commit/19686eace8335789f669ab42af1dd151660ec9a8
commit 19686eace8335789f669ab42af1dd151660ec9a8
Author: mvs <[email protected]>
Date: Tue Aug 20 07:44:36 2024 +0000
Unlock sysctl_audio().
It is the only KERN_AUDIO_RECORD. `audio_record_enable' is atomically
accessed integer.
Reasonable from deraadt
--
Renato Aguiar