Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-8] src/sys/compat/common
Module Name: src
Committed By: martin
Date: Tue Jan 21 16:51:27 UTC 2020
Modified Files:
src/sys/compat/common [netbsd-8]: rtsock_50.c
Log Message:
Apply patch, requested by pgoyette in ticket #1484:
sys/compat/common/rtsock_50.c (patch)
PR kern/54861:
For MODULAR kernels, we include all of the compat code, even if not
required by the selected COMPAT_xx options. Thus, rtsock_14.c is
included in the kernel.
rtsock_14.c in turn references routines in rtsock_50.c which is also
included in the kernel. However, if the kernel is built without the
COMPAT_50 option, rtsock_50.c ends up being a no-op and doesn't
define any of the routines that rtsock_14.c needs.
Thus, MODULAR kernels which only have COMPAT_60 (or newer) will fail
to link becuase of the undefined symbols.
Fix is to make rtsock_50.c functional if MODULAR kernel option is
specified.
To generate a diff of this commit:
cvs rdiff -u -r1.4.10.1 -r1.4.10.2 src/sys/compat/common/rtsock_50.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index