Home
last modified time | relevance | path

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

12345678910>>...123

/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 Dsecid.c9 * 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 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 Daf_unix.c22 #include "include/label.h"
34 struct aa_label *label, 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 …]
/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##1b-label##5b; \
66 FTR_ENTRY_OFFSET label##2b-label##5b; \
[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/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 …]
H A Dsssw.dot4 {node [shape = plaintext, style=invis, label=""] "__init_runnable"};
11 "runnable" [label = "runnable", color = green3];
12 …"runnable" -> "runnable" [ label = "sched_set_state_runnable\nsched_wakeup\nsched_switch_in\nsched…
13 "runnable" -> "sleepable" [ label = "sched_set_state_sleepable" ];
14 "runnable" -> "sleeping" [ label = "sched_switch_blocking" ];
15 "signal_wakeup" [label = "signal_wakeup"];
16 "signal_wakeup" -> "runnable" [ label = "signal_deliver" ];
17 …"signal_wakeup" -> "signal_wakeup" [ label = "sched_switch_in\nsched_switch_preempt\nsched_switch_…
18 "signal_wakeup" -> "sleepable" [ label = "sched_set_state_sleepable" ];
19 "sleepable" [label = "sleepable"];
[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/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/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/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/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/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 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 Dt8015-pmgr.dtsi14 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 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 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 …]
/linux/arch/powerpc/platforms/pseries/
H A Dplpks.c59 struct label { struct
198 * Label is combination of label attributes + name.
199 * Label attributes are used internally by kernel and not exposed to the user.
201 static struct label *construct_label(char *component, u8 varos, u8 *name, in construct_label()
204 struct label *label; in construct_label() local
213 if (slen > sizeof(label->attr.prefix)) in construct_label()
217 // The label structure must not cross a page boundary, so we align to the next power of 2 in construct_label()
218 label = kzalloc(roundup_pow_of_two(sizeof(*label)), GFP_KERNEL); in construct_label()
219 if (!label) in construct_label()
223 memcpy(&label->attr.prefix, component, slen); in construct_label()
[all …]
/linux/arch/arm/boot/dts/marvell/
H A Darmada-385-linksys-caiman.dts19 label = "caiman:amber:wan";
24 label = "caiman:white:wan";
29 label = "caiman:white:wlan_2g";
34 label = "caiman:white:wlan_5g";
39 label = "caiman:white:usb2";
44 label = "caiman:white:usb3_1";
49 label = "caiman:white:usb3_2";
54 label = "caiman:white:wps";
59 label = "caiman:amber:wps";
66 label = "caiman:white:power";
[all …]
H A Darmada-385-linksys-shelby.dts19 label = "shelby:amber:wan";
24 label = "shelby:white:wan";
29 label = "shelby:white:wlan_2g";
34 label = "shelby:white:wlan_5g";
39 label = "shelby:white:usb2";
44 label = "shelby:white:usb3_1";
49 label = "shelby:white:usb3_2";
54 label = "shelby:white:wps";
59 label = "shelby:amber:wps";
66 label = "shelby:white:power";
[all …]
H A Darmada-385-linksys-cobra.dts19 label = "cobra:amber:wan";
24 label = "cobra:white:wan";
29 label = "cobra:white:wlan_2g";
34 label = "cobra:white:wlan_5g";
39 label = "cobra:white:usb2";
44 label = "cobra:white:usb3_1";
49 label = "cobra:white:usb3_2";
54 label = "cobra:white:wps";
59 label = "cobra:amber:wps";
66 label = "cobra:white:power";
[all …]

12345678910>>...123