diff options
author | Jeremy Allison <jra@samba.org> | 2012-04-04 14:53:10 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-04-04 14:58:42 -0700 |
commit | f042de2f346c98a852957cdbb09a7f8ac871b69c (patch) | |
tree | 5e129071915bdd6a9ce096169fd2c02920a5c0dd /source3/smbd/proto.h | |
parent | d0fbe16a6b1c4a98279d310a414582bba29f8a3a (diff) | |
download | samba-f042de2f346c98a852957cdbb09a7f8ac871b69c.tar.gz samba-f042de2f346c98a852957cdbb09a7f8ac871b69c.tar.xz samba-f042de2f346c98a852957cdbb09a7f8ac871b69c.zip |
First part of fix for bug 8837 - smbd crashes when deleting directory and veto files are enabled.
Add some const to the sec_ctx code.
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r-- | source3/smbd/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 4bb57c0d5c4..1af07882b59 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -956,7 +956,7 @@ void server_encryption_shutdown(struct smbd_server_connection *sconn); bool unix_token_equal(const struct security_unix_token *t1, const struct security_unix_token *t2); bool push_sec_ctx(void); -void set_sec_ctx(uid_t uid, gid_t gid, int ngroups, gid_t *groups, struct security_token *token); +void set_sec_ctx(uid_t uid, gid_t gid, int ngroups, gid_t *groups, const struct security_token *token); void set_root_sec_ctx(void); bool pop_sec_ctx(void); void init_sec_ctx(void); |