/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | mls.c | 235 char oldc, in mls_context_to_sid() 252 if (oldc && def_sid == SECSID_NULL) in mls_context_to_sid() 261 if (!oldc) { in mls_context_to_sid() 443 * structure `oldc' from the values specified in the 449 struct context *oldc, in mls_convert_context() 462 oldc->range.level[l].sens - 1); in mls_convert_context() 470 ebitmap_for_each_positive_bit(&oldc->range.level[l].cat, in mls_convert_context() 234 mls_context_to_sid(struct policydb *pol, char oldc, char *scontext, struct context *context, struct sidtab *s, u32 def_sid) mls_context_to_sid() argument 447 mls_convert_context(struct policydb *oldp, struct policydb *newp, struct context *oldc, struct context *newc) mls_convert_context() argument
|
H A D | mls.h | 39 char oldc, 52 struct context *oldc,
|
H A D | services.c | 1443 char *scontextp, *p, oldc; in string_to_context_struct() local 1488 oldc = *p; in string_to_context_struct() 1497 rc = mls_context_to_sid(pol, oldc, p, ctx, sidtabp, def_sid); in string_to_context_struct() 2008 * structure `oldc' from the values specified 2014 static int convert_context(struct context *oldc, struct context *newc, void *p, in convert_context() argument 2028 if (oldc->str) { in convert_context() 2029 s = kstrdup(oldc->str, gfp_flags); in convert_context() 2039 * IMPORTANT: We need to copy the contents of oldc->str in convert_context() 2043 memcpy(s, oldc->str, oldc in convert_context() [all...] |
H A D | sidtab.h | 68 int (*func)(struct context *oldc, struct context *newc, void *args, gfp_t gfp_flags);
|
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | mls.c | 234 char oldc, in mls_context_to_sid() 252 if (oldc && def_sid == SECSID_NULL) in mls_context_to_sid() 261 if (!oldc) { in mls_context_to_sid() 443 * structure `oldc' from the values specified in the 449 struct context *oldc, in mls_convert_context() 463 oldc->range.level[l].sens - 1); in mls_convert_context() 471 ebitmap_for_each_positive_bit(&oldc->range.level[l].cat, in mls_convert_context() 233 mls_context_to_sid(struct policydb *pol, char oldc, char *scontext, struct context *context, struct sidtab *s, u32 def_sid) mls_context_to_sid() argument 447 mls_convert_context(struct policydb *oldp, struct policydb *newp, struct context *oldc, struct context *newc) mls_convert_context() argument
|
H A D | mls.h | 39 char oldc, 52 struct context *oldc,
|
H A D | services.h | 43 struct context *oldc, struct context *newc,
|
H A D | services.c | 1424 char *scontextp, *p, oldc; in string_to_context_struct() local 1469 oldc = *p; in string_to_context_struct() 1478 rc = mls_context_to_sid(pol, oldc, p, ctx, sidtabp, def_sid); in string_to_context_struct() 1980 * @oldc: original context 1984 * Convert the values in the security context structure @oldc from the values 1990 struct context *oldc, struct context *newc, in services_convert_context() 2001 if (oldc->str) { in services_convert_context() 2002 s = kstrdup(oldc->str, gfp_flags); in services_convert_context() 2011 * IMPORTANT: We need to copy the contents of oldc->str in services_convert_context() 2015 memcpy(s, oldc in services_convert_context() 1989 services_convert_context(struct convert_context_args *args, struct context *oldc, struct context *newc, gfp_t gfp_flags) services_convert_context() argument [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
H A D | fbcon.c | 2227 unsigned short oldc; in fbcon_generic_blank() local 2229 oldc = vc->vc_video_erase_char; in fbcon_generic_blank() 2232 vc->vc_video_erase_char = oldc; in fbcon_generic_blank()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/core/ |
H A D | fbcon.c | 2193 unsigned short oldc; in fbcon_generic_blank() local 2195 oldc = vc->vc_video_erase_char; in fbcon_generic_blank() 2198 vc->vc_video_erase_char = oldc; in fbcon_generic_blank()
|