diff options
-rw-r--r-- | lib/util/util.c | 2 | ||||
-rw-r--r-- | lib/util/util.h | 2 | ||||
-rw-r--r-- | source3/smbd/signing.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/util/util.c b/lib/util/util.c index 8928026e80..db71def4c4 100644 --- a/lib/util/util.c +++ b/lib/util/util.c @@ -937,7 +937,7 @@ bool next_token_no_ltrim_talloc(TALLOC_CTX *ctx, } /* Map a shared memory buffer of at least nelem counters. */ -void *allocate_anonymous_shared(size_t bufsz) +void *anonymous_shared_allocate(size_t bufsz) { void *buf; size_t pagesz = getpagesize(); diff --git a/lib/util/util.h b/lib/util/util.h index 86bb3daace..04ea20d07d 100644 --- a/lib/util/util.h +++ b/lib/util/util.h @@ -858,7 +858,7 @@ bool add_gid_to_array_unique(TALLOC_CTX *mem_ctx, gid_t gid, /** * Allocate anonymous shared memory of the given size */ -void *allocate_anonymous_shared(size_t bufsz); +void *anonymous_shared_allocate(size_t bufsz); /* run a command as a child process, with a timeout. diff --git a/source3/smbd/signing.c b/source3/smbd/signing.c index ad7fa872ad..65fe4571ce 100644 --- a/source3/smbd/signing.c +++ b/source3/smbd/signing.c @@ -175,7 +175,7 @@ bool srv_init_signing(struct smbd_server_connection *conn) } s->shm_size = 4096; s->shm_pointer = - (uint8_t *)allocate_anonymous_shared(s->shm_size); + (uint8_t *)anonymous_shared_allocate(s->shm_size); if (s->shm_pointer == NULL) { talloc_free(s); return false; |