Home
last modified time | relevance | path

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

12345678910>>...87

/Linux-v6.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()
58 * see label for inverse aa_label_to_secid
[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 …]
Ddomain.c118 * label_compound_match - find perms for full compound label
120 * @label: label to check access permissions for
129 * For the label A//&B//&C this does the perm match for A//&B//&C
134 struct aa_label *label, bool stack, in label_compound_match() argument
143 label_for_each(i, label, tp) { in label_compound_match()
157 label_for_each_cont(i, label, tp) { in label_compound_match()
178 * label_components_match - find perms for all subcomponents of a label
180 * @label: label to check access permissions for
189 * For the label A//&B//&C this does the perm match for each of A and B and C
194 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
151 AA_BUG(!label); in aa_label_sk_perm()
154 if (ctx->label != kernel_t && !unconfined(label)) { in aa_label_sk_perm()
158 error = fn_for_each_confined(label, profile, in aa_label_sk_perm()
167 struct aa_label *label; in aa_sk_perm() local
174 label = begin_current_label_crit_section(); in aa_sk_perm()
[all …]
/Linux-v6.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-v6.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-v6.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-v6.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-v6.1/arch/powerpc/platforms/pseries/
Dplpks.c61 struct label { struct
187 * Label is combination of label attributes + name.
188 * Label attributes are used internally by kernel and not exposed to the user.
190 static struct label *construct_label(char *component, u8 varos, u8 *name, in construct_label()
193 struct label *label; in construct_label() local
200 if (component && slen > sizeof(label->attr.prefix)) in construct_label()
203 label = kzalloc(sizeof(*label), GFP_KERNEL); in construct_label()
204 if (!label) in construct_label()
208 memcpy(&label->attr.prefix, component, slen); in construct_label()
210 label->attr.version = LABEL_VERSION; in construct_label()
[all …]
/Linux-v6.1/arch/arm/boot/dts/
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 …]
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 …]
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-asus-rt-ac88u.dts37 label = "white:power";
43 label = "red:wan";
48 label = "white:lan";
53 label = "white:usb2";
60 label = "white:usb3";
67 label = "white:wps";
76 label = "WPS";
82 label = "Reset";
88 label = "Wi-Fi";
94 label = "Backlight";
[all …]
/Linux-v6.1/drivers/platform/x86/
Dmlx-platform.c500 .label = "psu1",
506 .label = "psu2",
516 .label = "psu1",
522 .label = "psu2",
531 .label = "pwr1",
538 .label = "pwr2",
548 .label = "pwr1",
554 .label = "pwr2",
563 .label = "fan1",
570 .label = "fan2",
[all …]
/Linux-v6.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-v6.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 …]
/Linux-v6.1/arch/powerpc/kernel/
Dsignal.h28 #define unsafe_get_user_sigset(dst, src, label) do { \ argument
34 unsafe_get_user(__dst->sig[i], &__src->sig[i], label); \
51 #define unsafe_copy_fpr_to_user(to, task, label) do { \ argument
57 unsafe_put_user(__t->thread.TS_FPR(i), &buf[i], label); \
58 unsafe_put_user(__t->thread.fp_state.fpscr, &buf[i], label); \
61 #define unsafe_copy_vsx_to_user(to, task, label) do { \ argument
68 &buf[i], label);\
71 #define unsafe_copy_fpr_from_user(task, from, label) do { \ argument
77 unsafe_get_user(__t->thread.TS_FPR(i), &buf[i], label); \
78 unsafe_get_user(__t->thread.fp_state.fpscr, &buf[i], label); \
[all …]
/Linux-v6.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-v6.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 …]
/Linux-v6.1/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 …]

12345678910>>...87