]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: Update access_ok macro for v5.0.
authorjohalun <johalun@FreeBSD.org>
Thu, 16 May 2019 17:44:17 +0000 (17:44 +0000)
committerjohalun <johalun@FreeBSD.org>
Thu, 16 May 2019 17:44:17 +0000 (17:44 +0000)
commit3a9128f648daca0ee750871be69fde2ae6bdf617
treea43397956889f99a97cf907a9c573f4b2d94c3b6
parentb267afaa6b3bc38dd70df8cbcf0fdb6e28d4d085
LinuxKPI: Update access_ok macro for v5.0.

Check LINUXKPI_VERSION macro for backwards compatibility.
It's recommended to update any drivers that depend on the older KPI
so we can deprecate < 5.0 code as we update to newer Linux version.
This patch is part of D19565

Reviewed by: hps
Approved by: imp (mentor), hps
MFC after: 1 week
sys/compat/linuxkpi/common/include/linux/uaccess.h
sys/compat/linuxkpi/common/src/linux_compat.c