/dports/databases/mariadb105-client/mariadb-10.5.15/sql/ |
H A D | privilege.h | 97 constexpr static inline privilege_t ALL_KNOWN_BITS(privilege_t x) in ALL_KNOWN_BITS() 188 static inline constexpr privilege_t operator&(privilege_t a, privilege_t b) 204 static inline constexpr privilege_t operator|(privilege_t a, privilege_t b) 212 static inline privilege_t& operator&=(privilege_t &a, privilege_t b) 217 static inline privilege_t& operator&=(privilege_t &a, ulonglong b) 222 static inline privilege_t& operator|=(privilege_t &a, privilege_t b) 657 static inline privilege_t fix_rights_for_db(privilege_t access) in fix_rights_for_db() 670 static inline privilege_t get_rights_for_db(privilege_t access) in get_rights_for_db() 691 static inline privilege_t fix_rights_for_table(privilege_t access) in fix_rights_for_table() 715 static inline privilege_t fix_rights_for_column(privilege_t A) in fix_rights_for_column() [all …]
|
H A D | sql_acl.h | 79 privilege_t acl_get(const char *host, const char *ip, 90 privilege_t rights, bool revoke, bool is_proxy); 107 bool check_grant_all_columns(THD *thd, privilege_t want_access, 109 bool check_grant_routine(THD *thd, privilege_t want_access, 114 bool check_access(THD *thd, privilege_t want_access, 115 const char *db, privilege_t *save_priv, 118 privilege_t get_table_grant(THD *thd, TABLE_LIST *table); 119 privilege_t get_column_grant(THD *thd, GRANT_INFO *grant, 209 virtual ACL_internal_access_result check(privilege_t want_access, 246 virtual ACL_internal_access_result check(privilege_t want_access, [all …]
|
H A D | grant.h | 54 privilege_t all_privileges_by_type() const; 69 privilege_t m_object_privilege; 70 privilege_t m_column_privilege_total; 78 Grant_privilege(privilege_t privilege, bool all_privileges) in Grant_privilege() 83 void add_object_privilege(privilege_t privilege) in add_object_privilege() 88 privilege_t privilege); 90 privilege_t privilege); 94 privilege_t with_grant_option);
|
H A D | sql_parse.h | 147 bool check_one_table_access(THD *thd, privilege_t privilege, TABLE_LIST *tables); 148 bool check_single_table_access(THD *thd, privilege_t privilege, 150 bool check_routine_access(THD *thd, privilege_t want_access, 154 bool check_some_access(THD *thd, privilege_t want_access, TABLE_LIST *table); 157 bool check_table_access(THD *thd, privilege_t requirements,TABLE_LIST *tables, 162 inline bool check_one_table_access(THD *thd, privilege_t privilege, TABLE_LIST *tables) in check_one_table_access() 164 inline bool check_single_table_access(THD *thd, privilege_t privilege, in check_single_table_access() 167 inline bool check_routine_access(THD *thd, privilege_t want_access, in check_routine_access() 172 inline bool check_some_access(THD *thd, privilege_t want_access, TABLE_LIST *table) in check_some_access() 182 check_table_access(THD *thd, privilege_t requirements,TABLE_LIST *tables, in check_table_access()
|
H A D | grant.cc | 23 privilege_t which_grant) in add_column_privilege() 54 privilege_t privilege) in add_column_list_privilege() 67 privilege_t Grant_object_name::all_privileges_by_type() const in all_privileges_by_type() 82 privilege_t with_grant_option) in set_object_name()
|
H A D | sql_acl.cc | 138 privilege_t access; 534 privilege_t access; 5217 privilege_t rights; 5218 privilege_t init_rights; 5243 privilege_t privs; 5267 privilege_t cols; 5272 const char *t, privilege_t p, privilege_t c); 5317 const char *t, privilege_t p, privilege_t c) in GRANT_TABLE() 5784 privilege_t rights, privilege_t col_rights, in replace_table_table() 6647 privilege_t privs, privilege_t cols, in update_role_table_columns() [all …]
|
H A D | sql_alter.cc | 415 privilege_t priv(NO_ACL); in execute() 416 privilege_t priv_needed(ALTER_ACL); in execute()
|
H A D | sql_base.h | 226 privilege_t want_access_first, 227 privilege_t want_access,
|
H A D | sql_parse.cc | 5064 privilege_t privilege= (lex->duplicates == DUP_REPLACE ? in mysql_execute_command() 6721 check_access(THD *thd, privilege_t want_access, in check_access() 6722 const char *db, privilege_t *save_priv, in check_access() 6732 privilege_t db_access(NO_ACL); in check_access() 6744 privilege_t dummy(NO_ACL); in check_access() 6984 bool check_one_table_access(THD *thd, privilege_t privilege, in check_one_table_access() 7156 privilege_t want_access(requirements); in check_table_access() 7250 privilege_t save_priv(NO_ACL); in check_some_routine_access() 7289 privilege_t access= ALL_KNOWN_ACL & bit; in check_some_access() 9913 privilege_t privilege= (INSERT_ACL | in insert_precheck() [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/sql/ |
H A D | privilege.h | 97 constexpr static inline privilege_t ALL_KNOWN_BITS(privilege_t x) in ALL_KNOWN_BITS() 188 static inline constexpr privilege_t operator&(privilege_t a, privilege_t b) 204 static inline constexpr privilege_t operator|(privilege_t a, privilege_t b) 212 static inline privilege_t& operator&=(privilege_t &a, privilege_t b) 217 static inline privilege_t& operator&=(privilege_t &a, ulonglong b) 222 static inline privilege_t& operator|=(privilege_t &a, privilege_t b) 657 static inline privilege_t fix_rights_for_db(privilege_t access) in fix_rights_for_db() 670 static inline privilege_t get_rights_for_db(privilege_t access) in get_rights_for_db() 691 static inline privilege_t fix_rights_for_table(privilege_t access) in fix_rights_for_table() 715 static inline privilege_t fix_rights_for_column(privilege_t A) in fix_rights_for_column() [all …]
|
H A D | sql_acl.h | 79 privilege_t acl_get(const char *host, const char *ip, 90 privilege_t rights, bool revoke, bool is_proxy); 107 bool check_grant_all_columns(THD *thd, privilege_t want_access, 109 bool check_grant_routine(THD *thd, privilege_t want_access, 114 bool check_access(THD *thd, privilege_t want_access, 115 const char *db, privilege_t *save_priv, 118 privilege_t get_table_grant(THD *thd, TABLE_LIST *table); 119 privilege_t get_column_grant(THD *thd, GRANT_INFO *grant, 209 virtual ACL_internal_access_result check(privilege_t want_access, 246 virtual ACL_internal_access_result check(privilege_t want_access, [all …]
|
H A D | grant.h | 54 privilege_t all_privileges_by_type() const; 69 privilege_t m_object_privilege; 70 privilege_t m_column_privilege_total; 78 Grant_privilege(privilege_t privilege, bool all_privileges) in Grant_privilege() 83 void add_object_privilege(privilege_t privilege) in add_object_privilege() 88 privilege_t privilege); 90 privilege_t privilege); 94 privilege_t with_grant_option);
|
H A D | sql_parse.h | 147 bool check_one_table_access(THD *thd, privilege_t privilege, TABLE_LIST *tables); 148 bool check_single_table_access(THD *thd, privilege_t privilege, 150 bool check_routine_access(THD *thd, privilege_t want_access, 154 bool check_some_access(THD *thd, privilege_t want_access, TABLE_LIST *table); 157 bool check_table_access(THD *thd, privilege_t requirements,TABLE_LIST *tables, 162 inline bool check_one_table_access(THD *thd, privilege_t privilege, TABLE_LIST *tables) in check_one_table_access() 164 inline bool check_single_table_access(THD *thd, privilege_t privilege, in check_single_table_access() 167 inline bool check_routine_access(THD *thd, privilege_t want_access, in check_routine_access() 172 inline bool check_some_access(THD *thd, privilege_t want_access, TABLE_LIST *table) in check_some_access() 182 check_table_access(THD *thd, privilege_t requirements,TABLE_LIST *tables, in check_table_access()
|
H A D | grant.cc | 23 privilege_t which_grant) in add_column_privilege() 54 privilege_t privilege) in add_column_list_privilege() 67 privilege_t Grant_object_name::all_privileges_by_type() const in all_privileges_by_type() 82 privilege_t with_grant_option) in set_object_name()
|
H A D | sql_acl.cc | 138 privilege_t access; 534 privilege_t access; 5217 privilege_t rights; 5218 privilege_t init_rights; 5243 privilege_t privs; 5267 privilege_t cols; 5272 const char *t, privilege_t p, privilege_t c); 5317 const char *t, privilege_t p, privilege_t c) in GRANT_TABLE() 5784 privilege_t rights, privilege_t col_rights, in replace_table_table() 6647 privilege_t privs, privilege_t cols, in update_role_table_columns() [all …]
|
H A D | sql_alter.cc | 415 privilege_t priv(NO_ACL); in execute() 416 privilege_t priv_needed(ALTER_ACL); in execute()
|
H A D | sql_base.h | 226 privilege_t want_access_first, 227 privilege_t want_access,
|
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/perfschema/ |
H A D | pfs_engine_table.h | 337 virtual ACL_internal_access_result check(privilege_t want_access, 357 ACL_internal_access_result check(privilege_t want_access, 358 privilege_t *save_priv) const; 377 ACL_internal_access_result check(privilege_t want_access, 378 privilege_t *save_priv) const; 397 ACL_internal_access_result check(privilege_t want_access, 398 privilege_t *save_priv) const; 416 ACL_internal_access_result check(privilege_t want_access, 417 privilege_t *save_priv) const; 435 virtual ACL_internal_access_result check(privilege_t want_access, privilege_t *save_priv) const; [all …]
|
H A D | pfs_engine_table.cc | 660 ACL_internal_access_result check(privilege_t want_access, 667 PFS_internal_schema_access::check(privilege_t want_access, in check() 745 PFS_readonly_acl::check(privilege_t want_access, privilege_t *save_priv) const in check() 761 PFS_readonly_world_acl::check(privilege_t want_access, privilege_t *save_priv) const in check() 776 PFS_truncatable_acl::check(privilege_t want_access, privilege_t *save_priv) const in check() 792 PFS_truncatable_world_acl::check(privilege_t want_access, privilege_t *save_priv) const in check() 812 PFS_updatable_acl::check(privilege_t want_access, privilege_t *save_priv) const in check() 814 const privilege_t always_forbidden= INSERT_ACL | DELETE_ACL in check() 827 PFS_editable_acl::check(privilege_t want_access, privilege_t *save_priv) const in check() 841 PFS_unknown_acl::check(privilege_t want_access, privilege_t *save_priv) const in check() [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/perfschema/ |
H A D | pfs_engine_table.h | 337 virtual ACL_internal_access_result check(privilege_t want_access, 357 ACL_internal_access_result check(privilege_t want_access, 358 privilege_t *save_priv) const; 377 ACL_internal_access_result check(privilege_t want_access, 378 privilege_t *save_priv) const; 397 ACL_internal_access_result check(privilege_t want_access, 398 privilege_t *save_priv) const; 416 ACL_internal_access_result check(privilege_t want_access, 417 privilege_t *save_priv) const; 435 virtual ACL_internal_access_result check(privilege_t want_access, privilege_t *save_priv) const; [all …]
|
H A D | pfs_engine_table.cc | 660 ACL_internal_access_result check(privilege_t want_access, 667 PFS_internal_schema_access::check(privilege_t want_access, in check() 745 PFS_readonly_acl::check(privilege_t want_access, privilege_t *save_priv) const in check() 761 PFS_readonly_world_acl::check(privilege_t want_access, privilege_t *save_priv) const in check() 776 PFS_truncatable_acl::check(privilege_t want_access, privilege_t *save_priv) const in check() 792 PFS_truncatable_world_acl::check(privilege_t want_access, privilege_t *save_priv) const in check() 812 PFS_updatable_acl::check(privilege_t want_access, privilege_t *save_priv) const in check() 814 const privilege_t always_forbidden= INSERT_ACL | DELETE_ACL in check() 827 PFS_editable_acl::check(privilege_t want_access, privilege_t *save_priv) const in check() 841 PFS_unknown_acl::check(privilege_t want_access, privilege_t *save_priv) const in check() [all …]
|
/dports/net/megacmd/MEGAcmd-1.4.1_Win/sdk/include/mega/ |
H A D | command.h | 897 privilege_t priv; 903 …CommandChatInvite(MegaClient*, handle, handle uh, privilege_t, const char *unifiedkey = NULL, cons… 953 privilege_t priv; 958 CommandChatUpdatePermissions(MegaClient*, handle, handle, privilege_t);
|
H A D | types.h | 541 … PRIV_UNKNOWN = -2, PRIV_RM = -1, PRIV_RO = 0, PRIV_STANDARD = 2, PRIV_MODERATOR = 3 } privilege_t; typedef 542 typedef pair<handle, privilege_t> userpriv_pair; 552 privilege_t priv;
|
/dports/net/dante/dante-1.4.3/sockd/ |
H A D | privileges.c | 49 static privilege_t lastprivelege = SOCKD_PRIV_NOTSET; 232 const privilege_t privilege; in sockd_priv()
|
/dports/net/megacmd/MEGAcmd-1.4.1_Win/sdk/src/ |
H A D | utils.cpp | 535 privilege_t priv = it->second; in serialize() 596 privilege_t priv; in unserialize() 613 if (ptr + sizeof(handle) + sizeof(privilege_t) + sizeof(int) + sizeof(short) > end) in unserialize() 621 priv = MemAccess::get<privilege_t>(ptr); in unserialize() 631 if (ptr + ll * (sizeof(handle) + sizeof(privilege_t)) > end) in unserialize() 643 privilege_t priv = MemAccess::get<privilege_t>(ptr); in unserialize()
|