freebsd-dev/sys/compat/linux
Bruce Evans 3db2a84395 Quick fix for LINT breakage caused by interface changes in accept(2), etc.
The log message for rev.1.160 of kern/uipc_syscalls.c and associated
changes only claimed to add restrict qualifiers (which have no effect in
the kernel so they probably shouldn't be added), but the following
interface changes were also made:
- caddr_t to `void *' and `struct sockaddr_t *'
- `int *' to `socklen_t *'.
These interface changes are not quite null, and this fix is quick (like
the changes in uipc_syscalls 1.160) because it uses bogus casts instead
of complete bounds-checked conversions.

Things should be fixed better when the conversions can be done without
using the stack gap.  linux_check_hdrincl() already uses the stack gap
and is fixed completely though the type mismatches in it were not fatal
(there were only fatal type mismatches from unopaquing pointers to
[o]sockaddr't's -- the difference between accept()'s args and oaccept()'s
args is now non-opaque, but this is not reflected in their args structs).
2003-12-25 09:59:02 +00:00
..
linux_file.c Do not call VOP_GETATTR in getdents function. It does not serve any 2003-11-19 04:12:32 +00:00
linux_getcwd.c Add a MAC check for VOP_LOOKUP() in the Linux getwcd() implementation. 2003-11-17 18:57:20 +00:00
linux_ioctl.c Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
linux_ioctl.h Add an ioctl handler for the DRM. This removes the need for the DRM_LINUX 2003-04-24 23:36:35 +00:00
linux_ipc.c Back out the following revisions: 2003-11-05 01:53:10 +00:00
linux_ipc.h - Add support for IPC_64 extensions into shmctl(2), semctl(2) and msgctl(2); 2002-10-11 11:43:09 +00:00
linux_mib.c Use __FBSDID(). 2003-06-10 21:29:12 +00:00
linux_mib.h Add a cleanup function to destroy the osname_lock and call it on module 2003-03-26 18:29:44 +00:00
linux_misc.c Pull latest changes from OpenBSD: 2003-11-16 15:07:10 +00:00
linux_signal.c Use __FBSDID(). 2003-06-10 21:29:12 +00:00
linux_signal.h Remove __P. 2002-03-20 05:48:58 +00:00
linux_socket.c Quick fix for LINT breakage caused by interface changes in accept(2), etc. 2003-12-25 09:59:02 +00:00
linux_socket.h Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
linux_stats.c Prevent leaking of fsid to non-root users in linux_statfs and linux_fstatfs. 2003-11-05 23:52:54 +00:00
linux_sysctl.c Use __FBSDID(). 2003-06-10 21:29:12 +00:00
linux_uid16.c Reject negative ngrp arguments in linux_setgroups() and linux_setgroups16(); 2003-10-21 11:00:33 +00:00
linux_util.c Use __FBSDID(). 2003-06-10 21:29:12 +00:00
linux_util.h Add function linux_msg() for regulating output from the linux emulation 2003-01-02 02:19:10 +00:00