summaryrefslogtreecommitdiff
path: root/usr.bin/sndiod
AgeCommit message (Expand)Author
2016-01-08don't call unlink() to delete socket as this would require cpathAlexandre 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
2016-01-08On programming error, flush log buffer and abort() rather thanAlexandre Ratchov
2016-01-08Use unorderd list to store sub-device configuration (we don't useAlexandre Ratchov
2016-01-08remove redundant debug messageAlexandre Ratchov
2016-01-08Don't calculate clock deltas is there are no time-outs. Removes (harmless)Alexandre Ratchov
2016-01-07Move sndiod man page to section 8.Alexandre Ratchov
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