MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetLinuxSyscallName

Function GetLinuxSyscallName

src/util/syscall_sandbox.cpp:451–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449};
450
451std::string GetLinuxSyscallName(uint32_t syscall_number)
452{
453 const auto element = LINUX_SYSCALLS.find(syscall_number);
454 if (element != LINUX_SYSCALLS.end()) {
455 return element->second;
456 }
457 return "*unknown*";
458}
459
460// See Linux kernel developer Kees Cook's seccomp guide at <https://outflux.net/teach-seccomp/> for
461// an accessible introduction to using seccomp.

Callers 1

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected