mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 20:00:46 +02:00
Add pidfd_open syscall helpers
This commit is contained in:
1 parent
8d60d70553
commit
0dd03e9cb6
4 files changed
+23
-1
No files matched your search
@@ -1,3 +1,4 @@
|
||||
#include "FEXHeaderUtils/Syscalls.h"
|
||||
#include "Logger.h"
|
||||
#include "SquashFS.h"
|
||||
|
||||
@@ -398,7 +399,7 @@ namespace ProcessPipe {
|
||||
break;
|
||||
}
|
||||
case FEXServerClient::PacketType::TYPE_GET_PID_FD: {
|
||||
int FD = ::syscall(SYS_pidfd_open, ::getpid(), 0);
|
||||
int FD = FHU::Syscalls::pidfd_open(::getpid(), 0);
|
||||
|
||||
SendFDSuccessPacket(Socket, FD);
|
||||
|
||||
|
||||
Reference in new issue
Block a user