Home
last modified time | relevance | path

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

12345678910>>...130

/kernel/linux/linux-4.19/security/apparmor/
Dlabel.c4 * This file contains AppArmor label definitions
20 #include "include/label.h"
31 * code - will take a ref count on a label if it needs the label
33 * profiles - each profile is a label
34 * secids - a pinned secid will keep a refcount of the label it is
38 * Labels are not ref counted by the label set, so they maybe removed and
49 /* p->label will not updated any more as p is dead */ in free_proxy()
50 aa_put_label(rcu_dereference_protected(proxy->label, true)); in free_proxy()
52 RCU_INIT_POINTER(proxy->label, (struct aa_label *)PROXY_POISON); in free_proxy()
64 struct aa_proxy *aa_alloc_proxy(struct aa_label *label, gfp_t gfp) in aa_alloc_proxy() argument
[all …]
Dsecid.c14 * AppArmor allocates a unique secid for every label used. If a label
15 * is replaced it receives the secid of the label it is replacing.
28 #include "include/label.h"
32 * secids - do not pin labels with a refcount. They rely on the label
44 * TODO: use secid_update in label replace
48 * aa_secid_update - update a secid mapping to a new label
50 * @label: label the secid will now map to
52 void aa_secid_update(u32 secid, struct aa_label *label) in aa_secid_update() argument
57 idr_replace(&aa_secids, label, secid); in aa_secid_update()
63 * see label for inverse aa_label_to_secid
[all …]
Dtask.c23 * aa_get_task_label - Get another task's label
26 * Returns: counted reference to @task's label
40 * aa_replace_current_label - replace the current tasks label
41 * @label: new label (NOT NULL)
45 int aa_replace_current_label(struct aa_label *label) in aa_replace_current_label() argument
51 AA_BUG(!label); in aa_replace_current_label()
53 if (old == label) in aa_replace_current_label()
69 if (unconfined(label) || (labels_ns(old) != labels_ns(label))) in aa_replace_current_label()
71 * if switching to unconfined or a different label namespace in aa_replace_current_label()
77 * be careful switching cred label, when racing replacement it in aa_replace_current_label()
[all …]
/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 …]
/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/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-4.19/tools/testing/selftests/powerpc/primitives/asm/
Dfeature-fixups.h34 #define START_FTR_SECTION(label) label##1: argument
36 #define FTR_SECTION_ELSE_NESTED(label) \ argument
37 label##2: \
38 .pushsection __ftr_alt_##label,"a"; \
40 label##3:
42 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument
43 label##4: \
47 label##5: \
50 FTR_ENTRY_OFFSET label##1b-label##5b; \
51 FTR_ENTRY_OFFSET label##2b-label##5b; \
[all …]
/kernel/linux/linux-4.19/arch/powerpc/include/asm/
Dfeature-fixups.h34 #define START_FTR_SECTION(label) label##1: argument
36 #define FTR_SECTION_ELSE_NESTED(label) \ argument
37 label##2: \
38 .pushsection __ftr_alt_##label,"a"; \
40 label##3:
42 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument
43 label##4: \
47 label##5: \
50 FTR_ENTRY_OFFSET label##1b-label##5b; \
51 FTR_ENTRY_OFFSET label##2b-label##5b; \
[all …]
Dexception-64s.h167 #define __EXCEPTION_PROLOG_2_RELON(label, h) \ argument
169 LOAD_HANDLER(r12,label); \
177 #define __EXCEPTION_PROLOG_2_RELON(label, h) \ argument
182 b label;
184 #define EXCEPTION_PROLOG_2_RELON(label, h) \ argument
185 __EXCEPTION_PROLOG_2_RELON(label, h)
192 #define EXCEPTION_RELON_PROLOG(area, label, h, extra, vec) \ argument
196 EXCEPTION_PROLOG_2_RELON(label, h)
200 * use the normal LOAD_REG_IMMEDIATE macro to load the address of label.
202 * part of label. This requires that the label be within 64KB of kernelbase, and
[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-4.19/security/apparmor/include/
Dcred.h22 #include "label.h"
30 * aa_cred_raw_label - obtain cred's label
31 * @cred: cred to obtain label from (NOT NULL)
33 * Returns: confining label
39 struct aa_label *label = cred_label(cred); in aa_cred_raw_label() local
41 AA_BUG(!label); in aa_cred_raw_label()
42 return label; in aa_cred_raw_label()
46 * aa_get_newest_cred_label - obtain the newest label on a cred
47 * @cred: cred to obtain label from (NOT NULL)
49 * Returns: newest version of confining label
[all …]
/kernel/linux/linux-4.19/Documentation/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/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-4.19/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-4.19/arch/arm/boot/dts/
Dbcm47094-linksys-panamera.dts30 label = "WPS";
36 label = "WiFi";
42 label = "Reset";
52 label = "bcm53xx:white:wps";
57 label = "bcm53xx:green:usb2";
64 label = "bcm53xx:green:usb3";
72 label = "bcm53xx:white:power";
77 label = "bcm53xx:amber:wifi-disabled";
82 label = "bcm53xx:white:wifi-enabled";
87 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 …]
/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-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 …]
/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 …]

12345678910>>...130