Removes passing in smb_fname to fsp functions.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
*********************************************************************/
NTSTATUS fset_nt_acl_common(
- NTSTATUS (*get_acl_blob_fn)(TALLOC_CTX *ctx,
+ NTSTATUS (*fget_acl_blob_fn)(TALLOC_CTX *ctx,
vfs_handle_struct *handle,
files_struct *fsp,
- const struct smb_filename *smb_fname,
DATA_BLOB *pblob),
NTSTATUS (*store_acl_blob_fsp_fn)(vfs_handle_struct *handle,
files_struct *fsp,
discard_const_p(struct security_descriptor, orig_psd));
}
- status = get_nt_acl_common(get_acl_blob_fn, handle, fsp,
- NULL,
+ status = fget_nt_acl_common(fget_acl_blob_fn, handle, fsp,
SECINFO_OWNER|SECINFO_GROUP|SECINFO_DACL|SECINFO_SACL,
frame,
&psd);
struct security_descriptor **ppdesc);
NTSTATUS fset_nt_acl_common(
- NTSTATUS (*get_acl_blob_fn)(TALLOC_CTX *ctx,
+ NTSTATUS (*fget_acl_blob_fn)(TALLOC_CTX *ctx,
vfs_handle_struct *handle,
files_struct *fsp,
- const struct smb_filename *smb_fname,
DATA_BLOB *pblob),
NTSTATUS (*store_acl_blob_fsp_fn)(vfs_handle_struct *handle,
files_struct *fsp,
return status;
}
-#if 0
/*******************************************************************
Pull a security descriptor from an fsp into a DATA_BLOB from a tdb store.
*******************************************************************/
}
return NT_STATUS_OK;
}
-#endif
/*******************************************************************
Pull a security descriptor into a DATA_BLOB from a tdb store.
const struct security_descriptor *psd)
{
NTSTATUS status;
- status = fset_nt_acl_common(get_acl_blob, store_acl_blob_fsp,
+ status = fset_nt_acl_common(fget_acl_blob, store_acl_blob_fsp,
ACL_MODULE_NAME,
handle, fsp, security_info_sent, psd);
return status;
return sizeret;
}
-#if 0
static NTSTATUS fget_acl_blob(TALLOC_CTX *ctx,
vfs_handle_struct *handle,
files_struct *fsp,
TALLOC_FREE(val);
return map_nt_error_from_unix(errno);
}
-#endif
static NTSTATUS get_acl_blob(TALLOC_CTX *ctx,
vfs_handle_struct *handle,
const struct security_descriptor *psd)
{
NTSTATUS status;
- status = fset_nt_acl_common(get_acl_blob, store_acl_blob_fsp,
+ status = fset_nt_acl_common(fget_acl_blob, store_acl_blob_fsp,
ACL_MODULE_NAME,
handle, fsp, security_info_sent, psd);
return status;