Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-05-26 | s-s-d: Refactor process schedule priority range checks | Guillem Jover | 1 | -10/+18 | |
Move into a new function, so we avoid warnings due to unused variables. | |||||
2009-05-22 | s-s-d: Use the same exact name for all Hurd OS macros | Guillem Jover | 1 | -9/+9 | |
Use the properly capitalized version of the macro. This fixes a FTBFS on GNU/Hurd due to a missmatched define usage. Regression introduced in fc860a55b26aee3d774ed010c43822491852bbc2. | |||||
2009-05-21 | s-s-d: Warn if --name argument is longer than supported by kernel | Guillem Jover | 1 | -0/+12 | |
Most kernels have a length limit on the process name stored in-kernel. For now the checks done on Linux compatible procfs might hit this limit and be unable to properly track the correct process. So warn in that case and recommend switching to the more reliable --exec. Closes: #353015, #519128 | |||||
2009-05-21 | s-s-d: Add new warning function | Guillem Jover | 1 | -2/+13 | |
Switch a previous ad-hoc warning message to use the new warning function, which additionally properly prints to stderr. | |||||
2009-05-10 | s-s-d: Print valid values for IO scheduler class in --help output | Guillem Jover | 1 | -0/+3 | |
2009-05-10 | s-s-d: Only print fatal errno string if it was non-zero | Guillem Jover | 1 | -1/+5 | |
2009-05-10 | s-s-d: Preserve faulting errno when printing reason in fatal function | Guillem Jover | 1 | -1/+2 | |
2009-03-27 | Global review of error checking associated to strtol functions | Raphael Hertzog | 1 | -1/+1 | |
Several calls to strtol() or strtoul() are not followed by a proper check that ensures that they have parsed an integer value (and not an empty string). | |||||
2009-02-26 | s-s-d: Support setting the IO scheduler class and priority | Chris Coulson | 1 | -1/+97 | |
Add new option -I, --iosched <class[:priority]>. Closes: #443535 Signed-off-by: Guillem Jover <guillem@debian.org> | |||||
2009-01-23 | Cleanup .gitignore files | Guillem Jover | 1 | -5/+0 | |
Move common ignore matches to the top-level .gitignore. Force directory matching by adding a trailing /. Remove unused matches (enoent). Add missing matches (t.tmp and autom4te.cache/). | |||||
2009-01-14 | s-s-d: Support setting the process scheduler policy and priority | Guillem Jover | 1 | -1/+89 | |
Add new option -P, --procsched <policy[:priority]>. Closes: #175740 | |||||
2009-01-14 | s-s-d: Use a new xstrdup that never returns NULL instead of strdup | Guillem Jover | 1 | -1/+12 | |
2009-01-10 | s-s-d: Behave the same way whether --chuid gets a user name or a uid | Guillem Jover | 1 | -2/+7 | |
Otherwise it was failing to setup the default group for the user if it had not been specified and the HOME environment variable. Closes: #368000 | |||||
2009-01-04 | s-s-d: Use SIGTERM instead of literal 15 | Guillem Jover | 1 | -1/+1 | |
2008-08-26 | Unify inclusion usage of config.h | Guillem Jover | 1 | -1/+1 | |
Do not include it from header files. And use <> instead of "". | |||||
2008-08-04 | s-s-d: Use kill instead of /proc to check for pid existence | Guillem Jover | 1 | -10/+5 | |
2008-08-04 | s-s-d: When checking for a pid call pid_is_exec on KVM systems | Guillem Jover | 1 | -0/+3 | |
2008-08-04 | s-s-d: Move alternative function implementations together | Guillem Jover | 1 | -182/+179 | |
2008-08-04 | s-s-d: Use proper UTF-8 mu symbol for the unit in the comment | Guillem Jover | 1 | -1/+1 | |
2008-03-16 | s-s-d: Move 'return' inside preprocessor conditionals | Erast Benson | 1 | -1/+2 | |
So that it does not just return on non-handled OSes. | |||||
2008-03-16 | s-s-d: Use __sun instead of __sparc__ to define OSsunos | Erast Benson | 1 | -1/+1 | |
2008-03-11 | Move GNU C attribute definitions to lib/dpkg-def.h | Guillem Jover | 1 | -12/+2 | |
2008-02-04 | Use functions from libcompat when those are not provided by the system | Guillem Jover | 1 | -1/+1 | |
2008-01-30 | s-s-d: Documentation improvements | Justin Pryzby | 1 | -4/+4 | |
Cosmetic fixes to start-stop-daemon output and man page. Document that --chuid will change the group even if it has not been specified. Add EXIT STATUS and EXAMPLE sections to man page. | |||||
2008-01-28 | Rename getopt to libcompat | Guillem Jover | 1 | -2/+2 | |
2008-01-25 | s-s-d: Use system timersub and fix timeval normalization in multiplication | Andreas PĂ„hlsson | 1 | -17/+4 | |
Closes: #462225 | |||||
2008-01-22 | s-s-d: Fix timeout computations for --retry option | Guillem Jover | 1 | -46/+29 | |
This has not worked properly for a long time (maybe never), but came to light due to #460903's fix. Closes: #462104 | |||||
2008-01-22 | s-s-d: Fix segfault when using --group w/o --chuid | Guillem Jover | 1 | -3/+3 | |
As a side effect, using --group alone works for the first time in years. Closes: #462072 | |||||
2008-01-22 | s-s-d: Properly set the supplementary groups on --chuid | Guillem Jover | 1 | -29/+17 | |
Set the supplementary groups if the real user or group are different than the ones we should switch to. Closes: #462075 | |||||
2008-01-22 | s-s-d: Change uid after changing gid and initalizing supplementary groups | Guillem Jover | 1 | -4/+4 | |
Closes: #462018 | |||||
2008-01-21 | s-s-d: Fix signed vs unsigned warning when comparing to getuid and getgid | Guillem Jover | 1 | -2/+3 | |
2008-01-21 | Use external gettext intl library | Guillem Jover | 1 | -1/+1 | |
When porting to other systems without gettext functionality, other applications might need it as well, so either use --with-libintl-prefix for a global library, or disable NLS support. | |||||
2008-01-21 | s-s-d: Refactor max open fd into a new function and coalesce close loop | Guillem Jover | 1 | -7/+11 | |
2008-01-20 | s-s-d: Change from 'Mandatory' to 'Matching' in --help output | Guillem Jover | 1 | -1/+1 | |
Suggested by Justin Pryzby. | |||||
2008-01-18 | s-s-d: Clarify in help output that --name is one of the required options | Guillem Jover | 1 | -5/+7 | |
Closes: #354999 | |||||
2008-01-18 | s-s-d: Add missing semicolon | Guillem Jover | 1 | -1/+1 | |
2008-01-17 | s-s-d: Move version output from --help to --version | Guillem Jover | 1 | -6/+10 | |
2008-01-17 | s-s-d: Check uid and gid before calling setuid, setgid and initgroups | Guillem Jover | 1 | -5/+32 | |
Based on a patch by Samuel Thibault. Closes: #222524 | |||||
2008-01-16 | s-s-d: Make --quiet silence --test | Guillem Jover | 1 | -5/+8 | |
Closes: #367998 | |||||
2008-01-16 | s-s-d: Keep retrying even if the daemon removed the pidfile | Guillem Jover | 1 | -1/+6 | |
Closes: #460903 | |||||
2008-01-16 | s-s-d: Fix indentation | Guillem Jover | 1 | -161/+169 | |
2008-01-16 | Use the perl POSIX module instead of the enoent helper binary | Guillem Jover | 2 | -17/+0 | |
2008-01-16 | Use NULL instead of 0 | Guillem Jover | 1 | -10/+10 | |
2008-01-07 | Fix signed vs unsigned value comparisons | Guillem Jover | 1 | -3/+3 | |
Those were making some code to never be executed. This fixes most of the bugs introduced with commit ea93ed48c17445d01b67f3fa8a20a5a644a89e5b. | |||||
2008-01-02 | s-s-d: Remove redundant function declarations | Guillem Jover | 1 | -5/+0 | |
2008-01-02 | Use NONRETURNING and PRINTFFORMAT instead of NONRETURNPRINTFFORMAT attribute | Guillem Jover | 1 | -3/+1 | |
2008-01-01 | s-s-d: Do not print 'failed to kill' warning when doing pid polling | Samuel Thibault | 1 | -2/+3 | |
Closes: #157305, #352554 | |||||
2007-11-29 | Define several private functions and variables as static | Guillem Jover | 1 | -1/+1 | |
2007-08-10 | Add *.o to .gitignore. | Guillem Jover | 1 | -0/+1 | |
2007-05-15 | * utils/start-stop-daemon.c (daemonize): Use _exit instead of exit, to | Guillem Jover | 1 | -2/+2 | |
avoid side effects while the parents terminate. |