smbd: Add mem_ctx to sys_acl_init() and all callers
commit9158974540d0e311021f04789ed75ebda466c5b3
authorAndrew Bartlett <abartlet@samba.org>
Tue, 9 Oct 2012 23:18:32 +0000 (10 10:18 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 11 Oct 2012 01:25:11 +0000 (11 12:25 +1100)
tree5cdc75d2c7527e94df2bb9292d276cbf8e36499a
parenta4d1f2223abdb0db2a15742ebd59a611cc157443
smbd: Add mem_ctx to sys_acl_init() and all callers

This changes from allocation on NULL to allocation on the supplied
memory context.

Currently that supplied context is talloc_tos() at the the final consumer of
the ACL.

Andrew Bartlett
27 files changed:
examples/VFS/skel_opaque.c
examples/VFS/skel_transparent.c
source3/include/smb_acls.h
source3/include/vfs.h
source3/include/vfs_macros.h
source3/lib/sysacls.c
source3/modules/vfs_aixacl2.c
source3/modules/vfs_aixacl_util.c
source3/modules/vfs_aixacl_util.h
source3/modules/vfs_cap.c
source3/modules/vfs_catia.c
source3/modules/vfs_default.c
source3/modules/vfs_fake_acls.c
source3/modules/vfs_full_audit.c
source3/modules/vfs_gpfs.c
source3/modules/vfs_hpuxacl.c
source3/modules/vfs_media_harmony.c
source3/modules/vfs_posixacl.c
source3/modules/vfs_posixacl.h
source3/modules/vfs_solarisacl.c
source3/modules/vfs_time_audit.c
source3/modules/vfs_tru64acl.c
source3/smbd/posix_acls.c
source3/smbd/pysmbd.c
source3/smbd/trans2.c
source3/smbd/vfs.c
source3/torture/cmd_vfs.c