diff options
| author | Andreas Schneider <asn@samba.org> | 2013-11-06 18:00:31 +0100 |
|---|---|---|
| committer | Stefan Metzmacher <metze@samba.org> | 2014-04-17 14:56:06 +0200 |
| commit | 15feb84273c65dbe2d3f502861c7f520c46dc9d3 (patch) | |
| tree | e1e071f02406e2165dbe2d158105f1dd69de5313 /source3/include | |
| parent | 486fa4a134a79e0a25091efc749ccc131dc18f69 (diff) | |
| download | samba-15feb84273c65dbe2d3f502861c7f520c46dc9d3.tar.gz samba-15feb84273c65dbe2d3f502861c7f520c46dc9d3.tar.xz samba-15feb84273c65dbe2d3f502861c7f520c46dc9d3.zip | |
s3-lib: Add root_mode() which can deal with uid_wrapper.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/include')
| -rw-r--r-- | source3/include/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index a6a6815355..3197b76af7 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -511,6 +511,7 @@ bool token_sid_in_ace(const struct security_token *token, const struct security_ void sec_init(void); uid_t sec_initial_uid(void); gid_t sec_initial_gid(void); +bool root_mode(void); bool non_root_mode(void); void gain_root_privilege(void); void gain_root_group_privilege(void); |
