The following commit has been merged in the master branch: commit 6de064f083117ed6944d629baf7b543818edcf30 Author: Guillem Jover <guil...@debian.org> Date: Thu Apr 28 09:44:20 2011 +0200
s-s-d: Add process name kernel limits for several systems Specifically: Solaris, NetBSD, OpenBSD, FreeBSD and Darwin. diff --git a/debian/changelog b/debian/changelog index 106a2f8..4136af8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -49,6 +49,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low * Clarify “EXIT STATUS” section in man pages by using a table. * Add a --status command to start-stop-daemon returning LSB Init Script status action exit codes. + * Add start-stop-daemon process name kernel limits for Solaris, NetBSD, + OpenBSD, FreeBSD and Darwin. [ Updated man page translations ] * German (Helge Kreutzmann). diff --git a/utils/start-stop-daemon.c b/utils/start-stop-daemon.c index e954a24..2fba385 100644 --- a/utils/start-stop-daemon.c +++ b/utils/start-stop-daemon.c @@ -118,6 +118,16 @@ #if defined(OSLinux) /* This comes from TASK_COMM_LEN defined in Linux's include/linux/sched.h. */ #define PROCESS_NAME_SIZE 15 +#elif defined(OSsunos) +#define PROCESS_NAME_SIZE 15 +#elif defined(OSDarwin) +#define PROCESS_NAME_SIZE 16 +#elif defined(OSNetBSD) +#define PROCESS_NAME_SIZE 16 +#elif defined(OSOpenBSD) +#define PROCESS_NAME_SIZE 16 +#elif defined(OSFreeBSD) +#define PROCESS_NAME_SIZE 19 #endif #if defined(SYS_ioprio_set) && defined(linux) -- dpkg's main repository -- To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org