summaryrefslogtreecommitdiff
path: root/libcli/security/secacl.c
AgeCommit message (Collapse)AuthorFilesLines
2024-11-12libcli: Convert an int to a size_tVolker Lendecke1-1/+1
More appropriate for an array length Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
2023-03-09libcli/security: Avoid includes.hVolker Lendecke1-1/+1
Don't rebuild libcli/security when not necessary Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2021-01-22libcli: make_sec_acl() copies the ace_list, make that constVolker Lendecke1-3/+5
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2014-05-29libcli/security: remove dup_sec_acl()David Disseldorp1-12/+0
With make_sec_desc() converted to use security_acl_dup(), which offers the same behaviour, this function is no longer needed. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-12-14secacl: Slightly simplify make_sec_aclVolker Lendecke1-3/+6
This avoids a complex if-expression Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Dec 14 00:10:21 CET 2013 on sn-devel-104
2013-12-13secacl: Fix a memleak in an error pathVolker Lendecke1-0/+1
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2013-12-13secacl: Don't use talloc_zeroVolker Lendecke1-1/+4
We initialize all but one field anyway Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2013-12-13secacl: Fix whitespaceVolker Lendecke1-11/+11
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2011-03-19libcli/: Fix prototypes for all functions.Jelmer Vernooij1-0/+1
2010-10-24libcli/security Remove unused sec_acl_equal()Andrew Bartlett1-46/+0
This was orphaned by changing sec_desc_equal() to the stricter security_descriptor_equal() by f4195183a47b0e7c8bc9644d62b123f7880f3fcd in 2009. (The difference here was that sec_acl_equal allowed for equivilent ordering. I've checked the callers, and this function is only used to skip actual ACL sets, or to reference a cache, so this seems Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Oct 24 22:21:23 UTC 2010 on sn-devel-104
2009-07-14Create a correct talloc hierarchy in make_sec_acl()Volker Lendecke1-1/+1
2009-03-02libcli/security: fix the source4 buildStefan Metzmacher1-0/+1
metze
2009-03-02libcli/security: fix the source3 buildStefan Metzmacher1-1/+1
metze
2009-03-01Move secacl to top-level.Jelmer Vernooij1-0/+122