Home
last modified time | relevance | path

Searched refs:subj (Results 1 – 21 of 21) sorted by relevance

/OK3568_Linux_fs/external/xserver/Xext/
H A Dxselinux_hooks.c85 SELinuxDoCheck(SELinuxSubjectRec * subj, SELinuxObjectRec * obj, in SELinuxDoCheck() argument
89 if (subj->privileged) in SELinuxDoCheck()
92 auditdata->command = subj->command; in SELinuxDoCheck()
95 if (avc_has_perm(subj->sid, obj->sid, class, mode, &subj->aeref, in SELinuxDoCheck()
115 SELinuxSubjectRec *subj; in SELinuxLabelClient() local
119 subj = dixLookupPrivate(&client->devPrivates, subjectKey); in SELinuxLabelClient()
146 strncpy(subj->command, cmdname, COMMAND_LEN - 1); in SELinuxLabelClient()
154 if (avc_context_to_sid_raw(ctx, &subj->sid) < 0) in SELinuxLabelClient()
158 obj->sid = subj->sid; in SELinuxLabelClient()
170 SELinuxSubjectRec *subj; in SELinuxLabelInitial() local
[all …]
H A Dsecurity.c117 SecurityDoCheck(SecurityStateRec * subj, SecurityStateRec * obj, in SecurityDoCheck() argument
120 if (!subj->haveState || !obj->haveState) in SecurityDoCheck()
122 if (subj->trustLevel == XSecurityClientTrusted) in SecurityDoCheck()
698 SecurityStateRec *subj, *obj; in SecurityDevice() local
702 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey); in SecurityDevice()
709 if (SecurityDoCheck(subj, obj, requested, allowed) != Success) { in SecurityDevice()
742 SecurityStateRec *subj, *obj; in SecurityResource() local
747 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey); in SecurityResource()
751 if (subj->haveState && subj->trustLevel != XSecurityClientTrusted) in SecurityResource()
775 if (SecurityDoCheck(subj, obj, requested, allowed) == Success) in SecurityResource()
[all …]
H A Dxselinux_label.c172 SELinuxSelectionToSID(Atom selection, SELinuxSubjectRec * subj, in SELinuxSelectionToSID() argument
185 if (subj->sel_use_sid) { in SELinuxSelectionToSID()
186 tsid = subj->sel_use_sid; in SELinuxSelectionToSID()
193 if (obj->poly && avc_compute_member(subj->sid, obj->sid, in SELinuxSelectionToSID()
209 SELinuxPropertyToSID(Atom property, SELinuxSubjectRec * subj, in SELinuxPropertyToSID() argument
222 if (subj->prp_use_sid) { in SELinuxPropertyToSID()
223 tsid = subj->prp_use_sid; in SELinuxPropertyToSID()
228 if (avc_compute_create(subj->sid, obj->sid, SECCLASS_X_PROPERTY, &tsid) < 0) { in SELinuxPropertyToSID()
236 if (avc_compute_member(subj->sid, tsid2, in SELinuxPropertyToSID()
H A Dxselinux_ext.c171 SELinuxSubjectRec *subj; in ProcSELinuxSetDeviceContext() local
194 subj = dixLookupPrivate(&dev->devPrivates, subjectKey); in ProcSELinuxSetDeviceContext()
195 subj->sid = sid; in ProcSELinuxSetDeviceContext()
209 SELinuxSubjectRec *subj; in ProcSELinuxGetDeviceContext() local
219 subj = dixLookupPrivate(&dev->devPrivates, subjectKey); in ProcSELinuxGetDeviceContext()
220 return SELinuxSendContextReply(client, subj->sid); in ProcSELinuxGetDeviceContext()
293 SELinuxSubjectRec *subj; in ProcSELinuxGetClientContext() local
303 subj = dixLookupPrivate(&target->devPrivates, subjectKey); in ProcSELinuxGetClientContext()
304 return SELinuxSendContextReply(client, subj->sid); in ProcSELinuxGetClientContext()
H A Dxselinuxint.h84 SELinuxSelectionToSID(Atom selection, SELinuxSubjectRec * subj,
89 SELinuxPropertyToSID(Atom property, SELinuxSubjectRec * subj,
/OK3568_Linux_fs/kernel/security/apparmor/
H A Dpolicy.c1095 ssize_t aa_remove_profiles(struct aa_ns *policy_ns, struct aa_label *subj, in aa_remove_profiles() argument
1115 ns = aa_lookupn_ns(policy_ns ? policy_ns : labels_ns(subj), in aa_remove_profiles()
1124 ns = aa_get_ns(policy_ns ? policy_ns : labels_ns(subj)); in aa_remove_profiles()
1149 (void) audit_policy(subj, OP_PROF_RM, ns_name, name, info, in aa_remove_profiles()
1160 (void) audit_policy(subj, OP_PROF_RM, ns_name, name, info, in aa_remove_profiles()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-protocols/freediameter/
H A Dfreediameter_1.4.0.bb107 …er/${FD_PEM} -keyout ${D}${sysconfdir}/freeDiameter/${FD_KEY} -days 3650 -subj '/CN=${FD_HOSTNAME}…
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/ovmf/
H A Dovmf_git.bb261 -out ${DEPLOYDIR}/OvmfPkKek1.crt -nodes -days 20 -subj "/CN=OVMFSecBootTest"
/OK3568_Linux_fs/kernel/security/smack/
H A Dsmack_lsm.c4414 struct smack_known *subj, *obj; in smack_post_notification() local
4423 subj = smk_of_task(smack_cred(cred)); in smack_post_notification()
4427 rc = smk_access(subj, obj, MAY_WRITE, &ad); in smack_post_notification()
4428 rc = smk_bu_note("notification", subj, obj, MAY_WRITE, rc); in smack_post_notification()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-test/testfloat/files/
H A D0002-Makefile-for-cross-compile-TestFloat.patch65 +SUBJ_SOURCE_DIR = $(SOURCE_DIR)/subj-C
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A D802.11.h3230 uint8 subj; member
3266 uint8 subj; member
3303 uint8 subj; member
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A D802.11.h3344 uint8 subj; member
3380 uint8 subj; member
3417 uint8 subj; member
H A Dwlioctl.h13406 uint8 subj; /* Local/Remote/Thid party */ member
13415 uint8 subj; /* Local/Remote/Thid party */ member
13425 uint8 subj; /* Local/Remote/Thid party */ member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A D802.11.h3382 uint8 subj; member
3418 uint8 subj; member
3455 uint8 subj; member
H A Dwlioctl.h13395 uint8 subj; /* Local/Remote/Thid party */ member
13404 uint8 subj; /* Local/Remote/Thid party */ member
13414 uint8 subj; /* Local/Remote/Thid party */ member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A D802.11.h3382 uint8 subj; member
3418 uint8 subj; member
3455 uint8 subj; member
H A Dwlioctl.h13395 uint8 subj; /* Local/Remote/Thid party */ member
13404 uint8 subj; /* Local/Remote/Thid party */ member
13414 uint8 subj; /* Local/Remote/Thid party */ member
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A D802.11.h3698 uint8 subj; member
3734 uint8 subj; member
3771 uint8 subj; member
H A Dwlioctl.h16479 uint8 subj; /* Local/Remote/Thid party */ member
16488 uint8 subj; /* Local/Remote/Thid party */ member
16498 uint8 subj; /* Local/Remote/Thid party */ member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A D802.11.h3698 uint8 subj; member
3734 uint8 subj; member
3771 uint8 subj; member
H A Dwlioctl.h16461 uint8 subj; /* Local/Remote/Thid party */ member
16470 uint8 subj; /* Local/Remote/Thid party */ member
16480 uint8 subj; /* Local/Remote/Thid party */ member