summaryrefslogtreecommitdiff
path: root/utils/start-stop-daemon.c
AgeCommit message (Expand)AuthorFilesLines
2019-02-23s-s-d: Always refuse to parse a world-writable pidfile, except for /dev/nullGuillem Jover1-5/+8
2019-02-23s-s-d: Add new fatalv() and fatale() and use the latter for system errorsGuillem Jover1-57/+74
2019-02-23s-s-d: Make sure that we get a meaningful errno on parse_unsigned()Guillem Jover1-1/+1
2019-01-23s-s-d: Remove bogus comment about Linux user namespaces vs /dev/nullGuillem Jover1-2/+1
2019-01-23s-s-d: Do not sanity check the pidfile when it is specified as /dev/nullGuillem Jover1-2/+8
2019-01-23s-s-d: Move SO_PASSCRED setting into its own functionGuillem Jover1-4/+11
2019-01-23s-s-d: Only use SO_PASSCRED if definedGuillem Jover1-0/+2
2019-01-15s-s-d: Implement --notify-await and --notify-timeout optionsGuillem Jover1-0/+217
2019-01-15s-s-d: Move parse_unsigned() definition to the top of the fileGuillem Jover1-20/+20
2019-01-15s-s-d: Switch code to use new info() and debug() functionsGuillem Jover1-20/+37
2019-01-15s-s-d: Fix typoTrek1-1/+1
2019-01-15s-s-d: Fix typo in commentGuillem Jover1-1/+1
2019-01-15s-s-d: Print complete verbose linesGuillem Jover1-2/+2
2019-01-15s-s-d: Check whether standalone --pidfile use is secureGuillem Jover1-2/+38
2019-01-15s-s-d: Compare foundany against 0 instead of treating it like a booleanGuillem Jover1-1/+1
2018-08-30Switch from strchr() + strlen() to strchrnul()Guillem Jover1-4/+4
2018-08-01s-s-d: Do not leak a file descriptor on AIXGuillem Jover1-2/+8
2018-08-01s-s-d: Mark a literal integer long to avoid value truncationGuillem Jover1-1/+1
2018-03-26Use internerr() or BUG() instead of assert()Guillem Jover1-3/+5
2018-03-26s-s-d: Switch an internal error from a fatal() to a BUG() callGuillem Jover1-1/+1
2018-03-26s-s-d: Add support for new bug() function and BUG() macroGuillem Jover1-0/+19
2017-07-04s-s-d: Parse usernames and groupnames starting with digits correctlyGuillem Jover1-3/+3
2017-02-26s-s-d: Define _KMEMUSER for NetBSDGuillem Jover1-0/+3
2017-02-26s-s-d: Use correct struct kinfo_proc ruid submember on NetBSDGuillem Jover1-0/+2
2017-02-26s-s-d: Use 5-argument kvm_getprocs() call form on OpenBSDGuillem Jover1-0/+4
2017-02-26s-s-d: Rename err to ret as the former is a function on BSDsGuillem Jover1-3/+3
2017-01-22s-s-d: Use the new process executable support in GNU/HurdGuillem Jover1-0/+12
2017-01-22s-s-d: Use proc_stat_pid() instead of accessing the member directlyGuillem Jover1-1/+1
2016-10-30s-s-d: Port process handling to AIXGuillem Jover1-3/+74
2016-10-30s-s-d: Cleanup OS* macrosGuillem Jover1-64/+64
2016-10-30s-s-d: Port process handling to Mac OS XGuillem Jover1-0/+87
2016-10-30s-s-d: On FreeBSD return STATUS_UNKNOWN instead of false in do_procinit()Guillem Jover1-4/+4
2016-10-30s-s-d: Handle _POSIX_PRIORITY_SCHEDULING being defined to -1 or 0Guillem Jover1-3/+3
2016-10-30s-s-d: Use reserved system preprocessor symbolsGuillem Jover1-3/+3
2016-07-03s-s-d: Simplify action dispatching in main()Guillem Jover1-12/+4
2016-07-03s-s-d: Switch do_start() to return a value instead of exit()ing directlyGuillem Jover1-4/+4
2016-07-03s-s-d: Set return buffer length for sysctl(2) calls on */kFreeBSDGuillem Jover1-3/+6
2016-07-03s-s-d: Fix number of entries computation returned by sysctl() on */kFreeBSDGuillem Jover1-1/+1
2016-05-09s-s-d: Use a heap allocated formatted string for what to stopGuillem Jover1-11/+18
2016-05-03s-s-d: Initialize nentries from sysctl(2) on */kFreeBSDGuillem Jover1-0/+1
2016-05-03s-s-d: Rename sysctl() name variables to mibGuillem Jover1-30/+30
2016-04-01s-s-d: Switch kFreeBSD to use sysctl(3)Guillem Jover1-0/+102
2016-04-01s-s-d: Unify --help output with the rest of the toolsGuillem Jover1-38/+52
2015-09-21s-s-d: Do not set changegroup unconditionallySven Joachim1-4/+5
2015-09-17s-s-d: Remove now unused xstrdup() functionGuillem Jover1-11/+0
2015-09-15s-s-d: Fix short-lived memory leak when parsing --chuidGuillem Jover1-1/+1
2015-09-14s-s-d: Fix short-lived memory leaksGuillem Jover1-13/+30
2015-05-09s-s-d: Cleanup timespec_mul()Guillem Jover1-3/+4
2015-05-09s-s-d: Switch to use a monotonic clock if availableGuillem Jover1-0/+7
2015-05-09s-s-d: Switch to use timespec instead of timevalGuillem Jover1-23/+53