1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sys/compat/linux
Dmitry Chagin 9f7a06f27e Indeed, instead of hiding the kern___getcwd() bug by bogus cast
in r276564, change path type to char * (pathnames are always char *).
And remove bogus casts of malloc().
kern___getcwd() internally doesn't actually use or support u_char *
paths, except to copy them to a normal char * path.

These changes are not visible to libc as libc/gen/getcwd.c misdeclares
__getcwd() as taking a plain char * path.

While here remove _SYS_SYSPROTO_H_ for __getcwd() syscall as
we always have sysproto.h.

Pointed out by:	bde

MFC after:	1 week
2015-01-04 10:34:02 +00:00
..
check_error.d
check_internal_locks.d
linux_dtrace.h dtrace sdt: remove the ugly sname parameter of SDT_PROBE_DEFINE 2013-11-26 08:46:27 +00:00
linux_emul.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
linux_emul.h
linux_file.c Remove the no-at variants of the kern_xx() syscall helpers. E.g., we 2014-11-13 18:01:51 +00:00
linux_file.h
linux_fork.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
linux_futex.c Fix Clang warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign. 2015-01-01 19:57:24 +00:00
linux_futex.h
linux_getcwd.c Indeed, instead of hiding the kern___getcwd() bug by bogus cast 2015-01-04 10:34:02 +00:00
linux_ioctl.c Remake Linux' SOUND_MIXER_INFO IOCTL as a wrapper around new FreeBSD's one. 2014-09-24 08:18:11 +00:00
linux_ioctl.h
linux_ipc.c
linux_ipc.h
linux_mib.c Bump minimum linux compat version to support Centos6 ports updates for linux. 2014-09-22 17:26:07 +00:00
linux_mib.h
linux_misc.c The process spin lock currently has the following distinct uses: 2014-11-26 14:10:00 +00:00
linux_misc.h
linux_signal.c
linux_signal.h
linux_socket.c Fix Clang -Wpointer-sign warnings. 2015-01-01 20:53:38 +00:00
linux_socket.h
linux_stats.c Remove the no-at variants of the kern_xx() syscall helpers. E.g., we 2014-11-13 18:01:51 +00:00
linux_sysctl.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
linux_sysproto.h
linux_time.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
linux_timer.c Implement most of timer_{create,settime,gettime,getoverrun,delete} 2014-09-18 08:36:45 +00:00
linux_timer.h Implement most of timer_{create,settime,gettime,getoverrun,delete} 2014-09-18 08:36:45 +00:00
linux_uid16.c Remove the no-at variants of the kern_xx() syscall helpers. E.g., we 2014-11-13 18:01:51 +00:00
linux_util.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
linux_util.h
linux_videodev2_compat.h
linux_videodev_compat.h
stats_timing.d
trace_futexes.d