opnsense-src/sys/compat/linux
Dmitry Chagin fc1c787aa0 linux(4): Properly allocate buffer for kern_getdirentries in readdir
Looks like prior to ino64 project the size of the struct linux_dirent
was greater (or equal) to the size of the native struct dirent so the
native dirent fit into the buffer. After ino64 project the size of the
native struct dirent has increased.

Spotted by gcc12.
MFC after:		2 weeks
2023-07-19 00:44:15 +03:00
..
check_error.d linux(4): Eliminating remnants of futex sdt. 2021-07-29 12:52:36 +03:00
check_internal_locks.d
linux.c linux: Use the if_name() accessor to get loopback name 2023-03-07 09:47:01 -05:00
linux.h linux(4): Uniformly dev_t arguments translation 2023-04-28 11:55:05 +03:00
linux_common.c linux(4): Cleanup includes under compat/linux 2023-02-14 17:46:32 +03:00
linux_common.h linux(4): Add a counterpart to linux_ifflags 2023-03-04 12:26:48 +03:00
linux_dtrace.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_dummy.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_elf.c linux(4): Use inlined LINUX_KERNVER for tests to improve readability 2023-04-26 16:57:30 +03:00
linux_elf.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_elf32.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_elf64.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_emul.c linux(4): Use pwd_altroot() to tell namei() about ABI root path 2023-05-29 11:16:46 +03:00
linux_emul.h linux(4): Use pwd_altroot() to tell namei() about ABI root path 2023-05-29 11:16:46 +03:00
linux_errno.c linux(4): Cleanup includes under compat/linux 2023-02-14 17:46:32 +03:00
linux_errno.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_errno.inc spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_event.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_event.h Drop rdivacky@ "All rights reserved" from linux_event. 2021-07-20 10:06:16 +03:00
linux_file.c linux(4): Properly allocate buffer for kern_getdirentries in readdir 2023-07-19 00:44:15 +03:00
linux_file.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_fork.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_fork.h linux(4): Guard linux_fork.h by _KERNEL for use by libsysdecode 2023-05-26 19:31:47 +03:00
linux_futex.c Revert "linux(4): The futex_wait operation should restart." 2023-06-11 12:47:27 +03:00
linux_futex.h linux(4): Deduplicate MI futex structures. 2023-02-01 21:57:04 +03:00
linux_getcwd.c spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD 2023-05-12 10:44:04 -06:00
linux_ioctl.c linux(4): Check fd passed to unlockpt() 2023-05-18 10:55:39 +03:00
linux_ioctl.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_ipc.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_ipc.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_ipc64.h
linux_mib.c linux(4): Use pwd_altroot() to tell namei() about ABI root path 2023-05-29 11:16:46 +03:00
linux_mib.h linux(4): Move linux_debug decalration to linux_util.h 2023-05-18 19:58:23 +03:00
linux_misc.c linux(4): Add a dedicated linux_exec_copyin_args() 2023-05-29 12:18:16 +03:00
linux_misc.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_mmap.c linux(4): Cleanup includes under compat/linux 2023-02-14 17:46:32 +03:00
linux_mmap.h Add linux_madvise(2) instead of having Linux apps call the native 2020-06-20 18:29:22 +00:00
linux_netlink.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_persona.h
linux_ptrace.c linux(4): Make ptrace_pokeusr machine dependent 2023-05-18 20:01:12 +03:00
linux_rseq.c linux(4): Add a simple rseq syscall implementation. 2022-04-26 19:35:56 +03:00
linux_siginfo.h linux(4): Add kernel signal code definitions 2022-05-19 19:55:56 +03:00
linux_signal.c linux(4): Use inlined LINUX_KERNVER for tests to improve readability 2023-04-26 16:57:30 +03:00
linux_signal.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_socket.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_socket.h linux(4): Rename struct l_ifreq members names to avoid conflicts with FreeBSD 2023-03-04 12:11:38 +03:00
linux_stats.c linux(4): Use pwd_altroot() to tell namei() about ABI root path 2023-05-29 11:16:46 +03:00
linux_sysctl.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_sysproto.h
linux_time.c spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD 2023-05-12 10:44:04 -06:00
linux_time.h linux(4): Rename linux_timer.h to linux_time.h 2023-02-14 17:46:33 +03:00
linux_timer.c linux(4): Rename linux_timer.h to linux_time.h 2023-02-14 17:46:33 +03:00
linux_uid16.c linux(4): Use pwd_altroot() to tell namei() about ABI root path 2023-05-29 11:16:46 +03:00
linux_util.c linux(4): Use pwd_altroot() to tell namei() about ABI root path 2023-05-29 11:16:46 +03:00
linux_util.h linux(4): Make linux_emul_path private 2023-05-29 11:19:08 +03:00
linux_vdso.c linux(4): Cleanup includes under compat/linux 2023-02-14 17:46:32 +03:00
linux_vdso.h Drop "All rights reserved" from my copyright statements. 2021-07-20 10:05:50 +03:00
linux_vdso_gtod.inc spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
linux_videodev2_compat.h
linux_videodev_compat.h
stats_timing.d
trace_futexes.d