freebsd-nq/sys/compat/linux
Dmitry Chagin 9ecc1abca3 On success, getrandom() Linux system call returns the number of bytes that
were copied to the buffer supplied by the user.

Also fix getrandom() if Linuxulator modules are built without the kernel.

PR:		219464
Submitted by:	Maciej Pasternacki
Reported by:	Maciej Pasternacki
MFC after:	1 week
2017-05-28 07:40:09 +00:00
..
check_error.d Switch linuxulator to use the native 1:1 threads. 2015-05-24 14:53:16 +00:00
check_internal_locks.d sys/compat/linux*: spelling fixes. 2016-04-30 00:53:10 +00:00
linux_common.c Move FEATURE macros for v4l and v4l2 to the common module. 2015-05-24 16:00:01 +00:00
linux_dtrace.h Fix style issues around existing SDT probes. 2015-12-16 23:39:27 +00:00
linux_emul.c Implement Linux personality() system call mainly due to READ_IMPLIES_EXEC flag. 2016-07-10 08:15:50 +00:00
linux_emul.h Implement Linux personality() system call mainly due to READ_IMPLIES_EXEC flag. 2016-07-10 08:15:50 +00:00
linux_event.c Linux epoll return EEXIST on case when op is EPOLL_CTL_ADD, and the supplied 2017-02-28 19:55:16 +00:00
linux_event.h Implement timerfd family syscalls. 2017-02-26 09:48:18 +00:00
linux_file.c Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
linux_file.h Add several fcntl flags. 2015-05-24 16:32:52 +00:00
linux_fork.c Update comments for the MD functions managing contexts for new 2016-06-16 12:05:44 +00:00
linux_futex.c Fix NULL pointer dereference in futex_wake_op() in case when the same 2017-05-01 12:25:37 +00:00
linux_futex.h Switch linuxulator to use the native 1:1 threads. 2015-05-24 14:53:16 +00:00
linux_getcwd.c Where possible we will use M_LINUX malloc(9) type. 2015-05-24 16:14:41 +00:00
linux_ioctl.c Add Evdev ioctl handler to the Linuxulator. 2017-04-23 07:43:50 +00:00
linux_ioctl.h Add Evdev ioctl handler to the Linuxulator. 2017-04-23 07:43:50 +00:00
linux_ipc64.h Reduce code duplication between MD Linux code by moving SYSV IPC 64-bit 2017-03-07 17:07:16 +00:00
linux_ipc.c Prevent ushort values overflow when convert new Linux 64-bit ipc 2017-04-07 05:37:08 +00:00
linux_ipc.h x86_64 Linux do not use multiplexing on ipc system calls. 2015-05-24 15:44:41 +00:00
linux_mib.c osd(9): Change array pointer to array pointer type from void* 2016-04-26 19:57:35 +00:00
linux_mib.h Update Linux compat revision to 32. 2015-05-24 16:55:32 +00:00
linux_misc.c On success, getrandom() Linux system call returns the number of bytes that 2017-05-28 07:40:09 +00:00
linux_misc.h Implement getrandom() syscall. 2017-03-18 18:34:29 +00:00
linux_mmap.c There are some Linux binaries that expect the system to obey the "addr" 2017-02-19 17:17:06 +00:00
linux_mmap.h Fix a copy/paste bug introduced during X86_64 Linuxulator work. 2016-07-10 08:22:04 +00:00
linux_persona.h Implement Linux personality() system call mainly due to READ_IMPLIES_EXEC flag. 2016-07-10 08:15:50 +00:00
linux_signal.c Implement rt_tgsigqueueinfo system call used by glibc for pthread_sigqueue(3). 2017-02-19 07:38:11 +00:00
linux_signal.h Rework signal code to allow using it by other modules, like linprocfs: 2015-05-24 17:47:20 +00:00
linux_socket.c As noted by Roel Bouwman Linux allows a large buffer size than the 2017-03-18 18:31:04 +00:00
linux_socket.h To reduce code duplication move socket defines to the MI path. 2017-03-18 18:23:30 +00:00
linux_stats.c Fix linux_fstatfs() to return proper value for f_frsize. Without it, 2017-02-25 20:32:37 +00:00
linux_sysctl.c Where possible we will use M_LINUX malloc(9) type. 2015-05-24 16:14:41 +00:00
linux_sysproto.h
linux_time.c Map Linux CLOCK_BOOTTIME to native CLOCK_UPTIME. 2017-04-23 07:57:30 +00:00
linux_timer.c Return EINVAL in case of incorrect sigev_signo value specified instead of panicing. 2015-12-26 09:09:49 +00:00
linux_timer.h Use the kern_clock_nanosleep() to implement Linux clock_nanosleep() with 2017-04-02 18:16:00 +00:00
linux_uid16.c Where possible we will use M_LINUX malloc(9) type. 2015-05-24 16:14:41 +00:00
linux_util.c Implement epoll family system calls. This is a tiny wrapper 2015-05-24 16:41:39 +00:00
linux_util.h Add UNIMPLEMENTED() placeholder macro for 2017-03-06 18:11:38 +00:00
linux_vdso.c Fix usage of the same 'i' variable in the external and nested loops. 2017-03-14 18:29:23 +00:00
linux_vdso.h Add 64 bit support to the vdso. 2015-05-24 15:45:36 +00:00
linux_videodev2_compat.h
linux_videodev_compat.h
linux.c Improve debugging output. 2017-02-16 10:36:00 +00:00
linux.h Rework signal code to allow using it by other modules, like linprocfs: 2015-05-24 17:47:20 +00:00
stats_timing.d Switch linuxulator to use the native 1:1 threads. 2015-05-24 14:53:16 +00:00
trace_futexes.d sys/compat/linux*: spelling fixes. 2016-04-30 00:53:10 +00:00