diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2024-05-07 22:06:36 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2024-05-07 22:06:36 +0000 |
| commit | 15e3e402c59089514f590bab8804f0ed60f0fee3 (patch) | |
| tree | e29847fcb9b5e3913c3e4f83b11af62b30d225bc /src/include | |
| parent | b827410052a640f65650d1b72d5f63d9ada28933 (diff) | |
| download | s6-15e3e402c59089514f590bab8804f0ed60f0fee3.tar.gz | |
Add process group support to s6-supervise
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/s6/supervise.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/s6/supervise.h b/src/include/s6/supervise.h index 066cb50..dc71cea 100644 --- a/src/include/s6/supervise.h +++ b/src/include/s6/supervise.h @@ -12,7 +12,7 @@ #define S6_SUPERVISE_EVENTDIR "event" #define S6_SVSCAN_CTLDIR ".s6-svscan" #define S6_SVSTATUS_FILENAME S6_SUPERVISE_CTLDIR "/status" -#define S6_SVSTATUS_SIZE 35 +#define S6_SVSTATUS_SIZE 43 #define S6_DTALLY_FILENAME S6_SUPERVISE_CTLDIR "/death_tally" #define S6_MAX_DEATH_TALLY 4096 @@ -26,6 +26,7 @@ struct s6_svstatus_s tain stamp ; tain readystamp ; pid_t pid ; + pid_t pgid ; int wstat ; unsigned int flagpaused : 1 ; unsigned int flagfinishing : 1 ; @@ -38,6 +39,7 @@ struct s6_svstatus_s .stamp = TAIN_ZERO, \ .readystamp = TAIN_ZERO, \ .pid = 0, \ + .pgid = 0, \ .wstat = 0, \ .flagpaused = 0, \ .flagfinishing = 0, \ |
