Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- security/selinux/ss/ebitmap.c, line 89
- security/selinux/ss/policydb.c
- security/selinux/ss/services.c
Smatch caller information:
security/selinux/ss/ebitmap.c ebitmap_and() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | bit | 0-4294967294 |
| CAPPED_DATA | 1 | bit | 1 |
| DATA_SOURCE | 0 | e | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
security/selinux/ss/services.c __security_genfs_sid() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | bit | 11 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &selinux_state.policy_mutex | ||
| HALF_LOCKED2 | rcu_read |
security/selinux/ss/services.c constraint_expr_eval() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
security/selinux/ss/services.c constraint_expr_eval() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
security/selinux/ss/services.c constraint_expr_eval() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
security/selinux/ss/services.c constraint_expr_eval() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
security/selinux/ss/services.c constraint_expr_eval() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
security/selinux/ss/services.c constraint_expr_eval() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
security/selinux/ss/services.c filename_compute_type() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| DATA_SOURCE | 1 | bit | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
security/selinux/ss/services.c filename_compute_type() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
security/selinux/ss/services.c security_compute_av() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 560,4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
security/selinux/ss/services.c security_compute_av() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| CAPPED_DATA | 1 | bit | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
security/selinux/ss/services.c security_compute_av_user() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 560,4096-ptr_max |
| LOCK2 | rcu_read |
security/selinux/ss/services.c security_compute_av_user() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| CAPPED_DATA | 1 | bit | 1 |
| LOCK2 | rcu_read |
security/selinux/ss/services.c security_load_policycaps() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | bit | 0-14 |
| FUZZY_MAX | 1 | bit | 14 |
| HARD_MAX | 1 | bit | 14 |
| UNITS | 1 | bit | unit_byte |
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/services.c security_load_policycaps() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | bit | 0-14 |
| FUZZY_MAX | 1 | bit | 14 |
| HARD_MAX | 1 | bit | 14 |
| UNITS | 1 | bit | unit_byte |
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/services.c security_netif_sid() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 544,4096-ptr_max |
| PARAM_VALUE | 1 | bit | 10 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | global &sel_netif_lock | ||
| LOCK2 | rcu_read |
security/selinux/ss/services.c security_policycap_supported() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 544,4096-ptr_max |
| PARAM_VALUE | 1 | bit | 0-16777215 |
| DATA_SOURCE | 1 | bit | $0 |
| LOCK2 | rcu_read |
security/selinux/ss/policydb.c filename_trans_read_helper_compat() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 1 | bit | 1 |
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/policydb.c policydb_context_isvalid() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| CAPPED_DATA | 1 | bit | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &selinux_state.policy_mutex | ||
| HALF_LOCKED2 | rcu_read |
security/selinux/ss/policydb.c policydb_context_isvalid() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| CAPPED_DATA | 1 | bit | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &selinux_state.policy_mutex | ||
| HALF_LOCKED2 | rcu_read |
security/selinux/ss/policydb.c policydb_load_isids() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | bit | 8 |
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/policydb.c role_bounds_sanity_check() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | bit | 0-4294967294 |
| CAPPED_DATA | 1 | bit | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | bit | unit_byte |
| HALF_LOCKED2 | global &selinux_state.policy_mutex |
security/selinux/ss/policydb.c user_bounds_sanity_check() -> ebitmap_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | bit | 0-4294967294 |
| CAPPED_DATA | 1 | bit | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | bit | unit_byte |
| HALF_LOCKED2 | global &selinux_state.policy_mutex |