]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linux(4): Move use_real_names knob to the linux.c
authorDmitry Chagin <dchagin@FreeBSD.org>
Tue, 14 Feb 2023 14:46:32 +0000 (17:46 +0300)
committerDmitry Chagin <dchagin@FreeBSD.org>
Mon, 27 Feb 2023 18:15:25 +0000 (21:15 +0300)
commit8fd0f86abdfa8b98facb22649cb03545d0cf0df6
tree1a2f9b803e726ffc1a87d9d1cac4d298c5a34d02
parenta052a188766f022d4b0cb2484bda636a3345f644
linux(4): Move use_real_names knob to the linux.c

MI linux.[c|h] are the module independent in terms of the Linux emulation
layer (ie, intended for both ISA - 32 & 64 bit), analogue of MD linux.h.
There must be a code here that cannot be placed into the corresponding by
common sense MI source and header files, i.e., code is machine independent,
but ISA dependent.
For the use_real_names knob, the code must be placed into the
linux_socket.[c|h], however linux_socket is ISA dependent.

Approved by: re (cperciva)
MFC after: 2 weeks

(cherry picked from commit 32fdc75fe7276083d446964055b0de0e29970b7c)
(cherry picked from commit 884ea80d4ebbd2d8ff03d56eddc1dc64d49be908)
sys/compat/linux/linux.c
sys/compat/linux/linux.h
sys/compat/linux/linux_util.c
sys/compat/linux/linux_util.h