Home
last modified time | relevance | path

Searched refs:tsid (Results 1 – 14 of 14) sorted by relevance

/external/selinux/libselinux/src/
Davc.c21 security_id_t tsid; member
42 security_id_t tsid,
47 security_id_t tsid; member
64 security_id_t tsid, security_class_t tclass) in avc_hash() argument
66 return ((uintptr_t) ssid ^ ((uintptr_t) tsid << 2) ^ tclass) in avc_hash()
343 security_id_t tsid, in avc_claim_node() argument
362 hvalue = avc_hash(ssid, tsid, tclass); in avc_claim_node()
366 new->ae.tsid = tsid; in avc_claim_node()
376 security_id_t tsid, in avc_search_node() argument
384 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node()
[all …]
Davc_internal.h156 int avc_ss_grant(security_id_t ssid, security_id_t tsid,
159 int avc_ss_try_revoke(security_id_t ssid, security_id_t tsid,
163 int avc_ss_revoke(security_id_t ssid, security_id_t tsid,
167 int avc_ss_set_auditallow(security_id_t ssid, security_id_t tsid,
170 int avc_ss_set_auditdeny(security_id_t ssid, security_id_t tsid,
Daudit2why.c45 sepol_security_id_t tsid; member
112 rc = sepol_compute_av_reason(avc->ssid, avc->tsid, avc->tclass, in check_booleans()
320 sepol_security_id_t ssid, tsid; in analyze() local
343 rc = sepol_context_to_sid(tcon, strlen(tcon) + 1, &tsid); in analyze()
377 rc = sepol_compute_av_reason_buffer(ssid, tsid, tclass, av, &avd, &reason, &reason_buf, 0); in analyze()
386 avc->tsid = tsid; in analyze()
DcheckAccess.c15 security_id_t tsid __attribute__((unused)), in avc_reset_callback() argument
/external/wpa_supplicant_8/wpa_supplicant/
Dwmm_ac.c78 u8 tsid = wmm_ac_get_tsid(tspec); in wmm_ac_add_ts() local
98 ret = wpa_drv_add_ts(wpa_s, tsid, addr, up, admitted_time); in wmm_ac_add_ts()
102 MAC2STR(addr), tsid, admitted_time, ret); in wmm_ac_add_ts()
115 tsid, MAC2STR(addr), admitted_time); in wmm_ac_add_ts()
125 u8 tsid; in wmm_ac_del_ts_idx() local
130 tsid = wmm_ac_get_tsid(tspec); in wmm_ac_del_ts_idx()
131 wpa_printf(MSG_DEBUG, "WMM AC: Del TS ac=%d tsid=%d", ac, tsid); in wmm_ac_del_ts_idx()
135 wpa_drv_del_ts(wpa_s, tsid, wpa_s->bssid); in wmm_ac_del_ts_idx()
138 "tsid=%d addr=" MACSTR, tsid, MAC2STR(wpa_s->bssid)); in wmm_ac_del_ts_idx()
244 static int wmm_ac_find_tsid(struct wpa_supplicant *wpa_s, u8 tsid, in wmm_ac_find_tsid() argument
[all …]
Dwmm_ac.h123 int tsid; member
168 int wpas_wmm_ac_delts(struct wpa_supplicant *wpa_s, u8 tsid);
Ddriver_i.h600 static inline int wpa_drv_add_ts(struct wpa_supplicant *wpa_s, u8 tsid, in wpa_drv_add_ts() argument
606 return wpa_s->driver->add_tx_ts(wpa_s->drv_priv, tsid, address, in wpa_drv_add_ts()
Dctrl_iface.c974 .tsid = 0xff, in wmm_ac_ctrl_addts()
979 if (sscanf(token, "tsid=%i", &params.tsid) == 1 || in wmm_ac_ctrl_addts()
1014 u8 tsid = atoi(cmd); in wmm_ac_ctrl_delts() local
1016 return wpas_wmm_ac_delts(wpa_s, tsid); in wmm_ac_ctrl_delts()
/external/selinux/libselinux/include/selinux/
Davc.h261 security_id_t tsid,
284 int avc_has_perm(security_id_t ssid, security_id_t tsid,
307 void avc_audit(security_id_t ssid, security_id_t tsid,
326 security_id_t tsid,
344 security_id_t tsid,
378 security_id_t tsid, security_class_t tclass,
382 security_id_t tsid, security_class_t tclass,
/external/selinux/libsepol/include/sepol/policydb/
Dservices.h48 sepol_security_id_t tsid, /* IN */
60 sepol_security_id_t tsid,
76 sepol_security_id_t tsid,
117 sepol_security_id_t tsid, /* IN */
127 sepol_security_id_t tsid, /* IN */
136 sepol_security_id_t tsid, /* IN */
/external/selinux/checkpolicy/
Dcheckpolicy.c384 sepol_security_id_t ssid, tsid, *sids, oldsid, newsid, tasksid; in main() local
718 tsid = atoi(ans); in main()
750 ret = sepol_compute_av(ssid, tsid, tclass, 0, &avd); in main()
834 tsid = atoi(ans); in main()
861 sepol_transition_sid(ssid, tsid, tclass, in main()
865 sepol_member_sid(ssid, tsid, tclass, &ssid); in main()
868 sepol_change_sid(ssid, tsid, tclass, &ssid); in main()
931 sepol_fs_sid(ans, &ssid, &tsid); in main()
932 printf("fs_sid %d default_file_sid %d\n", ssid, tsid); in main()
958 sepol_netif_sid(ans, &ssid, &tsid); in main()
[all …]
/external/selinux/libsepol/src/
Dservices.c1129 sepol_security_id_t tsid, in sepol_compute_av_reason() argument
1144 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_av_reason()
1146 ERR(NULL, "unrecognized SID %d", tsid); in sepol_compute_av_reason()
1163 sepol_security_id_t tsid, in sepol_compute_av_reason_buffer() argument
1180 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_av_reason_buffer()
1182 ERR(NULL, "unrecognized SID %d", tsid); in sepol_compute_av_reason_buffer()
1205 sepol_security_id_t tsid, in sepol_compute_av() argument
1211 return sepol_compute_av_reason(ssid, tsid, tclass, requested, avd, in sepol_compute_av()
1363 sepol_security_id_t tsid, in sepol_compute_sid() argument
1380 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_sid()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver.h3357 int (*add_tx_ts)(void *priv, u8 tsid, const u8 *addr, u8 user_prio,
3367 int (*del_tx_ts)(void *priv, u8 tsid, const u8 *addr);
Ddriver_nl80211.c8430 static int nl80211_add_ts(void *priv, u8 tsid, const u8 *addr, in nl80211_add_ts() argument
8440 tsid, admitted_time, user_priority); in nl80211_add_ts()
8447 nla_put_u8(msg, NL80211_ATTR_TSID, tsid) || in nl80211_add_ts()
8463 static int nl80211_del_ts(void *priv, u8 tsid, const u8 *addr) in nl80211_del_ts() argument
8470 wpa_printf(MSG_DEBUG, "nl80211: del_ts request: tsid=%u", tsid); in nl80211_del_ts()
8476 nla_put_u8(msg, NL80211_ATTR_TSID, tsid) || in nl80211_del_ts()