Home
last modified time | relevance | path

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

12345678910>>...88

/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()
61 struct aa_proxy *aa_alloc_proxy(struct aa_label *label, gfp_t gfp) in aa_alloc_proxy() argument
[all …]
H A Dtask.c26 * aa_get_task_label - Get another task's label
29 * Returns: counted reference to @task's label
43 * aa_replace_current_label - replace the current tasks label
44 * @label: new label (NOT NULL)
48 int aa_replace_current_label(struct aa_label *label) in aa_replace_current_label() argument
54 AA_BUG(!label); in aa_replace_current_label()
56 if (old == label) in aa_replace_current_label()
72 if (unconfined(label) || (labels_ns(old) != labels_ns(label))) in aa_replace_current_label()
74 * if switching to unconfined or a different label namespace in aa_replace_current_label()
80 * be careful switching cred label, when racing replacement it in aa_replace_current_label()
[all …]
H A Daf_unix.c22 #include "include/label.h"
35 struct aa_label *label, const struct path *path) in unix_fs_perm() argument
37 AA_BUG(!label); in unix_fs_perm()
40 if (unconfined(label) || !label_mediates(label, AA_CLASS_FILE)) in unix_fs_perm()
56 return aa_path_perm(op, subj_cred, label, path, in unix_fs_perm()
97 /* todo: local label matching */ in match_to_local()
100 *info = "failed local label match"; in match_to_local()
182 ad->peer = &peer->label; in match_label()
188 ad->info = "failed peer label match"; in match_label()
206 struct aa_ruleset *rules = profile->label.rules[0]; in profile_create_perm()
[all …]
H A Dlsm.c42 #include "include/label.h"
94 * prepare new cred label for modification by prepare_cred block
169 struct aa_label *label; in apparmor_capget() local
174 label = aa_get_newest_cred_label(cred); in apparmor_capget()
180 if (!unconfined(label)) { in apparmor_capget()
184 label_for_each_confined(i, label, profile) { in apparmor_capget()
193 aa_put_label(label); in apparmor_capget()
201 struct aa_label *label; in apparmor_capable() local
204 label = aa_get_newest_cred_label(cred); in apparmor_capable()
205 if (!unconfined(label)) in apparmor_capable()
[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##
74 BEGIN_FTR_SECTION_NESTED(label) global() argument
77 END_FTR_SECTION_NESTED(msk,val,label) global() argument
84 END_FTR_SECTION_NESTED_IFSET(msk,label) global() argument
92 ALT_FTR_SECTION_END_NESTED(msk,val,label) global() argument
94 ALT_FTR_SECTION_END_NESTED_IFSET(msk,label) global() argument
96 ALT_FTR_SECTION_END_NESTED_IFCLR(msk,label) global() argument
106 BEGIN_MMU_FTR_SECTION_NESTED(label) global() argument
109 END_MMU_FTR_SECTION_NESTED(msk,val,label) global() argument
116 END_MMU_FTR_SECTION_NESTED_IFSET(msk,label) global() argument
119 END_MMU_FTR_SECTION_NESTED_IFCLR(msk,label) global() argument
126 MMU_FTR_SECTION_ELSE_NESTED(label) global() argument
128 ALT_MMU_FTR_SECTION_END_NESTED(msk,val,label) global() argument
130 ALT_MMU_FTR_SECTION_END_NESTED_IFSET(msk,label) global() argument
132 ALT_MMU_FTR_SECTION_END_NESTED_IFCLR(msk,label) global() argument
142 BEGIN_FW_FTR_SECTION_NESTED(label) global() argument
145 END_FW_FTR_SECTION_NESTED(msk,val,label) global() argument
156 FW_FTR_SECTION_ELSE_NESTED(label) global() argument
158 ALT_FW_FTR_SECTION_END_NESTED(msk,val,label) global() argument
160 ALT_FW_FTR_SECTION_END_NESTED_IFSET(msk,label) global() argument
162 ALT_FW_FTR_SECTION_END_NESTED_IFCLR(msk,label) global() argument
202 START_LWSYNC_SECTION(label) global() argument
203 MAKE_LWSYNC_SECTION_ENTRY(label,sect) global() argument
[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_get_newest_cred_label - obtain the newest label on a cred
41 * @cred: cred to obtain label from (NOT NULL)
43 * Returns: newest version of confining label
71 * aa_current_raw_label - find the current tasks confining label
73 * Returns: up to date confining label or the ns unconfined label (NOT NULL)
76 * of the label so it is safe to call when inside of locks.
84 * aa_get_current_label - get the newest version of the current tasks label
[all …]
/linux/drivers/platform/mellanox/
H A Dmlx-platform.c703 .label = "psu1",
709 .label = "psu2",
719 .label = "psu1",
725 .label = "psu2",
735 .label = "pdb1",
744 .label = "pwr1",
751 .label = "pwr2",
761 .label = "pwr1",
767 .label = "pwr2",
776 .label = "pwr1",
[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/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_any"};
7 "any" [label = "any", color = green3];
8 "any" -> "any" [ label = "sched_need_resched;irq_off == 1\nsched_waking;irq_off == 1 && preempt_off == 1" ];
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/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/amd/
H A 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/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 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 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 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 …]
H A Dt8012-pmgr.dtsi14 label = "cpu0";
23 label = "cpu1";
32 label = "cpm";
41 label = "sio_busif";
49 label = "sio_p";
58 label = "iomux";
66 label = "sbr";
75 label = "aic";
84 label = "gpio";
92 label = "pcie_down_ref";
[all …]
H A Dt8010-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 = "pms";
[all …]
H A Dt7001-pmgr.dtsi14 label = "cpu0";
23 label = "cpu1";
32 label = "cpu2";
41 label = "cpm";
50 label = "sio_p";
58 label = "lio";
67 label = "iomux";
76 label = "aic";
85 label = "debug";
93 label = "dwi";
[all …]
H A Dt7000-pmgr.dtsi13 label = "cpu0";
22 label = "cpu1";
31 label = "cpm";
40 label = "sio_p";
48 label = "lio";
57 label = "iomux";
66 label = "aic";
75 label = "debug";
83 label = "dwi";
91 label = "gpio";
[all …]
H A Ds800-0-3-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 = "pms";
[all …]
H A 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/arch/powerpc/kernel/
H A 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 …]

12345678910>>...88