diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-08-26 14:37:00 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-09-11 18:46:04 +1000 |
commit | fcaa86f4026cac94ed257406cbf4a59947b6029f (patch) | |
tree | 68567c4b9c5413f4e50a53f08836722d72088d28 /source3/include/privileges.h | |
parent | 821b9e61aa057530212438988c204d79f1f70b1d (diff) | |
download | samba-fcaa86f4026cac94ed257406cbf4a59947b6029f.tar.gz samba-fcaa86f4026cac94ed257406cbf4a59947b6029f.tar.bz2 samba-fcaa86f4026cac94ed257406cbf4a59947b6029f.zip |
s3-privs Further changes to remove SE_PRIV
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/include/privileges.h')
-rw-r--r-- | source3/include/privileges.h | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/source3/include/privileges.h b/source3/include/privileges.h index ab16edfa6d..9c07d1f2be 100644 --- a/source3/include/privileges.h +++ b/source3/include/privileges.h @@ -30,27 +30,25 @@ /* privilege bitmask */ -typedef uint64_t SE_PRIV; - /* common privilege defines */ #define SE_END 0x0 #define SE_NONE 0x0 -#define SE_ALL_PRIVS (SE_PRIV)-1 +#define SE_ALL_PRIVS (uint64_t)-1 /* defined in lib/privilegs_basic.c */ -extern const SE_PRIV se_priv_all; +extern const uint64_t se_priv_all; -extern const SE_PRIV se_priv_none; -extern const SE_PRIV se_machine_account; -extern const SE_PRIV se_print_operator; -extern const SE_PRIV se_add_users; -extern const SE_PRIV se_disk_operators; -extern const SE_PRIV se_remote_shutdown; -extern const SE_PRIV se_restore; -extern const SE_PRIV se_take_ownership; +extern const uint64_t se_priv_none; +extern const uint64_t se_machine_account; +extern const uint64_t se_print_operator; +extern const uint64_t se_add_users; +extern const uint64_t se_disk_operators; +extern const uint64_t se_remote_shutdown; +extern const uint64_t se_restore; +extern const uint64_t se_take_ownership; /* @@ -66,7 +64,7 @@ typedef struct { } PRIVILEGE_SET; typedef struct { - SE_PRIV se_priv; + uint64_t se_priv; const char *name; const char *description; struct lsa_LUID luid; |