From 62375ca79c40b51e1070aea51862ed32d42afd51 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sun, 11 Aug 2019 19:17:29 +0000 Subject: compat/linux: Remove obsoleted and somewhat confusing comments related to COMPAT_43. Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D21200 --- sys/compat/linux/linux_misc.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'sys/compat/linux/linux_misc.c') diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index e5193226aab81..df2989f15be21 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -1547,17 +1547,6 @@ linux_reboot(struct thread *td, struct linux_reboot_args *args) } -/* - * The FreeBSD native getpid(2), getgid(2) and getuid(2) also modify - * td->td_retval[1] when COMPAT_43 is defined. This clobbers registers that - * are assumed to be preserved. The following lightweight syscalls fixes - * this. See also linux_getgid16() and linux_getuid16() in linux_uid16.c - * - * linux_getpid() - MP SAFE - * linux_getgid() - MP SAFE - * linux_getuid() - MP SAFE - */ - int linux_getpid(struct thread *td, struct linux_getpid_args *args) { -- cgit v1.2.3