Page MenuHomeFreeBSD

LinuxKPI: Use the proper API to determine the ABI of the running process.
ClosedPublic

Authored by dchagin on Jun 28 2021, 2:07 PM.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jun 28 2021, 2:14 PM
sys/compat/linuxkpi/common/src/linux_compat.c
967

I would also changed this preprocessor check to something along COMPAT_FREEBSD32. I am not sure what exactly this should be. It is not about FreeBSD COMPAT32 exactly, but it is about executing compat32 ioctl handlers.

Current code is under ifdef amd64 . Maybe it should also be activated for aarch64 ?