Home
last modified time | relevance | path

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

12

/linux/Documentation/usb/
H A Dauthorization.rst21 $ echo 1 > /sys/bus/usb/devices/DEVICE/authorized
25 $ echo 0 > /sys/bus/usb/devices/DEVICE/authorized
36 By default, all USB devices are authorized. Writing "2" to the
60 echo 1 > $device_path/authorized
73 echo 1 > authorized # temporarily authorize it
83 echo 0 > authorized
103 $ echo 1 > /sys/bus/usb/devices/INTERFACE/authorized
107 $ echo 0 > /sys/bus/usb/devices/INTERFACE/authorized
121 So all interfaces would authorized per default.
124 If a deauthorized interface will be authorized so the driver probing must
[all …]
/linux/drivers/usb/core/
H A Dtrace.h23 __field(unsigned, authorized)
30 __entry->authorized = udev->authorized;
37 __entry->authorized ? "authorized" : "unauthorized")
H A Dmessage.c1852 if (intf->authorized) { in usb_deauthorize_interface()
1854 intf->authorized = 0; in usb_deauthorize_interface()
1872 if (!intf->authorized) { in usb_authorize_interface()
1874 intf->authorized = 1; /* authorize interface */ in usb_authorize_interface()
2062 if (dev->authorized == 0 || configuration == -1) in usb_set_configuration()
2167 intf->authorized = !!HCD_INTF_AUTHORIZED(hcd); in usb_set_configuration()
H A Dsysfs.c731 return sysfs_emit(buf, "%u\n", usb_dev->authorized); in authorized_show()
755 static DEVICE_ATTR_IGNORE_LOCKDEP(authorized, S_IRUGO | S_IWUSR,
1210 return sysfs_emit(buf, "%u\n", intf->authorized); in interface_authorized_show()
1243 __ATTR(authorized, S_IRUGO | S_IWUSR,
H A Ddriver.c334 if (udev->authorized == 0) { in usb_probe_interface()
337 } else if (intf->authorized == 0) { in usb_probe_interface()
562 if (!iface->authorized) in usb_driver_claim_interface()
H A Dusb.c749 dev->authorized = usb_dev_authorized(dev, usb_hcd); in usb_alloc_dev()
H A Dhub.c2755 if (usb_dev->authorized == 0) in usb_deauthorize_device()
2758 usb_dev->authorized = 0; in usb_deauthorize_device()
2772 if (usb_dev->authorized == 1) in usb_authorize_device()
2782 usb_dev->authorized = 1; in usb_authorize_device()
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-thunderbolt21 If a device is authorized automatically during boot its
30 de-authorize PCIe tunnel by writing 0 to authorized
50 none All devices are automatically authorized
51 user Devices are only authorized based on writing
52 appropriate value to the authorized attribute
64 What: /sys/bus/thunderbolt/devices/.../authorized
70 authorized, no PCIe devices are available to the system.
73 yet authorized.
78 0 The device will be de-authorized (only supported if
80 1 The device will be authorized and connected
[all …]
H A Dsysfs-bus-usb1 What: /sys/bus/usb/devices/<INTERFACE>/authorized
7 If a deauthorized interface will be authorized
19 would be authorized by default.
22 What: /sys/bus/usb/device/.../authorized
28 drivers, non-authorized one are not. By default, wired
29 USB devices are authorized.
/linux/Documentation/networking/
H A Dmac80211-auth-assoc-deauth.txt65 mac80211->driver: sta_state(AP, authorized)
80 userspace->mac80211: authorized
81 mac80211->driver: sta_state(AP, authorized)
/linux/drivers/thunderbolt/
H A Dicm.c753 bool authorized = false; in icm_fr_device_connected() local
764 authorized = pkg->link_info & ICM_LINK_INFO_APPROVED; in icm_fr_device_connected()
793 !!sw->authorized == authorized) { in icm_fr_device_connected()
874 sw->authorized = authorized; in icm_fr_device_connected()
1234 bool authorized, boot, dual_lane, speed_gen3; in __icm_tr_device_connected() local
1251 authorized = pkg->link_info & ICM_LINK_INFO_APPROVED; in __icm_tr_device_connected()
1267 if (tb_route(sw) == route && !!sw->authorized == authorized) { in __icm_tr_device_connected()
1303 sw->authorized = authorized; in __icm_tr_device_connected()
H A Ddomain.c663 if (!parent_sw || !parent_sw->authorized) in tb_domain_approve_switch()
690 if (!parent_sw || !parent_sw->authorized) in tb_domain_approve_switch_key()
725 if (!parent_sw || !parent_sw->authorized) in tb_domain_challenge_switch_key()
H A Dswitch.c1796 return sysfs_emit(buf, "%u\n", sw->authorized); in authorized_show()
1805 if (sw && sw->authorized) { in disapprove_switch()
1817 sw->authorized = 0; in disapprove_switch()
1833 if (!!sw->authorized == !!val) in tb_switch_set_authorized()
1864 sw->authorized = val; in tb_switch_set_authorized()
1869 sprintf(envp_string, "AUTHORIZED=%u", sw->authorized); in tb_switch_set_authorized()
1899 static DEVICE_ATTR_RW(authorized);
1971 if (sw->authorized) { in key_store()
2542 sw->authorized = true; in tb_switch_alloc()
H A Dtb.c2505 } else if (!port->port && sw->authorized) { in tb_handle_hotplug()
2976 sw->authorized = 1; in tb_scan_finalize_switch()
H A Dtb.h200 unsigned int authorized; member
/linux/LICENSES/dual/
H A DApache-2.027 "Licensor" shall mean the copyright owner or entity authorized by the
66 Entity authorized to submit on behalf of the copyright owner. For the
H A DCC-BY-4.039 intended for use by those authorized to give the public
178 simply making modifications authorized by this Section 2(a)
/linux/include/linux/
H A Dusb.h266 unsigned authorized:1; /* used for interface authorization */ member
698 unsigned authorized:1; member
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Diface.c198 if (!iwl_mld_vif_from_mac80211(vif)->authorized) in iwl_mld_fill_mac_cmd_sta()
H A Dmac80211.c1782 mld_vif->authorized = true; in iwl_mld_move_sta_state_up()
1831 mld_vif->authorized = false; in iwl_mld_move_sta_state_down()
/linux/security/
H A DKconfig127 designated as unlabelled, and only sockets authorized
/linux/Documentation/netlabel/
H A Ddraft-ietf-cipso-ipsecurity-01.txt450 a CIPSO host is authorized to handle. All datagrams that have a label
468 a CIPSO host is authorized to handle. All datagrams that have a label less
/linux/Documentation/admin-guide/LSM/
H A Dipe.rst128 authorized reference value (digest, signature, etc) as per the defined
146 IPE does not mitigate threats arising from malicious but authorized
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmac80211.c3883 mvmvif->authorized = 1; in iwl_mvm_sta_state_assoc_to_authorized()
3889 mvm_sta->authorized = true; in iwl_mvm_sta_state_assoc_to_authorized()
3917 mvmsta->authorized = false; in iwl_mvm_sta_state_authorized_to_assoc()
3929 mvmvif->authorized = 0; in iwl_mvm_sta_state_authorized_to_assoc()
/linux/net/mac80211/
H A Dtx.c2618 bool wme_sta = false, authorized = false; in ieee80211_build_hdr() local
2654 authorized = test_sta_flag(sta, WLAN_STA_AUTHORIZED); in ieee80211_build_hdr()
2850 authorized = test_sta_flag(sta, WLAN_STA_AUTHORIZED); in ieee80211_build_hdr()
2869 !multicast && !authorized && in ieee80211_build_hdr()

12