summaryrefslogtreecommitdiff
path: root/source3/lib/privileges.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-11-28 13:41:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:11 -0500
commit15974508e8916e325563202f5fa7fad4f8514340 (patch)
tree12172e402ab852a0d6f9bd06c24cc56d23c78d4d /source3/lib/privileges.c
parentf1d492d11f4da7bbff883fefc3d8fcb71f08f67b (diff)
downloadsamba-15974508e8916e325563202f5fa7fad4f8514340.tar.gz
samba-15974508e8916e325563202f5fa7fad4f8514340.tar.bz2
samba-15974508e8916e325563202f5fa7fad4f8514340.zip
r19932: Add some const
(This used to be commit be3c444c37dc6f0ab91a2815a2efe6f7c38818c5)
Diffstat (limited to 'source3/lib/privileges.c')
-rw-r--r--source3/lib/privileges.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/lib/privileges.c b/source3/lib/privileges.c
index 344d636f5e..32535394c7 100644
--- a/source3/lib/privileges.c
+++ b/source3/lib/privileges.c
@@ -309,7 +309,8 @@ static BOOL set_privileges( const DOM_SID *sid, SE_PRIV *mask )
check if the privilege is in the privilege list
****************************************************************************/
-static BOOL is_privilege_assigned( SE_PRIV *privileges, const SE_PRIV *check )
+static BOOL is_privilege_assigned( const SE_PRIV *privileges,
+ const SE_PRIV *check )
{
SE_PRIV p1, p2;
@@ -740,7 +741,7 @@ NTSTATUS dup_luid_attr(TALLOC_CTX *mem_ctx, LUID_ATTR **new_la, LUID_ATTR *old_l
at a time here.
*****************************************************************************/
-BOOL user_has_privileges(NT_USER_TOKEN *token, const SE_PRIV *privilege)
+BOOL user_has_privileges(const NT_USER_TOKEN *token, const SE_PRIV *privilege)
{
if ( !token )
return False;