diff options
Diffstat (limited to 'lib/util/util.h')
-rw-r--r-- | lib/util/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/util/util.h b/lib/util/util.h index e1160d5a3e..2d4a02549f 100644 --- a/lib/util/util.h +++ b/lib/util/util.h @@ -880,6 +880,11 @@ bool add_uid_to_array_unique(TALLOC_CTX *mem_ctx, uid_t uid, bool add_gid_to_array_unique(TALLOC_CTX *mem_ctx, gid_t gid, gid_t **gids, size_t *num_gids); +/** + * Allocate anonymous shared memory of the given size + */ +void *allocate_anonymous_shared(size_t bufsz); + /* run a command as a child process, with a timeout. |