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
This commit is contained in:
Konstantin Belousov 2019-08-11 19:17:29 +00:00
parent 7e097daa93
commit 62375ca79c
2 changed files with 0 additions and 21 deletions

View File

@ -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)
{

View File

@ -281,16 +281,6 @@ linux_getgroups16(struct thread *td, struct linux_getgroups16_args *args)
return (0);
}
/*
* The FreeBSD native 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_getpid(2), linux_getgid(2) and linux_getuid(2) in linux_misc.c
*
* linux_getgid16() - MP SAFE
* linux_getuid16() - MP SAFE
*/
int
linux_getgid16(struct thread *td, struct linux_getgid16_args *args)
{