diff options
author | Dmitry Chagin <dchagin@FreeBSD.org> | 2023-05-29 08:19:08 +0000 |
---|---|---|
committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2023-05-29 08:19:08 +0000 |
commit | c4299cec48a51996ec0bc076e5818438243e4041 (patch) | |
tree | 12f973bac08315fe6c65bfa83c9cd4c9a7e0ee20 | |
parent | a482fffc7ebf41c306d0020da37fea174de68fa5 (diff) | |
download | src-c4299cec48a51996ec0bc076e5818438243e4041.tar.gz src-c4299cec48a51996ec0bc076e5818438243e4041.zip |
linux(4): Make linux_emul_path private
There is no need to refer to linux_emul_path from outside anymore.
MFC after: 2 month
-rw-r--r-- | sys/compat/linux/linux_util.h | 2 | ||||
-rw-r--r-- | sys/modules/linux/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/linux_common/Makefile | 1 |
3 files changed, 0 insertions, 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 |