| /linux/security/apparmor/ |
| H A D | label.c | 5 * This file contains AppArmor label definitions 16 #include "include/label.h" 27 * code - will take a ref count on a label if it needs the label 29 * profiles - each profile is a label 30 * secids - a pinned secid will keep a refcount of the label it is 34 * Labels are not ref counted by the label set, so they maybe removed and 45 /* p->label will not updated any more as p is dead */ in free_proxy() 46 aa_put_label(rcu_dereference_protected(proxy->label, true)); in free_proxy() 48 RCU_INIT_POINTER(proxy->label, (struct aa_label *)PROXY_POISON); in free_proxy() 61 struct aa_proxy *aa_alloc_proxy(struct aa_label *label, gfp_t gfp) in aa_alloc_proxy() argument [all …]
|
| H A D | secid.c | 9 * AppArmor allocates a unique secid for every label used. If a label 10 * is replaced it receives the secid of the label it is replacing. 23 #include "include/label.h" 27 * secids - do not pin labels with a refcount. They rely on the label 39 * TODO: use secid_update in label replace 43 * see label for inverse aa_label_to_secid 50 static int apparmor_label_to_secctx(struct aa_label *label, in apparmor_label_to_secctx() argument 57 if (!label) in apparmor_label_to_secctx() 64 len = aa_label_asxprint(&cp->context, root_ns, label, in apparmor_label_to_secctx() 67 len = aa_label_snxprint(NULL, 0, root_ns, label, flags); in apparmor_label_to_secctx() [all …]
|
| H A D | af_unix.c | 22 #include "include/label.h" 34 struct aa_label *label, const struct path *path) in unix_fs_perm() argument 36 AA_BUG(!label); in unix_fs_perm() 39 if (unconfined(label) || !label_mediates(label, AA_CLASS_FILE)) in unix_fs_perm() 55 return aa_path_perm(op, subj_cred, label, path, in unix_fs_perm() 96 /* todo: local label matching */ in match_to_local() 99 *info = "failed local label match"; in match_to_local() 181 ad->peer = &peer->label; in match_label() 187 ad->info = "failed peer label match"; in match_label() 205 struct aa_ruleset *rules = profile->label.rules[0]; in profile_create_perm() [all …]
|
| H A D | domain.c | 96 struct aa_ruleset *rules = profile->label.rules[0]; in match_component() 113 * label_compound_match - find perms for full compound label 115 * @label: label to check access permissions for 124 * For the label A//&B//&C this does the perm match for A//&B//&C 129 struct aa_label *label, bool stack, in label_compound_match() argument 133 struct aa_ruleset *rules = profile->label.rules[0]; in label_compound_match() 139 label_for_each(i, label, tp) { in label_compound_match() 153 label_for_each_cont(i, label, tp) { in label_compound_match() 175 * label_components_match - find perms for all subcomponents of a label 177 * @label: label to check access permissions for [all …]
|
| H A D | lsm.c | 40 #include "include/label.h" 92 * prepare new cred label for modification by prepare_cred block 167 struct aa_label *label; in apparmor_capget() local 172 label = aa_get_newest_cred_label(cred); in apparmor_capget() 178 if (!unconfined(label)) { in apparmor_capget() 182 label_for_each_confined(i, label, profile) { in apparmor_capget() 191 aa_put_label(label); in apparmor_capget() 199 struct aa_label *label; in apparmor_capable() local 202 label = aa_get_newest_cred_label(cred); in apparmor_capable() 203 if (!unconfined(label)) in apparmor_capable() [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | feature-fixups.h | 31 #define START_FTR_SECTION(label) label##1: argument 33 #define FTR_SECTION_ELSE_NESTED(label) \ argument 34 label##2: \ 35 .pushsection __ftr_alt_##label,"a"; \ 37 label##3: 57 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument 58 label##4: \ 62 label##5: \ 65 FTR_ENTRY_OFFSET label##1b-label##5b; \ 66 FTR_ENTRY_OFFSET label##2b-label##5b; \ [all …]
|
| /linux/tools/testing/selftests/powerpc/primitives/asm/ |
| H A D | feature-fixups.h | 31 #define START_FTR_SECTION(label) label##1: argument 33 #define FTR_SECTION_ELSE_NESTED(label) \ argument 34 label##2: \ 35 .pushsection __ftr_alt_##label,"a"; \ 37 label##3: 57 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument 58 label##4: \ 62 label##5: \ 65 FTR_ENTRY_OFFSET label##1b-label##5b; \ 66 FTR_ENTRY_OFFSET label##2b-label##5b; \ [all …]
|
| /linux/security/apparmor/include/ |
| H A D | cred.h | 18 #include "label.h" 31 struct aa_label *label) in set_cred_label() argument 36 *blob = label; in set_cred_label() 40 * aa_get_newest_cred_label - obtain the newest label on a cred 41 * @cred: cred to obtain label from (NOT NULL) 43 * Returns: newest version of confining label 71 * aa_current_raw_label - find the current tasks confining label 73 * Returns: up to date confining label or the ns unconfined label (NOT NULL) 76 * of the label so it is safe to call when inside of locks. 84 * aa_get_current_label - get the newest version of the current tasks label [all …]
|
| /linux/drivers/platform/mellanox/ |
| H A D | mlx-platform.c | 703 .label = "psu1", 709 .label = "psu2", 719 .label = "psu1", 725 .label = "psu2", 735 .label = "pdb1", 744 .label = "pwr1", 751 .label = "pwr2", 761 .label = "pwr1", 767 .label = "pwr2", 776 .label = "pwr1", [all …]
|
| /linux/Documentation/admin-guide/blockdev/drbd/ |
| H A D | drbd-connection-state-overview.dot | 9 StandAlone [ style=filled,fillcolor=gray,label=StandAlone ] 13 Unconnected [ label=Unconnected ] 16 label="{communication loss|{Timeout|BrokenPipe|NetworkFailure}}" ] 21 label="try to connect, handshake" 23 WFConnection [ label=WFConnection ] 24 WFReportParams [ label=WFReportParams ] 27 TearDown [ label=TearDown ] 29 Connected [ label=Connected,style=filled,fillcolor=green,fontcolor=black ] 33 StartingSyncS [ label=StartingSyncS ] 34 StartingSyncT [ label=StartingSyncT ] [all …]
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm47094-linksys-panamera.dts | 34 label = "WPS"; 40 label = "WiFi"; 46 label = "Reset"; 56 label = "bcm53xx:white:wps"; 61 label = "bcm53xx:green:usb2"; 68 label = "bcm53xx:green:usb3"; 76 label = "bcm53xx:white:power"; 82 label = "bcm53xx:amber:wifi-disabled"; 87 label = "bcm53xx:white:wifi-enabled"; 92 label = "bcm53xx:white:bluebar1"; [all …]
|
| /linux/Documentation/admin-guide/LSM/ |
| H A D | Smack.rst | 53 report if a process with one label has access 86 the label given to a new filesystem object will be the label 90 The Smack label of a process that execs a program file with 95 label does not allow all of the access permitted to a process 96 with the label contained in this attribute. This is a very 104 gets the label of the directory instead of the label of the 110 Use the Smack label in this attribute for access control 115 Use the Smack label in this attribute for access control 118 There are multiple ways to set a Smack label on a file:: 123 A process can see the Smack label it is running with by [all …]
|
| /linux/tools/verification/models/sched/ |
| H A D | sts.dot | 4 {node [shape = plaintext, style=invis, label=""] "__init_can_sched"}; 14 "can_sched" [label = "can_sched", color = green3]; 15 "can_sched" -> "cant_sched" [ label = "irq_disable" ]; 16 "can_sched" -> "scheduling" [ label = "schedule_entry" ]; 17 "cant_sched" [label = "cant_sched"]; 18 "cant_sched" -> "can_sched" [ label = "irq_enable" ]; 19 "cant_sched" -> "cant_sched" [ label = "irq_entry" ]; 20 "disable_to_switch" [label = "disable_to_switch"]; 21 "disable_to_switch" -> "enable_to_exit" [ label = "irq_enable" ]; 22 "disable_to_switch" -> "in_irq" [ label = "irq_entry" ]; [all …]
|
| H A D | opid.dot | 4 {node [shape = plaintext, style=invis, label=""] "__init_disabled"}; 12 "disabled" [label = "disabled"]; 13 "disabled" -> "disabled" [ label = "sched_need_resched\nsched_waking\nirq_entry" ]; 14 "disabled" -> "irq_disabled" [ label = "preempt_enable" ]; 15 "disabled" -> "preempt_disabled" [ label = "irq_enable" ]; 16 "enabled" [label = "enabled", color = green3]; 17 "enabled" -> "enabled" [ label = "preempt_enable" ]; 18 "enabled" -> "irq_disabled" [ label = "irq_disable" ]; 19 "enabled" -> "preempt_disabled" [ label = "preempt_disable" ]; 20 "in_irq" [label = "in_irq"]; [all …]
|
| /linux/Documentation/bpf/ |
| H A D | map_lru_hash_update.dot | 8 label = "Key\n(locks held during operation)"; 11 remote_lock [shape=rectangle,fillcolor=4,label="remote CPU LRU lock"] 12 hash_lock [shape=rectangle,fillcolor=3,label="hashtab lock"] 13 lru_lock [shape=rectangle,fillcolor=2,label="LRU lock"] 14 local_lock [shape=rectangle,fillcolor=1,label="local CPU LRU lock"] 15 no_lock [shape=rectangle,label="no locks held"] 18 begin [shape=oval,label="begin\nbpf_map_update()"] 27 label="Local freelist\nnode available?"]; 29 label="Use node owned\nby this CPU"] 33 label="Map created with\ncommon LRU?\n(!BPF_F_NO_COMMON_LRU)"]; [all …]
|
| /linux/arch/arm64/boot/dts/apple/ |
| H A D | s8001-pmgr.dtsi | 14 label = "cpu0"; 23 label = "cpu1"; 32 label = "cpm"; 41 label = "sio_busif"; 49 label = "sio_p"; 58 label = "sbr"; 67 label = "aic"; 76 label = "dwi"; 84 label = "gpio"; 92 label = "pcie_ref"; [all …]
|
| H A D | t8103-pmgr.dtsi | 15 label = "sbr"; 24 label = "aic"; 33 label = "dwi"; 42 label = "soc_spmi0"; 50 label = "soc_spmi1"; 58 label = "soc_spmi2"; 66 label = "gpio"; 74 label = "pms_busif"; 83 label = "pms"; 92 label = "pms_fpwm0"; [all …]
|
| H A D | t8112-pmgr.dtsi | 15 label = "sbr"; 24 label = "aic"; 33 label = "dwi"; 42 label = "soc_spmi0"; 50 label = "gpio"; 58 label = "pms_busif"; 67 label = "pms"; 76 label = "pms_c1ppt"; 85 label = "soc_dpe"; 94 label = "pmgr_soc_ocla"; [all …]
|
| H A D | t8015-pmgr.dtsi | 14 label = "cpu0"; 23 label = "cpu1"; 32 label = "cpu2"; 41 label = "cpu3"; 50 label = "cpu4"; 59 label = "cpu5"; 68 label = "cpm"; 77 label = "sio_busif"; 85 label = "sio_p"; 94 label = "sbr"; [all …]
|
| H A D | t8011-pmgr.dtsi | 14 label = "cpu0"; 23 label = "cpu1"; 32 label = "cpu2"; 41 label = "cpm"; 50 label = "sio_busif"; 58 label = "sio_p"; 67 label = "sbr"; 76 label = "aic"; 85 label = "dwi"; 93 label = "gpio"; [all …]
|
| H A D | s5l8960x-pmgr.dtsi | 14 label = "cpu0"; 23 label = "cpu1"; 32 label = "secuart0"; 41 label = "secuart1"; 50 label = "cpm"; 59 label = "lio"; 68 label = "iomux"; 77 label = "aic"; 86 label = "debug"; 94 label = "dwi"; [all …]
|
| H A D | t8012-pmgr.dtsi | 14 label = "cpu0"; 23 label = "cpu1"; 32 label = "cpm"; 41 label = "sio_busif"; 49 label = "sio_p"; 58 label = "iomux"; 66 label = "sbr"; 75 label = "aic"; 84 label = "gpio"; 92 label = "pcie_down_ref"; [all …]
|
| H A D | t8010-pmgr.dtsi | 14 label = "cpu0"; 23 label = "cpu1"; 32 label = "cpm"; 41 label = "sio_busif"; 49 label = "sio_p"; 58 label = "sbr"; 67 label = "aic"; 76 label = "dwi"; 84 label = "gpio"; 92 label = "pms"; [all …]
|
| H A D | t7001-pmgr.dtsi | 14 label = "cpu0"; 23 label = "cpu1"; 32 label = "cpu2"; 41 label = "cpm"; 50 label = "sio_p"; 58 label = "lio"; 67 label = "iomux"; 76 label = "aic"; 85 label = "debug"; 93 label = "dwi"; [all …]
|
| /linux/arch/arm64/boot/dts/amd/ |
| H A D | elba-flash-parts.dtsi | 12 label = "rsvd"; 18 label = "flash"; 23 label = "golduenv"; 28 label = "boot0"; 33 label = "golduboot"; 38 label = "brdcfg0"; 43 label = "brdcfg1"; 48 label = "goldfw"; 53 label = "fwmap"; 58 label = "fwsel"; [all …]
|