diff options
author | Jeremy Allison <jra@samba.org> | 2016-01-06 17:02:52 -0800 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2016-02-24 11:40:03 +0100 |
commit | 444ba8f42003622fb64e9c0ae2e2deda158a1c2a (patch) | |
tree | 8040990a6d4bf674615adc73ea3a3df5c837420d /source3/libsmb/proto.h | |
parent | 25963b1be1e46e4f4d9eb0121c6db808fdfa7032 (diff) | |
download | samba-444ba8f42003622fb64e9c0ae2e2deda158a1c2a.tar.gz |
CVE-2015-7560: s3: libsmb: Add SMB1-only POSIX cli_posix_setacl() functions. Needed for tests.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11648
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/libsmb/proto.h')
-rw-r--r-- | source3/libsmb/proto.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h index ab5fd82b0cc..dc9aa1720b2 100644 --- a/source3/libsmb/proto.h +++ b/source3/libsmb/proto.h @@ -265,6 +265,17 @@ NTSTATUS cli_posix_getacl(struct cli_state *cli, TALLOC_CTX *mem_ctx, size_t *prb_size, char **retbuf); +struct tevent_req *cli_posix_setacl_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct cli_state *cli, + const char *fname, + const void *acl_buf, + size_t acl_buf_size); +NTSTATUS cli_posix_setacl_recv(struct tevent_req *req); +NTSTATUS cli_posix_setacl(struct cli_state *cli, + const char *fname, + const void *acl_buf, + size_t acl_buf_size); struct tevent_req *cli_posix_stat_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct cli_state *cli, |