summaryrefslogtreecommitdiff
path: root/usr.bin/sndiod/sndiod.c
AgeCommit message (Expand)Author
2020-06-18Don't try to open device that's already openAlexandre Ratchov
2020-04-25If no -f options are used, expose first 4 audio(4) devices to clientsAlexandre Ratchov
2020-04-01If no -q options are used, expose first 8 midi(4) devices to sndiod clientsAlexandre Ratchov
2020-02-26Add API to control audio device parameters exposed by sndiod.Alexandre Ratchov
2019-09-21Lower the default audio block size from 20ms to 10ms.Alexandre Ratchov
2019-09-21Allow switching between devices without disconnecting clients.Alexandre Ratchov
2019-06-29Check if syscalls return -1 instead of any negative or non-zero value.Alexandre Ratchov
2018-08-08Use unveil(2) in the helper process to disallow access to other filesAlexandre Ratchov
2018-06-26Replace the gloal opt list with per-device lists.Alexandre Ratchov
2016-10-20Move initialization of the helper process in its own routine to makeAlexandre Ratchov
2016-03-23Remove unused arguments of dev_adjpar(), getbasepath() and allAlexandre Ratchov
2016-01-09Check in advance that the socket path is a directory and report theAlexandre Ratchov
2016-01-09Remove trailing '\n' from strings passed to err(1)Alexandre Ratchov
2016-01-08Make code fit in 80 columns, remove trailing spaces & tabs.Alexandre Ratchov
2016-01-08move code to add a midi port in a new mkport() routineAlexandre Ratchov
2016-01-08Make mkopt() return NULL on failureAlexandre Ratchov
2016-01-08Unbreak support for multiple -L options.Alexandre Ratchov
2016-01-08No need to include sys/queue.hAlexandre Ratchov
2016-01-08Make listen_new_xxx() routines return NULL on failure and check theAlexandre Ratchov
2015-12-23Add pledge calls to both "helper" and "worker" processes.Alexandre Ratchov
2015-12-23fix false-positive "uninitialized" gcc warningAlexandre Ratchov
2015-12-23Call getpwname() earlier, and if it fails, return the properAlexandre Ratchov
2015-12-21Don't attempt to remove unix socket as it's owned by root andAlexandre Ratchov
2015-12-20In case of a bug in sndiod, an attacker (a local user) could runAlexandre Ratchov
2015-11-26Cleanup in the opposite order as initialization, inline privdrop()Alexandre Ratchov
2015-11-24remove unused test when handling of -U optionAlexandre Ratchov
2015-11-23Remove unused -M option (2+ years get used to it is enough)Alexandre Ratchov
2015-11-23Save and restore umask when creating /tmp/aucat/ to ensure theAlexandre Ratchov
2015-11-22Disallow multiple -L options and remove the constraint -U toAlexandre Ratchov
2015-11-18disable networking (i.e. -L option) until privilege separation isAlexandre Ratchov
2015-10-02Replace %s in the format string, with its value (macro).Alexandre Ratchov
2015-10-02As the socket path is known, use its size rather that PATH_MAX.Alexandre Ratchov
2015-10-02use macros instead of hard-coded strings for unix sockets pathsAlexandre Ratchov
2015-04-26Fix typo in the buffer size value: 7680 in the manpage vs 7860 inDavid Coppa
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-03-05remove unused "autostart" featureAlexandre Ratchov
2013-11-18add missing prototypesAlexandre Ratchov
2012-12-01Parse "-m mode1,mode2,.. " strings strictly.Alexandre Ratchov
2012-11-30use the hold flag for midi ports as wellAlexandre Ratchov
2012-11-23add a -M flag that does nothing; allows setups with -M in sndiod_flagsAlexandre Ratchov
2012-11-23Remplace aucat server by a new sndiod daemon aimed to be simplerAlexandre Ratchov