Lines Matching refs:pid_context
417 char *pid_context; in user_ent_hash_build() local
450 if (getpidcon(pid, &pid_context) != 0) in user_ent_hash_build()
451 pid_context = strdup(no_ctx); in user_ent_hash_build()
456 free(pid_context); in user_ent_hash_build()
504 pid_context, sock_context); in user_ent_hash_build()
507 free(pid_context); in user_ent_hash_build()
3582 char *pid_context = NULL; in netlink_show_one() local
3592 security_get_initial_context("kernel", &pid_context); in netlink_show_one()
3594 getpidcon(pid, &pid_context); in netlink_show_one()
3596 printf(" proc_ctx=%s", pid_context ? : "unavailable"); in netlink_show_one()
3597 free(pid_context); in netlink_show_one()