Searched refs:selinux_context (Results 1 – 7 of 7) sorted by relevance
58 char* selinux_context, size_t* total_size) { in GetSELinuxShellCode() argument63 size_t selinux_context_size = strlen(selinux_context) + 1 /* null byte */; in GetSELinuxShellCode()68 memcpy(shell_code.get() + shell_code_size, selinux_context, in GetSELinuxShellCode()
91 char* selinux_context; in SecurityContextFromProcess() local92 if (getpidcon(process_id, &selinux_context) != 0) { in SecurityContextFromProcess()115 context->selinux_context = selinux_context; in SecurityContextFromProcess()
32 char* selinux_context, size_t* total_size);
59 << (context->selinux_context.has_value() in main()60 ? context->selinux_context.value() in main()
44 std::optional<char *> selinux_context; member
149 working_context.selinux_context = optarg; in ParseOptions()
364 if (context->selinux_context.has_value()) { in ExecuteInContext()367 context->selinux_context.value(), &shell_code_size); in ExecuteInContext()