diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-03-22 08:27:58 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-03-22 17:15:10 +0100 |
commit | 01f2c023f7d2a4b0e016676638a062a5ba29ec0b (patch) | |
tree | 3aec66024fd8a61aebd50b6d6824fff3581c883c /lib/util/util.h | |
parent | 13400a6589a20452097bc338fa742d834bbd6a34 (diff) | |
download | samba-01f2c023f7d2a4b0e016676638a062a5ba29ec0b.tar.gz samba-01f2c023f7d2a4b0e016676638a062a5ba29ec0b.tar.bz2 samba-01f2c023f7d2a4b0e016676638a062a5ba29ec0b.zip |
lib/util: add allocate_anonymous_shared()
metze
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. |