Home
last modified time | relevance | path

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

12345678910>>...132

/linux-6.12.1/security/apparmor/
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 …]
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 * aa_secid_update - update a secid mapping to a new label
45 * @label: label the secid will now map to
47 void aa_secid_update(u32 secid, struct aa_label *label) in aa_secid_update() argument
52 __xa_store(&aa_secids, secid, label, 0); in aa_secid_update()
57 * see label for inverse aa_label_to_secid
[all …]
Ddomain.c109 * label_compound_match - find perms for full compound label
111 * @label: label to check access permissions for
120 * For the label A//&B//&C this does the perm match for A//&B//&C
125 struct aa_label *label, bool stack, in label_compound_match() argument
136 label_for_each(i, label, tp) { in label_compound_match()
150 label_for_each_cont(i, label, tp) { in label_compound_match()
171 * label_components_match - find perms for all subcomponents of a label
173 * @label: label to check access permissions for
182 * For the label A//&B//&C this does the perm match for each of A and B and C
187 struct aa_label *label, bool stack, in label_components_match() argument
[all …]
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 …]
/linux-6.12.1/tools/testing/selftests/powerpc/primitives/asm/
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-6.12.1/arch/powerpc/include/asm/
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-6.12.1/security/apparmor/include/
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-6.12.1/Documentation/admin-guide/blockdev/drbd/
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 …]
Ddisk-states-8.dot2 Diskless -> Inconsistent [ label = "ioctl_set_disk()" ]
3 Diskless -> Consistent [ label = "ioctl_set_disk()" ]
4 Diskless -> Outdated [ label = "ioctl_set_disk()" ]
5 Consistent -> Outdated [ label = "receive_param()" ]
6 Consistent -> UpToDate [ label = "receive_param()" ]
7 Consistent -> Inconsistent [ label = "start resync" ]
8 Outdated -> Inconsistent [ label = "start resync" ]
9 UpToDate -> Inconsistent [ label = "ioctl_replicate" ]
10 Inconsistent -> UpToDate [ label = "resync completed" ]
11 Consistent -> Failed [ label = "io completion error" ]
[all …]
/linux-6.12.1/arch/arm/boot/dts/broadcom/
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-6.12.1/Documentation/bpf/
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-6.12.1/drivers/platform/x86/
Dmlx-platform.c647 .label = "psu1",
653 .label = "psu2",
663 .label = "psu1",
669 .label = "psu2",
678 .label = "pwr1",
685 .label = "pwr2",
695 .label = "pwr1",
701 .label = "pwr2",
710 .label = "pwr1",
717 .label = "pwr2",
[all …]
/linux-6.12.1/Documentation/admin-guide/LSM/
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-6.12.1/arch/arm64/boot/dts/amd/
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-6.12.1/arch/arm64/boot/dts/apple/
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 …]
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 …]
Dt600x-pmgr.dtsi14 label = DIE_LABEL(pms_bridge);
23 label = DIE_LABEL(aic);
32 label = DIE_LABEL(dwi);
41 label = DIE_LABEL(pms);
50 label = DIE_LABEL(gpio);
59 label = DIE_LABEL(soc_dpe);
68 label = DIE_LABEL(pmgr_soc_ocla);
77 label = DIE_LABEL(pcie0_ref);
85 label = DIE_LABEL(pcie1_ref);
93 label = DIE_LABEL(apcie_st);
[all …]
/linux-6.12.1/arch/powerpc/platforms/pseries/
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-6.12.1/arch/arm/boot/dts/marvell/
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 …]
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 …]
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 …]
Darmada-385-linksys-rango.dts21 label = "rango:amber:wan";
26 label = "rango:white:wan";
31 label = "rango:white:usb2";
36 label = "rango:white:usb3_1";
41 label = "rango:white:usb3_2";
46 label = "rango:white:wps";
51 label = "rango:amber:wps";
59 label = "rango:white:power";
64 label = "rango:white:sata";
69 label = "rango:white:wlan_2g";
[all …]
/linux-6.12.1/arch/powerpc/kernel/
Dsignal.h25 #define unsafe_get_user_sigset(dst, src, label) do { \ argument
31 unsafe_get_user(__dst->sig[i], &__src->sig[i], label); \
48 #define unsafe_copy_fpr_to_user(to, task, label) do { \ argument
54 unsafe_put_user(__t->thread.TS_FPR(i), &buf[i], label); \
55 unsafe_put_user(__t->thread.fp_state.fpscr, &buf[i], label); \
58 #define unsafe_copy_vsx_to_user(to, task, label) do { \ argument
65 &buf[i], label);\
68 #define unsafe_copy_fpr_from_user(task, from, label) do { \ argument
74 unsafe_get_user(__t->thread.TS_FPR(i), &buf[i], label); \
75 unsafe_get_user(__t->thread.fp_state.fpscr, &buf[i], label); \
[all …]
/linux-6.12.1/Documentation/scsi/scsi_transport_srp/
Drport_state_diagram.dot7 running_rta [ label = "running;\nreconnect\ntimer\nactive" ];
9 running [ label = "running;\nreconnect\ntimer\nstopped" ];
11 failfast [ label = "fail I/O\nfast" ];
14 …running -> running_rta [ label = "fast_io_fail_tmo = off and\ndev_loss_tmo = off;\nsrp_start_tl_f…
15 …running_rta -> running [ label = "fast_io_fail_tmo = off and\ndev_loss_tmo = off;\nreconnecting s…
16 …running -> blocked [ label = "fast_io_fail_tmo >= 0 or\ndev_loss_tmo >= 0;\nsrp_start_tl_fail_tim…
17 …running -> failfast [ label = "fast_io_fail_tmo = off and\ndev_loss_tmo = off;\nreconnecting fail…
18 blocked -> failfast [ label = "fast_io_fail_tmo\nexpired or\nreconnecting\nfailed" ];
19 blocked -> lost [ label = "dev_loss_tmo\nexpired or\nsrp_stop_rport_timers()" ];
20 failfast -> lost [ label = "dev_loss_tmo\nexpired or\nsrp_stop_rport_timers()" ];
[all …]
/linux-6.12.1/tools/bpf/
Dbpf_exp.y44 static void bpf_set_curr_label(char *label);
45 static void bpf_set_jmp_label(char *label, enum jmp_type type);
50 char *label; member
63 %token extension number label
65 %type <label> label
119 : label ':' { bpf_set_curr_label($1); }
210 : OP_JMP label {
216 : OP_JEQ '#' number ',' label ',' label {
220 | OP_JEQ 'x' ',' label ',' label {
224 | OP_JEQ '%' 'x' ',' label ',' label {
[all …]

12345678910>>...132