summaryrefslogtreecommitdiff
path: root/usr.bin/sndiod
AgeCommit message (Expand)Author
2015-12-25follwing -> followingAnthony J. Bentley
2015-12-25Don't set (unused) IPV6_V6ONLY option.Alexandre 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-23hide forgotten debug printfsAlexandre 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-12-14Work on a copy of the slowaccept flag instead of the global one asAlexandre Ratchov
2015-12-07reset the slowaccept flag in sock_close()Alexandre Ratchov
2015-11-26Cleanup in the opposite order as initialization, inline privdrop()Alexandre Ratchov
2015-11-25fix latest: don't set d->path as we just allocated itAlexandre Ratchov
2015-11-25Allocate device names in the heap, so they can be generated.Alexandre Ratchov
2015-11-25spacingAlexandre Ratchov
2015-11-24remove unused test when handling of -U optionAlexandre Ratchov
2015-11-23define port_log even without -DDEBUGAlexandre Ratchov
2015-11-23Remove unused -M option (2+ years get used to it is enough)Alexandre Ratchov
2015-11-23If the clock is ticking because of a MMC start message, then stopAlexandre Ratchov
2015-11-23Save and restore umask when creating /tmp/aucat/ to ensure theAlexandre Ratchov
2015-11-23use device numbers stored in the dev structure rather thanAlexandre Ratchov
2015-11-23Insert new ports at the head of the list and stop assuming itsAlexandre Ratchov
2015-11-22Disallow multiple -L options and remove the constraint -U toAlexandre Ratchov
2015-11-22save port number if port structureAlexandre Ratchov
2015-11-18missing word; from jan staryJason McIntyre
2015-11-18disable networking (i.e. -L option) until privilege separation isAlexandre Ratchov
2015-11-18say that network communication is not secureAlexandre 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-09-05In the last commit, the man-page change was committed by mistake,Alexandre Ratchov
2015-09-05typos in comments: xfree -> freeAlexandre Ratchov
2015-08-27backout previous for now, as it causes me portability problemsAlexandre Ratchov
2015-08-11Use INTIM instead of -1 as poll(2) time-out argument.Alexandre Ratchov
2015-08-11Don't call poll(2) with few millisecond time-out argument when -1Alexandre Ratchov
2015-08-01Move processing of polled files in its own function, and call itAlexandre Ratchov
2015-07-24Crank watchdog timeout from 2 to 4 seconds.Alexandre Ratchov
2015-07-24Log when device is disconnected.Alexandre Ratchov
2015-07-24Clear watchdog timer when device is closed, fixes use-after-free inAlexandre Ratchov
2015-07-17Use an offsets in the array of pollfd structures instead of pointers. NoAlexandre Ratchov
2015-07-17rename nfds to max_nfds, no object changeAlexandre Ratchov
2015-07-17Move non-debug varibles outside #ifdef DEBUG blockAlexandre Ratchov
2015-07-17Simplify debug info: log poll descriptors on a single line, recordAlexandre Ratchov
2015-07-17Stop using interval timers (not inherited by fork(2), obsolete inAlexandre Ratchov
2015-04-26Fix typo in the buffer size value: 7680 in the manpage vs 7860 inDavid Coppa
2015-02-16Check if slot is NULL, and if so, drop the connection. For now slotAlexandre Ratchov
2015-02-16add missing protos, fix spacingAlexandre Ratchov
2015-02-16Allow files to be skipped in the poll(2) event loop, in caseAlexandre Ratchov
2015-02-16Use signed integers as offset in the buffer (as aucat does) toAlexandre Ratchov
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-11-21Don't forget to transmit the xrun attribute in GETPAR messages. FoundAlexandre Ratchov