diff options
Diffstat (limited to 'src/charon/daemon.h')
-rw-r--r-- | src/charon/daemon.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/charon/daemon.h b/src/charon/daemon.h index 3633e4555..3bde9a25d 100644 --- a/src/charon/daemon.h +++ b/src/charon/daemon.h @@ -303,6 +303,15 @@ struct daemon_t { gid_t gid; /** + * Do not drop a given capability after initialization. + * + * Some plugins might need additional capabilites. They tell the daemon + * during plugin initialization which one they need, the daemon won't + * drop these. + */ + void (*keep_cap)(daemon_t *this, u_int cap); + + /** * Shut down the daemon. * * @param reason describtion why it will be killed |