git: c4299cec48a5 - main - linux(4): Make linux_emul_path private
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 May 2023 08:20:11 UTC
The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=c4299cec48a51996ec0bc076e5818438243e4041 commit c4299cec48a51996ec0bc076e5818438243e4041 Author: Dmitry Chagin <dchagin@FreeBSD.org> AuthorDate: 2023-05-29 08:19:08 +0000 Commit: Dmitry Chagin <dchagin@FreeBSD.org> CommitDate: 2023-05-29 08:19:08 +0000 linux(4): Make linux_emul_path private There is no need to refer to linux_emul_path from outside anymore. MFC after: 2 month --- sys/compat/linux/linux_util.h | 2 -- sys/modules/linux/Makefile | 1 - sys/modules/linux_common/Makefile | 1 - 3 files changed, 4 deletions(-) diff --git a/sys/compat/linux/linux_util.h b/sys/compat/linux/linux_util.h index 6e2c3d1ed670..aceb6e1da793 100644 --- a/sys/compat/linux/linux_util.h +++ b/sys/compat/linux/linux_util.h @@ -43,8 +43,6 @@ extern int linux_debug; MALLOC_DECLARE(M_LINUX); MALLOC_DECLARE(M_EPOLL); -extern char linux_emul_path[]; - int linux_pwd_onexec(struct thread *); void linux_pwd_onexec_native(struct thread *); diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile index 2c6aa41a1a18..294a7d595cc6 100644 --- a/sys/modules/linux/Makefile +++ b/sys/modules/linux/Makefile @@ -76,7 +76,6 @@ SRCS+= imgact_linux.c \ .if ${MACHINE_CPUARCH} == "i386" EXPORT_SYMS= -EXPORT_SYMS+= linux_emul_path EXPORT_SYMS+= linux_get_osname EXPORT_SYMS+= linux_get_osrelease EXPORT_SYMS+= linux_ioctl_register_handler diff --git a/sys/modules/linux_common/Makefile b/sys/modules/linux_common/Makefile index b7e59e0ac764..402d3ebc937e 100644 --- a/sys/modules/linux_common/Makefile +++ b/sys/modules/linux_common/Makefile @@ -16,7 +16,6 @@ SRCS+= linux_x86.c linux_vdso_selector_x86.c .endif EXPORT_SYMS= -EXPORT_SYMS+= linux_emul_path EXPORT_SYMS+= linux_get_osname EXPORT_SYMS+= linux_get_osrelease EXPORT_SYMS+= linux_use_real_ifname