diff options
author | Jeremy Allison <jra@samba.org> | 2008-10-09 09:49:03 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-10-09 09:49:03 -0700 |
commit | e5692d4cbe70dc4f2aba88db4fa3b68c572c6142 (patch) | |
tree | f67b14c975fbf018ac4bbaf947230b95c077a8ed /source3/lib/secdesc.c | |
parent | 45b359a77f006a366837efa3ad51570942bc4faa (diff) | |
download | samba-e5692d4cbe70dc4f2aba88db4fa3b68c572c6142.tar.gz |
Remove SEC_ACCESS. It's a uint32_t.
Jeremy.
Diffstat (limited to 'source3/lib/secdesc.c')
-rw-r--r-- | source3/lib/secdesc.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/source3/lib/secdesc.c b/source3/lib/secdesc.c index 4965200bc1..52ff067d6a 100644 --- a/source3/lib/secdesc.c +++ b/source3/lib/secdesc.c @@ -512,7 +512,7 @@ SEC_DESC_BUF *se_create_child_secdesc(TALLOC_CTX *ctx, SEC_DESC *parent_ctr, if (!inherit) continue; - init_sec_access(&new_ace->access_mask, ace->access_mask); + new_ace->access_mask = ace->access_mask; init_sec_ace(new_ace, &ace->trustee, ace->type, new_ace->access_mask, new_flags); @@ -546,14 +546,3 @@ SEC_DESC_BUF *se_create_child_secdesc(TALLOC_CTX *ctx, SEC_DESC *parent_ctr, return sdb; } - -/******************************************************************* - Sets up a SEC_ACCESS structure. -********************************************************************/ - -void init_sec_access(uint32 *t, uint32 mask) -{ - *t = mask; -} - - |