Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-30 | Use CLOCK_UPTIME instead of CLOCK_MONOTONIC, as the later makes jumps | Alexandre Ratchov | |
during suspend/resume cycles which triggers watchdog time-outs and in turn prevents sndiod from resuming. | |||
2016-05-25 | Don't warn when read or write block at cycle boundary, this may | Alexandre Ratchov | |
happen when remote devices are used and is not an error. | |||
2016-05-25 | Assert we're not freeing buffers we didn't allocate | Alexandre Ratchov | |
2016-05-25 | Log files skipped during poll() as well, and flush the log buffer | Alexandre Ratchov | |
right before we call poll(). | |||
2016-05-25 | Set initial mixer slot name to "prog" to make all slots visible in | Alexandre Ratchov | |
audioctl and alike. | |||
2016-03-23 | Remove unused arguments of dev_adjpar(), getbasepath() and all | Alexandre Ratchov | |
slotops->onvol() implementations. From David CARLIER <devnexen at gmail.com>. Thanks. | |||
2016-03-23 | Align comments. From David CARLIER <devnexen at gmail.com>. Thanks. | Alexandre Ratchov | |
2016-01-18 | Allow time differences between two clock_gettime() calls to | Alexandre Ratchov | |
be up to 60s without logging a warning. | |||
2016-01-18 | Mention that "sndiod -d" doesn't daemonize and that | Alexandre Ratchov | |
the -d flag can be specified multiple times. Diff from Michael Reed <m.reed at mykolab.com>. Many thanks. | |||
2016-01-09 | Make midi->tickets signed (sign is needed for arithmetics even if the | Alexandre Ratchov | |
actual count is always positive). Found by David Coppa. Thanks. | |||
2016-01-09 | Check in advance that the socket path is a directory and report the | Alexandre Ratchov | |
error if it isn't. Fixes ugly/delayed error messages in this case. | |||
2016-01-09 | Remove trailing '\n' from strings passed to err(1) | Alexandre Ratchov | |
2016-01-09 | unexpand tabs | Alexandre Ratchov | |
2016-01-08 | Fix changes that last commit undid by mistake, sorry. | Alexandre Ratchov | |
2016-01-08 | Make code fit in 80 columns, remove trailing spaces & tabs. | Alexandre Ratchov | |
2016-01-08 | move code to add a midi port in a new mkport() routine | Alexandre Ratchov | |
2016-01-08 | Make mkopt() return NULL on failure | Alexandre Ratchov | |
2016-01-08 | Unbreak support for multiple -L options. | Alexandre Ratchov | |
2016-01-08 | don't call unlink() to delete socket as this would require cpath | Alexandre Ratchov | |
2016-01-08 | No need to include sys/queue.h | Alexandre Ratchov | |
2016-01-08 | Make listen_new_xxx() routines return NULL on failure and check the | Alexandre Ratchov | |
returned value wheneverer they are called. | |||
2016-01-08 | On programming error, flush log buffer and abort() rather than | Alexandre Ratchov | |
calling exit(). | |||
2016-01-08 | Use unorderd list to store sub-device configuration (we don't use | Alexandre Ratchov | |
order anymore). No behaviour change. | |||
2016-01-08 | remove redundant debug message | Alexandre Ratchov | |
2016-01-08 | Don't calculate clock deltas is there are no time-outs. Removes (harmless) | Alexandre Ratchov | |
warnings about out-of-bounds clock deltas. | |||
2016-01-07 | Move sndiod man page to section 8. | Alexandre Ratchov | |
suggested by deraadt, fixes from jmc, ok millert | |||
2015-12-25 | follwing -> following | Anthony J. Bentley | |
2015-12-25 | Don't set (unused) IPV6_V6ONLY option. | Alexandre Ratchov | |
suggested by deraadt | |||
2015-12-23 | Add pledge calls to both "helper" and "worker" processes. | Alexandre Ratchov | |
ok deraadt, semarie | |||
2015-12-23 | fix false-positive "uninitialized" gcc warning | Alexandre Ratchov | |
2015-12-23 | Call getpwname() earlier, and if it fails, return the proper | Alexandre Ratchov | |
exit code, so that the failure gets reported by /etc/rc. | |||
2015-12-23 | hide forgotten debug printfs | Alexandre Ratchov | |
2015-12-21 | Don't attempt to remove unix socket as it's owned by root and | Alexandre Ratchov | |
we've already dropped root privileges. | |||
2015-12-20 | In case of a bug in sndiod, an attacker (a local user) could run | Alexandre Ratchov | |
arbitrary code as user _sndio, i.e. get a second uid. Mitigate the risk by implementing initial privilege separation as follows. Break sndiod in two processes: a chroot()ed "worker" process processing input, and a non-chroot()ed "helper" process opening devices and passing descriptors to the worker. With help from benno, claudio, semarie and gilles. ok benno, semarie and tb | |||
2015-12-14 | Work on a copy of the slowaccept flag instead of the global one as | Alexandre Ratchov | |
it could change somewhere in the poll() loop. | |||
2015-12-07 | reset the slowaccept flag in sock_close() | Alexandre Ratchov | |
2015-11-26 | Cleanup in the opposite order as initialization, inline privdrop() | Alexandre Ratchov | |
function. No behaviour change. | |||
2015-11-25 | fix latest: don't set d->path as we just allocated it | Alexandre Ratchov | |
2015-11-25 | Allocate device names in the heap, so they can be generated. | Alexandre Ratchov | |
2015-11-25 | spacing | Alexandre Ratchov | |
2015-11-24 | remove unused test when handling of -U option | Alexandre Ratchov | |
2015-11-23 | define port_log even without -DDEBUG | Alexandre Ratchov | |
2015-11-23 | Remove unused -M option (2+ years get used to it is enough) | Alexandre Ratchov | |
2015-11-23 | If the clock is ticking because of a MMC start message, then stop | Alexandre Ratchov | |
it on exit. This avoids holding an extra ref to the device, in turn preventing sndiod from exitting cleanly. | |||
2015-11-23 | Save and restore umask when creating /tmp/aucat/ to ensure the | Alexandre Ratchov | |
directory gets the right permissions, as we do in other places. | |||
2015-11-23 | use device numbers stored in the dev structure rather than | Alexandre Ratchov | |
assuming dev_list is ordered | |||
2015-11-23 | Insert new ports at the head of the list and stop assuming its | Alexandre Ratchov | |
ordered. | |||
2015-11-22 | Disallow multiple -L options and remove the constraint -U to | Alexandre Ratchov | |
be used before -L. No behaviour change as -L is still disabled. | |||
2015-11-22 | save port number if port structure | Alexandre Ratchov | |
2015-11-18 | missing word; from jan stary | Jason McIntyre | |