mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
smbd: Make "create_file_sids" static
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
2251c30528
commit
44925832b1
@ -911,7 +911,9 @@ static int map_acl_perms_to_permset(connection_struct *conn, mode_t mode, SMB_AC
|
||||
Function to create owner and group SIDs from a SMB_STRUCT_STAT.
|
||||
****************************************************************************/
|
||||
|
||||
void create_file_sids(const SMB_STRUCT_STAT *psbuf, struct dom_sid *powner_sid, struct dom_sid *pgroup_sid)
|
||||
static void create_file_sids(const SMB_STRUCT_STAT *psbuf,
|
||||
struct dom_sid *powner_sid,
|
||||
struct dom_sid *pgroup_sid)
|
||||
{
|
||||
uid_to_sid( powner_sid, psbuf->st_ex_uid );
|
||||
gid_to_sid( pgroup_sid, psbuf->st_ex_gid );
|
||||
|
@ -762,7 +762,6 @@ void reply_pipe_read_and_X(struct smb_request *req);
|
||||
|
||||
/* The following definitions come from smbd/posix_acls.c */
|
||||
|
||||
void create_file_sids(const SMB_STRUCT_STAT *psbuf, struct dom_sid *powner_sid, struct dom_sid *pgroup_sid);
|
||||
uint32_t map_canon_ace_perms(int snum,
|
||||
enum security_ace_type *pacl_type,
|
||||
mode_t perms,
|
||||
|
Loading…
Reference in New Issue
Block a user