Searched refs:shell_code_size (Results 1 – 2 of 2) sorted by relevance
61 size_t shell_code_size = (uintptr_t)&__setcon_shell_code_end - in GetSELinuxShellCode() local64 *total_size = shell_code_size + selinux_context_size; in GetSELinuxShellCode()67 memcpy(shell_code.get(), (void*)&__setcon_shell_code_start, shell_code_size); in GetSELinuxShellCode()68 memcpy(shell_code.get() + shell_code_size, selinux_context, in GetSELinuxShellCode()
203 const size_t shell_code_size) { in ExecuteShellCode() argument210 std::unique_ptr<uint8_t[]> memory_backup(new uint8_t[shell_code_size]); in ExecuteShellCode()212 shell_code_size); in ExecuteShellCode()214 shell_code_size); in ExecuteShellCode()227 shell_code_size); in ExecuteShellCode()365 size_t shell_code_size; in ExecuteInContext() local367 context->selinux_context.value(), &shell_code_size); in ExecuteInContext()368 bool success = ExecuteShellCode(child, shell_code.get(), shell_code_size); in ExecuteInContext()