Lines Matching refs:pid_context
451 char *pid_context; in user_ent_hash_build() local
484 if (getpidcon(pid, &pid_context) != 0) in user_ent_hash_build()
485 pid_context = strdup(no_ctx); in user_ent_hash_build()
490 free(pid_context); in user_ent_hash_build()
538 pid_context, sock_context); in user_ent_hash_build()
541 free(pid_context); in user_ent_hash_build()
3215 char *pid_context = NULL; in netlink_show_one() local
3224 security_get_initial_context("kernel", &pid_context); in netlink_show_one()
3226 getpidcon(pid, &pid_context); in netlink_show_one()
3228 if (pid_context != NULL) { in netlink_show_one()
3229 printf("proc_ctx=%-*s ", serv_width, pid_context); in netlink_show_one()
3230 free(pid_context); in netlink_show_one()