/linux/security/apparmor/ |
H A D | apparmorfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2010 Canonical Ltd. 34 #include "include/label.h" 82 aa_put_loaddata(private->loaddata); in rawdata_f_data_free() 90 if (size > SIZE_MAX - sizeof(*ret)) in rawdata_f_data_alloc() 91 return ERR_PTR(-EINVA in rawdata_f_data_alloc() 418 struct aa_label *label; policy_update() local 481 struct aa_label *label; profile_remove() local 669 struct aa_label *label, *curr; query_data() local 760 struct aa_label *label, *curr; query_label() local 1073 struct aa_label *label = aa_get_label_rcu(&proxy->label); seq_profile_name_show() local 1084 struct aa_label *label = aa_get_label_rcu(&proxy->label); seq_profile_mode_show() local 1095 struct aa_label *label = aa_get_label_rcu(&proxy->label); seq_profile_attach_show() local 1111 struct aa_label *label = aa_get_label_rcu(&proxy->label); seq_profile_hash_show() local 1152 struct aa_label *label; seq_ns_stacked_show() local 1163 struct aa_label *label; seq_ns_nsstacked_show() local 1186 struct aa_label *label; seq_ns_level_show() local 1197 struct aa_label *label = begin_current_label_crit_section(); seq_ns_name_show() local 1624 struct aa_label *label; rawdata_get_link_base() local 1803 struct aa_label *label; ns_mkdir_op() local 1853 struct aa_label *label; ns_rmdir_op() local [all...] |
H A D | policy_unpack.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 1998-2008 Novell/SUSE 9 * Copyright 2009-2010 Canonical Ltd. 12 * policy format documentation see Documentation/admin-guide/LSM/apparmor.rst 39 if (ad->iface.ns) { in audit_cb() 41 audit_log_untrustedstring(ab, ad->iface.ns); in audit_cb() 43 if (ad->nam in audit_cb() 81 __aa_loaddata_update(struct aa_loaddata * data,long revision) __aa_loaddata_update() argument [all...] |
H A D | domain.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 2002-2008 Novell/SUSE 8 * Copyright 2009-2010 Canonical Ltd. 32 * may_change_ptraced_domain - check if can change profile on ptraced task 76 /**** TODO: dedup to aa_label_match - needs perm and dfa, merging 79 * and policy->dfa with file->df 125 label_compound_match(struct aa_profile * profile,struct aa_label * label,bool stack,aa_state_t state,bool subns,u32 request,struct aa_perms * perms) label_compound_match() argument 187 label_components_match(struct aa_profile * profile,struct aa_label * label,bool stack,aa_state_t start,bool subns,u32 request,struct aa_perms * perms) label_components_match() argument 249 label_match(struct aa_profile * profile,struct aa_label * label,bool stack,aa_state_t state,bool subns,u32 request,struct aa_perms * perms) label_match() argument 518 struct aa_label *label = NULL; x_table_lookup() local 810 handle_onexec(const struct cred * subj_cred,struct aa_label * label,struct aa_label * onexec,bool stack,const struct linux_binprm * bprm,char * buffer,struct path_cond * cond,bool * unsafe) handle_onexec() argument 876 struct aa_label *label, *new = NULL; apparmor_bprm_creds_for_exec() local 1062 change_hat(const struct cred * subj_cred,struct aa_label * label,const char * hats[],int count,int flags) change_hat() argument 1181 struct aa_label *label, *previous, *new = NULL, *target = NULL; aa_change_hat() local 1331 struct aa_label *label, *new = NULL, *target = NULL; aa_change_profile() local [all...] |
/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-388-helios4.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * based on SolidRun Clearfog revision A1 rev 2.0 (88F6828) 10 /dts-v1/; 11 #include "armada-388.dtsi" 12 #include "armada-38x-solidrun-microsom.dtsi" 25 /* So that mvebu u-boot can update the MAC addresses */ 30 stdout-path = "serial0:115200n8"; 33 reg_12v: regulator-12v { 34 compatible = "regulator-fixed"; 35 regulator-name = "power_brick_12V"; [all …]
|
H A D | armada-388-clearfog.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Device Tree file for SolidRun Clearfog Pro revision A1 rev 2.0 (88F6828) 8 /dts-v1/; 9 #include "armada-388-clearfog.dtsi" 13 compatible = "solidrun,clearfog-pro-a1", "solidrun,clearfog-a1", 18 internal-regs { 28 reset-gpios = <&expander0 2 GPIO_ACTIVE_LOW>; 34 gpio-keys { 35 compatible = "gpio-keys"; 36 pinctrl-0 = <&rear_button_pins>; [all …]
|
H A D | armada-388-clearfog-base.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Device Tree file for SolidRun Clearfog Base revision A1 rev 2.0 (88F6828) 8 /dts-v1/; 9 #include "armada-388-clearfog.dtsi" 13 compatible = "solidrun,clearfog-base-a1", 14 "solidrun,clearfog-a1", "marvell,armada388", 17 gpio-keys { 18 compatible = "gpio-keys"; 19 pinctrl-0 = <&rear_button_pins>; 20 pinctrl-names = "default"; [all …]
|
/linux/arch/arm/boot/dts/intel/ixp/ |
H A D | intel-ixp42x-dlink-dsm-g600.dts | 1 // SPDX-License-Identifier: ISC 3 * Device Tree file for D-Link DSM-G600 revision A based on IXP420 4 * NOTE: revision B of this device uses PowerPC and is NOT supported by 11 /dts-v1/; 13 #include "intel-ixp42x.dtsi" 14 #include <dt-bindings/input/input.h> 17 model = "D-Link DSM-G600 rev A"; 18 compatible = "dlink,dsm-g600-a", "intel,ixp42x"; 19 #address-cells = <1>; 20 #size-cells = <1>; [all …]
|
/linux/net/netfilter/ |
H A D | xt_IDLETIMER.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Written by Timo Teras <ext-timo.teras@nokia.com> 51 struct idletimer_tg *__idletimer_tg_find_by_label(const char *label) in __idletimer_tg_find_by_label() argument 56 if (!strcmp(label, entry->attr.attr.name)) in __idletimer_tg_find_by_label() 73 timer = __idletimer_tg_find_by_label(attr->attr.name); in idletimer_tg_show() 75 if (timer->timer_type & XT_IDLETIMER_ALARM) { in idletimer_tg_show() 76 ktime_t expires_alarm = alarm_expires_remaining(&timer->alarm); in idletimer_tg_show() 80 expires = timer->timer.expires; in idletimer_tg_show() 81 time_diff = jiffies_to_msecs(expires - jiffies) / 1000; in idletimer_tg_show() 98 sysfs_notify(idletimer_tg_kobj, NULL, timer->attr.attr.name); in idletimer_tg_work() [all …]
|
/linux/drivers/mfd/ |
H A D | tqmx86.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * TQ-Systems PLD MFD core driver, based on vendor driver by 6 * Copyright (c) 2015 TQ-Systems GmbH 16 #include <linux/platform_data/i2c-ocores.h> 108 .name = "ocores-i2c", 118 .name = "tqmx86-wdt", 124 .name = "tqmx86-gpio", 203 static int tqmx86_setup_irq(struct device *dev, const char *label, u8 irq, in tqmx86_setup_irq() argument 223 dev_err(dev, "invalid %s IRQ (%d)\n", label, irq); in tqmx86_setup_irq() 224 return -EINVAL; in tqmx86_setup_irq() [all …]
|
/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_fw.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * of PCI-SCSI IO processors. 6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 9 * Copyright (C) 1998-2000 Gerard Roudier 12 * a port of the FreeBSD ncr driver to Linux-1.2.13. 16 * Stefan Esser <se@mi.Uni-Koeln.de> 24 *----------------------------------------------------------------------------- 32 #define SYM_GEN_A(s, label) ((short) offsetof(s, label)), argument 33 #define SYM_GEN_B(s, label) ((short) offsetof(s, label)), argument 34 #define SYM_GEN_Z(s, label) ((short) offsetof(s, label)), argument [all …]
|
/linux/Documentation/admin-guide/RAS/ |
H A D | main.rst | 1 .. SPDX-License-Identifier: GPL-2.0 37 ------------- 51 Self-Monitoring, Analysis and Reporting Technology (SMART). 59 --------------- 72 * **Correctable Error (CE)** - the error detection mechanism detected and 76 * **Uncorrected Error (UE)** - the amount of errors happened above the error 77 correction threshold, and the system was unable to auto-correct. 79 * **Fatal Error** - when an UE error happens on a critical component of the 83 * **Non-fatal Error** - when an UE error happens on an unused component, 91 The mechanism for handling non-fatal errors is usually complex and may [all …]
|
/linux/Documentation/devicetree/bindings/net/dsa/ |
H A D | qca8k.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - John Crispin <john@phrozen.org> 13 If the QCA8K switch is connect to an SoC's external mdio-bus, each subnode 16 ID. To declare the internal mdio-bus configuration, declare an MDIO node in 18 PHY it is connected to. In this config, an internal mdio-bus is registered and 20 mdio-bus configurations are not supported by the hardware. 27 - enum: 28 - qca,qca8327 [all …]
|
/linux/arch/arm/boot/dts/nxp/mxs/ |
H A D | imx28-duckbill.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2013-2014,2016 Michael Heimpold <mhei@heimpold.de> 4 * Copyright (C) 2015-2017 I2SE GmbH <info@i2se.com> 7 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 20 reg_3p3v: regulator-3p3v { 21 compatible = "regulator-fixed"; 22 regulator-name = "3P3V"; 23 regulator-min-microvolt = <3300000>; 24 regulator-max-microvolt = <3300000>; [all …]
|
H A D | imx28-duckbill-2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2015-2017 I2SE GmbH <info@i2se.com> 7 /dts-v1/; 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/gpio/gpio.h> 14 compatible = "i2se,duckbill-2", "fsl,imx28"; 21 reg_3p3v: regulator-3p3v { 22 compatible = "regulator-fixed"; 23 regulator-name = "3P3V"; 24 regulator-min-microvolt = <3300000>; [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-platform-mellanox-bootctl | 6 The Life-cycle state of the SoC, which could be one of the 12 GA Non-Secured Non-Secure chip and not able to change state 94 the out-of-band 1Gbps Ethernet port. This MAC address is 95 provided on a board-level label. 103 This value is provided on a board-level label. 111 This value is provided on a board-level label. 119 This value is provided on a board-level label. 127 This value is provided on a board-level label. 142 The "rev" sysfs attribute holds the board's revision. 143 This value is provided on a board-level label. [all …]
|
H A D | sysfs-fs-nilfs2 | 2 What: /sys/fs/nilfs2/features/revision 6 Show current revision of NILFS file system driver. 7 This value informs about file system revision that 16 What: /sys/fs/nilfs2/<device>/revision 20 Show NILFS file system revision on volume. 22 revision on mounted volume. 52 Show volume's label. 64 Show last write time of super block in human-readable 148 human-readable format. 161 operation in human-readable format.
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap4-duovero-parlor.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 5 /dts-v1/; 7 #include "omap4-duovero.dtsi" 9 #include <dt-bindings/input/input.h> 13 compatible = "gumstix,omap4-duovero-parlor", "gumstix,omap4-duovero", "ti,omap4430", "ti,omap4"; 20 compatible = "gpio-leds"; 22 label = "duovero:blue:led0"; 24 linux,default-trigger = "heartbeat"; 29 compatible = "gpio-keys"; 30 #address-cells = <1>; [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-gw5912.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 22 stdout-path = &uart2; 25 gpio-keys { 26 compatible = "gpio-keys"; 28 user-pb { 29 label = "user_pb"; 34 user-pb1x { [all …]
|
/linux/drivers/pci/ |
H A D | pci-label.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Export the firmware instance and label associated with a PCI device to 10 * PCI Firmware Specification Revision 3.1 section 4.6.7 (DSM for Naming a 33 #include <linux/pci-acpi.h> 63 int domain_nr = pci_domain_nr(pdev->bus); in find_smbios_instance_string() 64 int bus = pdev->bus->number; in find_smbios_instance_string() 65 int devfn = pdev->devfn; in find_smbios_instance_string() 70 donboard = dmi->device_data; in find_smbios_instance_string() 71 if (donboard && donboard->segment == domain_nr && in find_smbios_instance_string() 72 donboard->bus == bus && in find_smbios_instance_string() [all …]
|
/linux/security/apparmor/include/ |
H A D | policy_ns.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2017 Canonical Ltd. 18 #include "label.h" 22 /* struct aa_ns_acct - accounting of profiles in namespace 35 /* struct aa_ns - namespace for a set of profiles 68 long revision; member 82 #define ns_unconfined(NS) (&(NS)->unconfined->label) 99 return rcu_dereference_protected(p->parent, in aa_deref_parent() 100 mutex_is_locked(&p->ns->lock)); in aa_deref_parent() [all …]
|
/linux/arch/arm/boot/dts/intel/pxa/ |
H A D | pxa300-raumfeld-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 10 hw-revision = <0>; 14 stdout-path = &ffuart; 22 reg_3v3: regulator-3v3 { 23 compatible = "regulator-fixed"; 24 regulator-name = "3v3-fixed-supply"; 25 regulator-min-microvolt = <3300000>; [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ddp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 46 ICE_DDP_PKG_ALREADY_LOADED = -1, 51 ICE_DDP_PKG_SAME_VERSION_ALREADY_LOADED = -2, 54 ICE_DDP_PKG_ALREADY_LOADED_NOT_SUPPORTED = -3, 59 ICE_DDP_PKG_COMPATIBLE_ALREADY_LOADED = -4, 64 ICE_DDP_PKG_FW_MISMATCH = -5, 67 ICE_DDP_PKG_INVALID_FILE = -6, 72 ICE_DDP_PKG_FILE_VERSION_TOO_HIGH = -7, 77 ICE_DDP_PKG_FILE_VERSION_TOO_LOW = -8, 80 ICE_DDP_PKG_FILE_SIGNATURE_INVALID = -9, [all …]
|
/linux/Documentation/devicetree/bindings/nvmem/layouts/ |
H A D | onie,tlv-layout.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/layouts/onie,tlv-layout.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Miquel Raynal <miquel.raynal@bootlin.com> 14 infrastructure shall provide a non-volatile memory with a table whose the 26 const: onie,tlv-layout 28 product-name: 32 part-number: 36 serial-number: [all …]
|
/linux/arch/arm/boot/dts/ti/davinci/ |
H A D | da850-lcdk.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 5 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 11 model = "DA850/AM1808/OMAP-L138 LCDK"; 12 compatible = "ti,da850-lcdk", "ti,da850"; 20 stdout-path = "serial2:115200n8"; 28 reserved-memory { 29 #address-cells = <1>; 30 #size-cells = <1>; [all …]
|
/linux/include/linux/fsl/ |
H A D | mc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2014-2016 Freescale Semiconductor, Inc. 6 * Copyright 2019-2020 NXP 27 * struct fsl_mc_driver - MC object device driver object 44 * with a DPRC bus. This structure is to be embedded in each device-specific 62 * enum fsl_mc_pool_type - Types of allocatable MC bus resources 80 * struct fsl_mc_resource - MC generic resource 83 * @data: pointer to resource-specific data if the resource is currently 101 * struct fsl_mc_device_irq - MC object device message-based interrupt 104 * @dev_irq_index: device-relative IRQ index [all …]
|