diff options
author | Dmitry Chagin <dchagin@FreeBSD.org> | 2023-10-03 07:38:03 +0000 |
---|---|---|
committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2023-10-10 05:12:12 +0000 |
commit | ce693de706fca8218e59705f609efed52d8e3623 (patch) | |
tree | 1047772bc9e159fe92d12c7106068291f1bc5092 | |
parent | a4b328aa4182ca8315a95bda7b1e05aaa68c15b1 (diff) | |
download | src-ce693de706fca8218e59705f609efed52d8e3623.tar.gz src-ce693de706fca8218e59705f609efed52d8e3623.zip |
linux(4): Deorbit linux_nosys
Differential Revision: https://reviews.freebsd.org/D41901
MFC after: 1 week
(cherry picked from commit 199e397e9bf1076ae905e2742ef8e294870f5b27)
-rw-r--r-- | sys/amd64/linux/linux_sysvec.c | 1 | ||||
-rw-r--r-- | sys/compat/linux/linux_misc.c | 8 | ||||
-rw-r--r-- | sys/compat/linux/linux_sysproto.h | 36 |
3 files changed, 0 insertions, 45 deletions
diff --git a/sys/amd64/linux/linux_sysvec.c b/sys/amd64/linux/linux_sysvec.c index 98e2a01b98db..757986f94ae1 100644 --- a/sys/amd64/linux/linux_sysvec.c +++ b/sys/amd64/linux/linux_sysvec.c @@ -65,7 +65,6 @@ #include <compat/linux/linux_mib.h> #include <compat/linux/linux_misc.h> #include <compat/linux/linux_signal.h> -#include <compat/linux/linux_sysproto.h> #include <compat/linux/linux_util.h> #include <compat/linux/linux_vdso.h> diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index cb781f3bad75..b87c05322e16 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -79,7 +79,6 @@ #include <compat/linux/linux_signal.h> #include <compat/linux/linux_time.h> #include <compat/linux/linux_util.h> -#include <compat/linux/linux_sysproto.h> #include <compat/linux/linux_emul.h> #include <compat/linux/linux_misc.h> @@ -1507,13 +1506,6 @@ linux_getsid(struct thread *td, struct linux_getsid_args *args) } int -linux_nosys(struct thread *td, struct nosys_args *ignore) -{ - - return (ENOSYS); -} - -int linux_getpriority(struct thread *td, struct linux_getpriority_args *args) { int error; diff --git a/sys/compat/linux/linux_sysproto.h b/sys/compat/linux/linux_sysproto.h index 7ad9e2068d7f..e69de29bb2d1 100644 --- a/sys/compat/linux/linux_sysproto.h +++ b/sys/compat/linux/linux_sysproto.h @@ -1,36 +0,0 @@ -/*- - * SPDX-License-Identifier: BSD-3-Clause - * - * Copyright (c) 2005 Travis Poppe - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer - * in this position and unchanged. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef LINUX_SYSPROTO -#define LINUX_SYSPROTO - -int linux_nosys(struct thread *, struct nosys_args *); - -#endif |