Home
last modified time | relevance | path

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

/third_party/selinux/libselinux/src/
Davc.c21 security_id_t tsid; member
42 security_id_t tsid,
47 security_id_t tsid; member
63 security_id_t tsid, security_class_t tclass) in avc_hash() argument
65 return ((uintptr_t) ssid ^ ((uintptr_t) tsid << 2) ^ tclass) in avc_hash()
345 security_id_t tsid, in avc_claim_node() argument
364 hvalue = avc_hash(ssid, tsid, tclass); in avc_claim_node()
368 new->ae.tsid = tsid; in avc_claim_node()
378 security_id_t tsid, in avc_search_node() argument
386 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node()
[all …]
Davc_internal.h165 int avc_ss_grant(security_id_t ssid, security_id_t tsid,
168 int avc_ss_try_revoke(security_id_t ssid, security_id_t tsid,
172 int avc_ss_revoke(security_id_t ssid, security_id_t tsid,
176 int avc_ss_set_auditallow(security_id_t ssid, security_id_t tsid,
179 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()
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwmm_ac.c78 u8 tsid = wmm_ac_get_tsid(tspec); in wmm_ac_add_ts() local
95 ret = wpa_drv_add_ts(wpa_s, tsid, addr, up, admitted_time); in wmm_ac_add_ts()
99 MAC2STR(addr), tsid, admitted_time, ret); in wmm_ac_add_ts()
112 tsid, MAC2STR(addr), admitted_time); in wmm_ac_add_ts()
122 u8 tsid; in wmm_ac_del_ts_idx() local
127 tsid = wmm_ac_get_tsid(tspec); in wmm_ac_del_ts_idx()
128 wpa_printf(MSG_DEBUG, "WMM AC: Del TS ac=%d tsid=%d", ac, tsid); in wmm_ac_del_ts_idx()
132 wpa_drv_del_ts(wpa_s, tsid, wpa_s->bssid); in wmm_ac_del_ts_idx()
135 "tsid=%d addr=" MACSTR, tsid, MAC2STR(wpa_s->bssid)); in wmm_ac_del_ts_idx()
241 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.h639 static inline int wpa_drv_add_ts(struct wpa_supplicant *wpa_s, u8 tsid, in wpa_drv_add_ts() argument
645 return wpa_s->driver->add_tx_ts(wpa_s->drv_priv, tsid, address, in wpa_drv_add_ts()
Dctrl_iface.c1260 .tsid = 0xff, in wmm_ac_ctrl_addts()
1265 if (sscanf(token, "tsid=%i", &params.tsid) == 1 || in wmm_ac_ctrl_addts()
1300 u8 tsid = atoi(cmd); in wmm_ac_ctrl_delts() local
1302 return wpas_wmm_ac_delts(wpa_s, tsid); in wmm_ac_ctrl_delts()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwmm_ac.c78 u8 tsid = wmm_ac_get_tsid(tspec); in wmm_ac_add_ts() local
95 ret = wpa_drv_add_ts(wpa_s, tsid, addr, up, admitted_time); in wmm_ac_add_ts()
99 MAC2STR(addr), tsid, admitted_time, ret); in wmm_ac_add_ts()
112 tsid, MAC2STR(addr), admitted_time); in wmm_ac_add_ts()
122 u8 tsid; in wmm_ac_del_ts_idx() local
127 tsid = wmm_ac_get_tsid(tspec); in wmm_ac_del_ts_idx()
128 wpa_printf(MSG_DEBUG, "WMM AC: Del TS ac=%d tsid=%d", ac, tsid); in wmm_ac_del_ts_idx()
132 wpa_drv_del_ts(wpa_s, tsid, wpa_s->bssid); in wmm_ac_del_ts_idx()
135 "tsid=%d addr=" MACSTR, tsid, MAC2STR(wpa_s->bssid)); in wmm_ac_del_ts_idx()
241 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.h618 static inline int wpa_drv_add_ts(struct wpa_supplicant *wpa_s, u8 tsid, in wpa_drv_add_ts() argument
624 return wpa_s->driver->add_tx_ts(wpa_s->drv_priv, tsid, address, in wpa_drv_add_ts()
Dctrl_iface.c1090 .tsid = 0xff, in wmm_ac_ctrl_addts()
1095 if (sscanf(token, "tsid=%i", &params.tsid) == 1 || in wmm_ac_ctrl_addts()
1130 u8 tsid = atoi(cmd); in wmm_ac_ctrl_delts() local
1132 return wpas_wmm_ac_delts(wpa_s, tsid); in wmm_ac_ctrl_delts()
/third_party/selinux/libselinux/include/selinux/
Davc.h273 security_id_t tsid,
296 extern int avc_has_perm(security_id_t ssid, security_id_t tsid,
319 extern void avc_audit(security_id_t ssid, security_id_t tsid,
338 security_id_t tsid,
356 security_id_t tsid,
390 security_id_t tsid, security_class_t tclass,
394 security_id_t tsid, security_class_t tclass,
/third_party/selinux/libsepol/include/sepol/policydb/
Dservices.h42 sepol_security_id_t tsid, /* IN */
54 sepol_security_id_t tsid,
70 sepol_security_id_t tsid,
120 sepol_security_id_t tsid, /* IN */
130 sepol_security_id_t tsid, /* IN */
139 sepol_security_id_t tsid, /* IN */
/third_party/selinux/libsepol/utils/
Dsepol_compute_relabel.c13 sepol_security_id_t ssid, tsid, out_sid; in main() local
40 if (sepol_context_to_sid(argv[3], strlen(argv[3]), &tsid) < 0) { in main()
50 if (sepol_change_sid(ssid, tsid, tclass, &out_sid) < 0) { in main()
Dsepol_compute_member.c13 sepol_security_id_t ssid, tsid, out_sid; in main() local
40 if (sepol_context_to_sid(argv[3], strlen(argv[3]), &tsid) < 0) { in main()
50 if (sepol_member_sid(ssid, tsid, tclass, &out_sid) < 0) { in main()
Dsepol_compute_av.c13 sepol_security_id_t ssid, tsid; in main() local
40 if (sepol_context_to_sid(argv[3], strlen(argv[3]), &tsid) < 0) { in main()
50 rc = sepol_compute_av(ssid, tsid, tclass, 0, &avd); in main()
Dsepol_check_access.c13 sepol_security_id_t ssid, tsid; in main() local
44 if (sepol_context_to_sid(argv[3], strlen(argv[3]), &tsid) < 0) { in main()
86 if (sepol_compute_av_reason_buffer(ssid, tsid, tclass, av, &avd, &reason, &reason_buf, 0) < 0) { in main()
/third_party/selinux/checkpolicy/
Dcheckpolicy.c386 sepol_security_id_t ssid, tsid, *sids, oldsid, newsid, tasksid; in main() local
760 tsid = atoi(ans); in main()
792 ret = sepol_compute_av(ssid, tsid, tclass, 0, &avd); in main()
876 tsid = atoi(ans); in main()
903 sepol_transition_sid(ssid, tsid, tclass, in main()
907 sepol_member_sid(ssid, tsid, tclass, &ssid); in main()
910 sepol_change_sid(ssid, tsid, tclass, &ssid); in main()
971 ret = sepol_fs_sid(ans, &ssid, &tsid); in main()
975 printf("fs_sid %d default_file_sid %d\n", ssid, tsid); in main()
1004 ret = sepol_netif_sid(ans, &ssid, &tsid); in main()
[all …]
/third_party/selinux/libsepol/src/
Dservices.c1089 sepol_security_id_t tsid, in sepol_compute_av_reason() argument
1104 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_av_reason()
1106 ERR(NULL, "unrecognized target SID %d", tsid); in sepol_compute_av_reason()
1123 sepol_security_id_t tsid, in sepol_compute_av_reason_buffer() argument
1140 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_av_reason_buffer()
1142 ERR(NULL, "unrecognized target SID %d", tsid); in sepol_compute_av_reason_buffer()
1165 sepol_security_id_t tsid, in sepol_compute_av() argument
1171 return sepol_compute_av_reason(ssid, tsid, tclass, requested, avd, in sepol_compute_av()
1329 sepol_security_id_t tsid, in sepol_compute_sid() argument
1347 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_sid()
[all …]
/third_party/gstreamer/gstplugins_base/gst/playback/
Dgstdecodebin3.c2496 const gchar *sid, *tsid; in reassign_slot() local
2553 tsid = tmp->data; in reassign_slot()
2564 target_slot, tsid); in reassign_slot()
2568 g_list_append (dbin->active_selection, (gchar *) tsid); in reassign_slot()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver.h3712 int (*add_tx_ts)(void *priv, u8 tsid, const u8 *addr, u8 user_prio,
3722 int (*del_tx_ts)(void *priv, u8 tsid, const u8 *addr);
Ddriver_nl80211.c9144 static int nl80211_add_ts(void *priv, u8 tsid, const u8 *addr, in nl80211_add_ts() argument
9154 tsid, admitted_time, user_priority); in nl80211_add_ts()
9161 nla_put_u8(msg, NL80211_ATTR_TSID, tsid) || in nl80211_add_ts()
9177 static int nl80211_del_ts(void *priv, u8 tsid, const u8 *addr) in nl80211_del_ts() argument
9184 wpa_printf(MSG_DEBUG, "nl80211: del_ts request: tsid=%u", tsid); in nl80211_del_ts()
9190 nla_put_u8(msg, NL80211_ATTR_TSID, tsid) || in nl80211_del_ts()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver.h4015 int (*add_tx_ts)(void *priv, u8 tsid, const u8 *addr, u8 user_prio,
4025 int (*del_tx_ts)(void *priv, u8 tsid, const u8 *addr);
Ddriver_nl80211.c9936 static int nl80211_add_ts(void *priv, u8 tsid, const u8 *addr, in nl80211_add_ts() argument
9946 tsid, admitted_time, user_priority); in nl80211_add_ts()
9953 nla_put_u8(msg, NL80211_ATTR_TSID, tsid) || in nl80211_add_ts()
9969 static int nl80211_del_ts(void *priv, u8 tsid, const u8 *addr) in nl80211_del_ts() argument
9976 wpa_printf(MSG_DEBUG, "nl80211: del_ts request: tsid=%u", tsid); in nl80211_del_ts()
9982 nla_put_u8(msg, NL80211_ATTR_TSID, tsid) || in nl80211_del_ts()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h51642 u32 tsid; member
51779 u32 tsid; member