Home
last modified time | relevance | path

Searched refs:tsid (Results 1 – 18 of 18) 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.c44 sepol_security_id_t tsid; member
111 rc = sepol_compute_av_reason(avc->ssid, avc->tsid, avc->tclass, in check_booleans()
319 sepol_security_id_t ssid, tsid; in analyze() local
342 rc = sepol_context_to_sid(tcon, strlen(tcon) + 1, &tsid); in analyze()
376 rc = sepol_compute_av_reason_buffer(ssid, tsid, tclass, av, &avd, &reason, &reason_buf, 0); in analyze()
385 avc->tsid = tsid; in analyze()
DcheckAccess.c15 security_id_t tsid __attribute__((unused)), in avc_reset_callback() argument
/external/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()
303 security_id_t tsid, in avc_claim_node() argument
322 hvalue = avc_hash(ssid, tsid, tclass); in avc_claim_node()
326 new->ae.tsid = tsid; in avc_claim_node()
336 security_id_t tsid, in avc_search_node() argument
344 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,
/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.h591 static inline int wpa_drv_add_ts(struct wpa_supplicant *wpa_s, u8 tsid, in wpa_drv_add_ts() argument
597 return wpa_s->driver->add_tx_ts(wpa_s->drv_priv, tsid, address, in wpa_drv_add_ts()
Dctrl_iface.c839 .tsid = 0xff, in wmm_ac_ctrl_addts()
844 if (sscanf(token, "tsid=%i", &params.tsid) == 1 || in wmm_ac_ctrl_addts()
879 u8 tsid = atoi(cmd); in wmm_ac_ctrl_delts() local
881 return wpas_wmm_ac_delts(wpa_s, tsid); in wmm_ac_ctrl_delts()
/external/libselinux/include/selinux/
Davc.h257 security_id_t tsid,
280 int avc_has_perm(security_id_t ssid, security_id_t tsid,
303 void avc_audit(security_id_t ssid, security_id_t tsid,
322 security_id_t tsid,
340 security_id_t tsid,
374 security_id_t tsid, security_class_t tclass,
378 security_id_t tsid, security_class_t tclass,
/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.h47 sepol_security_id_t tsid, /* IN */
58 sepol_security_id_t tsid,
74 sepol_security_id_t tsid,
115 sepol_security_id_t tsid, /* IN */
125 sepol_security_id_t tsid, /* IN */
134 sepol_security_id_t tsid, /* IN */
/external/selinux/checkpolicy/
Dcheckpolicy.c382 sepol_security_id_t ssid, tsid, *sids, oldsid, newsid, tasksid; in main() local
698 tsid = atoi(ans); in main()
730 ret = sepol_compute_av(ssid, tsid, tclass, 0, &avd); in main()
814 tsid = atoi(ans); in main()
841 sepol_transition_sid(ssid, tsid, tclass, in main()
845 sepol_member_sid(ssid, tsid, tclass, &ssid); in main()
848 sepol_change_sid(ssid, tsid, tclass, &ssid); in main()
911 sepol_fs_sid(ans, &ssid, &tsid); in main()
912 printf("fs_sid %d default_file_sid %d\n", ssid, tsid); in main()
936 sepol_netif_sid(ans, &ssid, &tsid); in main()
[all …]
/external/selinux/libsepol/src/
Dservices.c1062 sepol_security_id_t tsid, in sepol_compute_av_reason() argument
1077 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_av_reason()
1079 ERR(NULL, "unrecognized SID %d", tsid); in sepol_compute_av_reason()
1096 sepol_security_id_t tsid, in sepol_compute_av_reason_buffer() argument
1113 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_av_reason_buffer()
1115 ERR(NULL, "unrecognized SID %d", tsid); in sepol_compute_av_reason_buffer()
1138 sepol_security_id_t tsid, in sepol_compute_av() argument
1144 return sepol_compute_av_reason(ssid, tsid, tclass, requested, avd, in sepol_compute_av()
1300 sepol_security_id_t tsid, in sepol_compute_sid() argument
1317 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_sid()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver.h3153 int (*add_tx_ts)(void *priv, u8 tsid, const u8 *addr, u8 user_prio,
3163 int (*del_tx_ts)(void *priv, u8 tsid, const u8 *addr);
Ddriver_nl80211.c8026 static int nl80211_add_ts(void *priv, u8 tsid, const u8 *addr, in nl80211_add_ts() argument
8036 tsid, admitted_time, user_priority); in nl80211_add_ts()
8043 nla_put_u8(msg, NL80211_ATTR_TSID, tsid) || in nl80211_add_ts()
8059 static int nl80211_del_ts(void *priv, u8 tsid, const u8 *addr) in nl80211_del_ts() argument
8066 wpa_printf(MSG_DEBUG, "nl80211: del_ts request: tsid=%u", tsid); in nl80211_del_ts()
8072 nla_put_u8(msg, NL80211_ATTR_TSID, tsid) || in nl80211_del_ts()
/external/dbus/bus/
Dselinux.c177 security_id_t tsid, security_class_t tclass, in policy_reload_callback() argument