Home
last modified time | relevance | path

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

12345678910>>...97

/kernel/linux/linux-5.10/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
38 * TODO: use secid_update in label replace
42 * aa_secid_update - update a secid mapping to a new label
44 * @label: label the secid will now map to
46 void aa_secid_update(u32 secid, struct aa_label *label) in aa_secid_update() argument
51 idr_replace(&aa_secids, label, secid); in aa_secid_update()
57 * see label for inverse aa_label_to_secid
[all …]
Dtask.c19 * aa_get_task_label - Get another task's label
22 * Returns: counted reference to @task's label
36 * aa_replace_current_label - replace the current tasks label
37 * @label: new label (NOT NULL)
41 int aa_replace_current_label(struct aa_label *label) in aa_replace_current_label() argument
47 AA_BUG(!label); in aa_replace_current_label()
49 if (old == label) in aa_replace_current_label()
65 if (unconfined(label) || (labels_ns(old) != labels_ns(label))) in aa_replace_current_label()
67 * if switching to unconfined or a different label namespace in aa_replace_current_label()
73 * be careful switching cred label, when racing replacement it in aa_replace_current_label()
[all …]
Ddomain.c117 * label_compound_match - find perms for full compound label
119 * @label: label to check access permissions for
128 * For the label A//&B//&C this does the perm match for A//&B//&C
133 struct aa_label *label, bool stack, in label_compound_match() argument
142 label_for_each(i, label, tp) { in label_compound_match()
156 label_for_each_cont(i, label, tp) { in label_compound_match()
177 * label_components_match - find perms for all subcomponents of a label
179 * @label: label to check access permissions for
188 * For the label A//&B//&C this does the perm match for each of A and B and C
193 struct aa_label *label, bool stack, in label_components_match() argument
[all …]
Dnet.c14 #include "include/label.h"
102 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in audit_net_cb()
134 int aa_af_perm(struct aa_label *label, const char *op, u32 request, u16 family, in aa_af_perm() argument
140 return fn_for_each_confined(label, profile, in aa_af_perm()
145 static int aa_label_sk_perm(struct aa_label *label, const char *op, u32 request, in aa_label_sk_perm() argument
150 AA_BUG(!label); in aa_label_sk_perm()
153 if (!unconfined(label)) { in aa_label_sk_perm()
157 error = fn_for_each_confined(label, profile, in aa_label_sk_perm()
166 struct aa_label *label; in aa_sk_perm() local
173 label = begin_current_label_crit_section(); in aa_sk_perm()
[all …]
/kernel/linux/linux-5.10/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:
39 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument
40 label##4: \
44 label##5: \
47 FTR_ENTRY_OFFSET label##1b-label##5b; \
48 FTR_ENTRY_OFFSET label##2b-label##5b; \
[all …]
/kernel/linux/linux-5.10/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:
39 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument
40 label##4: \
44 label##5: \
47 FTR_ENTRY_OFFSET label##1b-label##5b; \
48 FTR_ENTRY_OFFSET label##2b-label##5b; \
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dbcm47094-linksys-panamera.dts29 label = "WPS";
35 label = "WiFi";
41 label = "Reset";
51 label = "bcm53xx:white:wps";
56 label = "bcm53xx:green:usb2";
63 label = "bcm53xx:green:usb3";
71 label = "bcm53xx:white:power";
76 label = "bcm53xx:amber:wifi-disabled";
81 label = "bcm53xx:white:wifi-enabled";
86 label = "bcm53xx:white:bluebar1";
[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-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-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 …]
Dbcm4708-smartrg-sr400ac.dts32 label = "bcm53xx:white:power";
38 label = "bcm53xx:amber:power";
43 label = "bcm53xx:white:usb2";
50 label = "bcm53xx:white:usb3";
57 label = "bcm53xx:green:usb3";
64 label = "bcm53xx:white:wps";
69 label = "bcm53xx:red:status";
74 label = "bcm53xx:green:status";
79 label = "bcm53xx:blue:status";
84 label = "bcm53xx:white:wan";
[all …]
Dbcm47094-luxul-xwr-3100.dts29 label = "bcm53xx:green:power";
35 label = "bcm53xx:green:lan3";
40 label = "bcm53xx:green:lan4";
45 label = "bcm53xx:green:wan";
50 label = "bcm53xx:green:lan1";
55 label = "bcm53xx:green:lan2";
60 label = "bcm53xx:green:usb3";
68 label = "bcm53xx:green:status";
74 label = "bcm53xx:green:2ghz";
79 label = "bcm53xx:green:5ghz";
[all …]
Dkirkwood-l-50.dts99 label = "l-50:green:status";
104 label = "l-50:red:status";
109 label = "l-50:green:wifi";
115 label = "l-50:green:internet";
120 label = "l-50:red:internet";
125 label = "l-50:green:usb1";
132 label = "l-50:red:usb1";
137 label = "l-50:green:usb2";
144 label = "l-50:red:usb2";
195 label = "factory_defaults";
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dmlx-platform.c358 .label = "psu1",
364 .label = "psu2",
374 .label = "psu1",
380 .label = "psu2",
389 .label = "pwr1",
396 .label = "pwr2",
406 .label = "fan1",
413 .label = "fan2",
420 .label = "fan3",
427 .label = "fan4",
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/
Dleds-bcm6358.txt27 - label : see Documentation/devicetree/bindings/leds/common.txt
46 label = "white:alarm";
51 label = "white:tv";
56 label = "white:tel";
61 label = "white:adsl";
77 label = "red:power";
82 label = "green:power";
87 label = "blue:power";
92 label = "red:broadband";
96 label = "green:broadband";
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Dimx6q-sabreauto.dot3 …n00000001 [label="{{<port0> 0} | ipu1_csi0\n/dev/v4l-subdev0 | {<port1> 1 | <port2> 2}}", shape=Mr…
7 n00000005 [label="ipu1_csi0 capture\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
8 …n0000000b [label="{{<port0> 0 | <port1> 1} | ipu1_vdic\n/dev/v4l-subdev1 | {<port2> 2}}", shape=Mr…
10 …n0000000f [label="{{<port0> 0} | ipu1_ic_prp\n/dev/v4l-subdev2 | {<port1> 1 | <port2> 2}}", shape=…
13 …n00000013 [label="{{<port0> 0} | ipu1_ic_prpenc\n/dev/v4l-subdev3 | {<port1> 1}}", shape=Mrecord, …
15 n00000016 [label="ipu1_ic_prpenc capture\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
16 …n0000001c [label="{{<port0> 0} | ipu1_ic_prpvf\n/dev/v4l-subdev4 | {<port1> 1}}", shape=Mrecord, s…
18 n0000001f [label="ipu1_ic_prpvf capture\n/dev/video2", shape=box, style=filled, fillcolor=yellow]
19 …n0000002f [label="{{<port0> 0} | ipu1_csi1\n/dev/v4l-subdev5 | {<port1> 1 | <port2> 2}}", shape=Mr…
23 n00000033 [label="ipu1_csi1 capture\n/dev/video3", shape=box, style=filled, fillcolor=yellow]
[all …]
/kernel/linux/linux-5.10/block/partitions/
Dsun.c57 __be16 obs3; /* bhead - Label head offset */ in sun_partition()
64 __be16 csum; /* Label xor'd checksum */ in sun_partition()
65 } * label; in sun_partition() local
72 label = read_part_sector(state, 0, &sect); in sun_partition()
73 if (!label) in sun_partition()
76 p = label->partitions; in sun_partition()
77 if (be16_to_cpu(label->magic) != SUN_LABEL_MAGIC) { in sun_partition()
79 bdevname(bdev, b), be16_to_cpu(label->magic)); */ in sun_partition()
84 ush = ((__be16 *) (label+1)) - 1; in sun_partition()
85 for (csum = 0; ush >= ((__be16 *) label);) in sun_partition()
[all …]

12345678910>>...97