mirror of
https://github.com/samba-team/samba.git
synced 2025-09-07 21:44:22 +03:00
lib: Make get_share_security_default static
Reviewed-by: Christof Schmitt <cs@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
committed by
Volker Lendecke
parent
ff40135a7c
commit
8d34b6735f
@@ -143,7 +143,6 @@ struct named_mutex *grab_named_mutex(TALLOC_CTX *mem_ctx, const char *name,
|
|||||||
/* The following definitions come from lib/sharesec.c */
|
/* The following definitions come from lib/sharesec.c */
|
||||||
|
|
||||||
NTSTATUS share_info_db_init(void);
|
NTSTATUS share_info_db_init(void);
|
||||||
struct security_descriptor *get_share_security_default( TALLOC_CTX *ctx, size_t *psize, uint32_t def_access);
|
|
||||||
struct security_descriptor *get_share_security( TALLOC_CTX *ctx, const char *servicename,
|
struct security_descriptor *get_share_security( TALLOC_CTX *ctx, const char *servicename,
|
||||||
size_t *psize);
|
size_t *psize);
|
||||||
NTSTATUS set_share_security(const char *share_name,
|
NTSTATUS set_share_security(const char *share_name,
|
||||||
|
@@ -267,7 +267,9 @@ NTSTATUS share_info_db_init(void)
|
|||||||
def_access is a GENERIC_XXX access mode.
|
def_access is a GENERIC_XXX access mode.
|
||||||
********************************************************************/
|
********************************************************************/
|
||||||
|
|
||||||
struct security_descriptor *get_share_security_default( TALLOC_CTX *ctx, size_t *psize, uint32_t def_access)
|
static struct security_descriptor *get_share_security_default(TALLOC_CTX *ctx,
|
||||||
|
size_t *psize,
|
||||||
|
uint32_t def_access)
|
||||||
{
|
{
|
||||||
uint32_t sa;
|
uint32_t sa;
|
||||||
struct security_ace ace;
|
struct security_ace ace;
|
||||||
|
Reference in New Issue
Block a user