Files
FEX-Emu--FEX/External
Ryan Houdek 27309114be FHU: Convert to a interface target
Noticed recently that `FEXServer -w` was broken and couldn't understand
why. Turns out that FHU syscall handling was /always/ falling down the
`#else` path in the handlers since cmake `add_definitions` follows
folder scoping rules.

This means it was always returning -1, which was causing FEXServer's
pidfd_open usage to always receive -1, which meant the sendmsg with FD
was always failing, which meant the `FEXServer -w` would forever wait
for a message that was never sent.

Converting the utility over to a target not only fixes definition
scoping problems, but also makes the other paths actually work.

This found some compiling bugs and instead lets us define SYS_pidfd_open
if it doesn't exist. Letting the kernel return the ENOSYS if it doesn't
exist on that platform.

Main thing, fixes FEXServer -w hanging forever.
2022-09-14 14:58:23 -07:00
..
2021-12-06 18:27:11 -08:00
2022-07-31 15:45:37 -07:00
2022-08-04 11:20:55 -04:00
2022-03-01 03:55:16 -08:00
2020-03-06 09:08:13 +02:00
2022-02-26 00:43:43 -08:00
2020-11-29 00:30:28 -08:00
2020-03-06 09:08:13 +02:00
2022-09-07 19:10:13 -07:00
2021-11-13 01:36:09 -08:00
2022-06-09 20:09:49 -07:00