Home
last modified time | relevance | path

Searched full:label (Results 1 – 25 of 2074) sorted by relevance

12345678910>>...83

/linux/security/apparmor/
H A Dlabel.c5 * 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()
60 struct aa_proxy *aa_alloc_proxy(struct aa_label *label, gfp_t gfp) in aa_alloc_proxy() argument
[all …]
H A Daf_unix.c22 #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 Dlsm.c40 #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 …]
H A Dtask.c24 * aa_get_task_label - Get another task's label
27 * Returns: counted reference to @task's label
41 * aa_replace_current_label - replace the current tasks label
42 * @label: new label (NOT NULL)
46 int aa_replace_current_label(struct aa_label *label) in aa_replace_current_label() argument
52 AA_BUG(!label); in aa_replace_current_label()
54 if (old == label) in aa_replace_current_label()
70 if (unconfined(label) || (labels_ns(old) != labels_ns(label))) in aa_replace_current_label()
72 * if switching to unconfined or a different label namespace in aa_replace_current_label()
78 * be careful switching cred label, when racing replacement it in aa_replace_current_label()
[all …]
H A Ddomain.c96 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 …]
/linux/tools/testing/selftests/powerpc/primitives/asm/
H A Dfeature-fixups.h31 #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##
74 BEGIN_FTR_SECTION_NESTED(label) global() argument
77 END_FTR_SECTION_NESTED(msk,val,label) global() argument
84 END_FTR_SECTION_NESTED_IFSET(msk,label) global() argument
92 ALT_FTR_SECTION_END_NESTED(msk,val,label) global() argument
94 ALT_FTR_SECTION_END_NESTED_IFSET(msk,label) global() argument
96 ALT_FTR_SECTION_END_NESTED_IFCLR(msk,label) global() argument
106 BEGIN_MMU_FTR_SECTION_NESTED(label) global() argument
109 END_MMU_FTR_SECTION_NESTED(msk,val,label) global() argument
116 END_MMU_FTR_SECTION_NESTED_IFSET(msk,label) global() argument
119 END_MMU_FTR_SECTION_NESTED_IFCLR(msk,label) global() argument
126 MMU_FTR_SECTION_ELSE_NESTED(label) global() argument
128 ALT_MMU_FTR_SECTION_END_NESTED(msk,val,label) global() argument
130 ALT_MMU_FTR_SECTION_END_NESTED_IFSET(msk,label) global() argument
132 ALT_MMU_FTR_SECTION_END_NESTED_IFCLR(msk,label) global() argument
142 BEGIN_FW_FTR_SECTION_NESTED(label) global() argument
145 END_FW_FTR_SECTION_NESTED(msk,val,label) global() argument
156 FW_FTR_SECTION_ELSE_NESTED(label) global() argument
158 ALT_FW_FTR_SECTION_END_NESTED(msk,val,label) global() argument
160 ALT_FW_FTR_SECTION_END_NESTED_IFSET(msk,label) global() argument
162 ALT_FW_FTR_SECTION_END_NESTED_IFCLR(msk,label) global() argument
202 START_LWSYNC_SECTION(label) global() argument
203 MAKE_LWSYNC_SECTION_ENTRY(label,sect) global() argument
[all...]
/linux/arch/powerpc/include/asm/
H A Dfeature-fixups.h31 #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 Dcred.h18 #include "label.h"
31 struct aa_label *label) in set_cred_label() argument
36 *blob = label; in set_cred_label()
40 * aa_cred_raw_label - obtain cred's label
41 * @cred: cred to obtain label from (NOT NULL)
43 * Returns: confining label
49 struct aa_label *label = cred_label(cred); in aa_cred_raw_label() local
51 AA_BUG(!label); in aa_cred_raw_label()
52 return label; in aa_cred_raw_label()
56 * aa_get_newest_cred_label - obtain the newest label on a cred
[all …]
/linux/drivers/platform/mellanox/
H A Dmlx-platform.c701 .label = "psu1",
707 .label = "psu2",
717 .label = "psu1",
723 .label = "psu2",
732 .label = "pwr1",
739 .label = "pwr2",
749 .label = "pwr1",
755 .label = "pwr2",
764 .label = "pwr1",
771 .label = "pwr2",
[all …]
/linux/Documentation/admin-guide/blockdev/drbd/
H A Ddrbd-connection-state-overview.dot9 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/tools/verification/models/sched/
H A Dsts.dot4 {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 Dopid.dot4 {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/arch/arm/boot/dts/broadcom/
H A Dbcm47094-linksys-panamera.dts34 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 DSmack.rst53 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/Documentation/bpf/
H A Dmap_lru_hash_update.dot8 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/amd/
H A Delba-flash-parts.dtsi12 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 …]
/linux/arch/arm64/boot/dts/apple/
H A Ds8001-pmgr.dtsi14 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 Dt8103-pmgr.dtsi15 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 Dt8112-pmgr.dtsi15 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 Dt8011-pmgr.dtsi14 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 Ds5l8960x-pmgr.dtsi14 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 Dt8012-pmgr.dtsi14 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 Dt8010-pmgr.dtsi14 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 Dt7001-pmgr.dtsi14 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 …]
H A Dt7000-pmgr.dtsi13 label = "cpu0";
22 label = "cpu1";
31 label = "cpm";
40 label = "sio_p";
48 label = "lio";
57 label = "iomux";
66 label = "aic";
75 label = "debug";
83 label = "dwi";
91 label = "gpio";
[all …]

12345678910>>...83