# SPDX-License-Identifier: GPL-2.0 ### # scripts contains sources for various helper programs used throughout # the kernel for the build process. hostprogs-always-$(CONFIG_KALLSYMS) += kallsyms hostprogs-always-$(BUILD_C_RECORDMCOUNT) += recordmcount hostprogs-always-$(CONFIG_BUILDTIME_TABLE_SORT) += sorttable hostprogs-always-$(CONFIG_ASN1) += asn1_compiler hostprogs-always-$(CONFIG_MODULE_SIG_FORMAT) += sign-file hostprogs-always-$(CONFIG_SYSTEM_EXTRA_CERTIFICATE) += insert-sys-cert hostprogs-always-$(CONFIG_RUST_KERNEL_DOCTESTS) += rustdoc_test_builder hostprogs-always-$(CONFIG_RUST_KERNEL_DOCTESTS) += rustdoc_test_gen ifdef CONFIG_X86_64 always-$(CONFIG_RUST) += target.json filechk_rust_target = $< < include/config/auto.conf $(obj)/target.json: scripts/generate_rust_target include/config/auto.conf FORCE $(call filechk,rust_target) endif hostprogs += generate_rust_target generate_rust_target-rust := y rustdoc_test_builder-rust := y rustdoc_test_gen-rust := y HOSTCFLAGS_sorttable.o = -I$(srctree)/tools/include HOSTLDLIBS_sorttable = -lpthread HOSTCFLAGS_asn1_compiler.o = -I$(srctree)/include HOSTCFLAGS_sign-file.o = $(shell $(HOSTPKG_CONFIG) --cflags libcrypto 2> /dev/null) HOSTLDLIBS_sign-file = $(shell $(HOSTPKG_CONFIG) --libs libcrypto 2> /dev/null || echo -lcrypto) ifdef CONFIG_UNWINDER_ORC ifeq ($(ARCH),x86_64) SRCARCH := x86 endif ifeq ($(ARCH),loongarch) SRCARCH := loongarch endif HOSTCFLAGS_sorttable.o += -I$(srctree)/tools/arch/$(SRCARCH)/include HOSTCFLAGS_sorttable.o += -DUNWINDER_ORC_ENABLED endif ifdef CONFIG_BUILDTIME_MCOUNT_SORT HOSTCFLAGS_sorttable.o += -DMCOUNT_SORT_ENABLED endif # The following programs are only built on demand hostprogs += unifdef # The module linker script is preprocessed on demand targets += module.lds subdir-$(CONFIG_GCC_PLUGINS) += gcc-plugins subdir-$(CONFIG_MODVERSIONS) += genksyms subdir-$(CONFIG_SECURITY_SELINUX) += selinux # Let clean descend into subdirs subdir- += basic dtc gdb kconfig mod tion> Hosts the 0x221E linux distro kernel.Ubuntu
summaryrefslogtreecommitdiff
path: root/net/compat.c
AgeCommit message (Expand)Author
2020-03-10net: abstract out normal and compat msghdr importJens Axboe
2019-11-15y2038: socket: use __kernel_old_timespec instead of timespecArnd Bergmann
2019-05-31uio: make import_iovec()/compat_import_iovec() return bytes on successJens Axboe
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner
2019-04-19net: rework SIOCGSTAMP ioctl handlingArnd Bergmann
2019-03-05Merge branch 'timers-2038-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds
2019-03-03net: fixup address-space warnings in compat_mc_{get,set}sockopt()Ben Dooks
2019-02-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller
2019-02-22net: socket: add check for negative optlen in compat setsockoptJann Horn
2019-02-07y2038: syscalls: rename y2038 compat syscallsArnd Bergmann
2019-02-03socket: Use old_timeval types for socket timestampsDeepa Dinamani
2019-02-03sockopt: Rename SO_TIMESTAMP* to SO_TIMESTAMP*_OLDDeepa Dinamani
2019-02-03socket: move compat timeout handling into sock.cArnd Bergmann
2019-01-03Remove 'type' argument from access_ok() functionLinus Torvalds
2019-01-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds
2019-01-01sock: Make sock->sk_stamp thread-safeDeepa Dinamani
2018-12-18y2038: socket: Add compat_sys_recvmmsg_time64Arnd Bergmann
2018-08-29y2038: socket: Change recvmmsg to use __kernel_timespecArnd Bergmann
2018-08-27y2038: globally rename compat_time to old_time32Arnd Bergmann
2018-08-06net: avoid unnecessary sock_flag() check when enable timestampYafang Shao
2018-04-27net: support compat 64-bit time in {s,g}etsockoptLance Richardson
2018-04-02net: socket: add __compat_sys_...msg() helpers; remove in-kernel calls to com...Dominik Brodowski
2018-04-02net: socket: add __compat_sys_recvmmsg() helper; remove in-kernel call to com...Dominik Brodowski
2018-04-02net: socket: add __compat_sys_getsockopt() helper; remove in-kernel call to c...Dominik Brodowski
2018-04-02net: socket: add __compat_sys_setsockopt() helper; remove in-kernel call to c...Dominik Brodowski
2018-04-02net: socket: add __compat_sys_recvfrom() helper; remove in-kernel call to com...Dominik Brodowski
2018-04-02net: socket: replace call to sys_recv() with __sys_recvfrom()Dominik Brodowski
2018-04-02net: socket: replace calls to sys_send() with __sys_sendto()Dominik Brodowski
2018-04-02net: socket: move check for forbid_cmsg_compat to __sys_...msg()Dominik Brodowski
2018-04-02net: socket: add __sys_shutdown() helper; remove in-kernel call to syscallDominik Brodowski
2018-04-02net: socket: add __sys_socketpair() helper; remove in-kernel call to syscallDominik Brodowski
2018-04-02net: socket: add __sys_getpeername() helper; remove in-kernel call to syscallDominik Brodowski
2018-04-02net: socket: add __sys_getsockname() helper; remove in-kernel call to syscallDominik Brodowski
2018-04-02net: socket: add __sys_listen() helper; remove in-kernel call to syscallDominik Brodowski
2018-04-02net: socket: add __sys_connect() helper; remove in-kernel call to syscallDominik Brodowski
2018-04-02net: socket: add __sys_bind() helper; remove in-kernel call to syscallDominik Brodowski
2018-04-02net: socket: add __sys_socket() helper; remove in-kernel call to syscallDominik Brodowski
2018-04-02net: socket: add __sys_accept4() helper; remove in-kernel call to syscallDominik Brodowski
2018-04-02net: socket: add __sys_sendto() helper; remove in-kernel call to syscallDominik Brodowski
2018-04-02net: socket: add __sys_recvfrom() helper; remove in-kernel call to syscallDominik Brodowski
2017-09-20net: compat: assert the size of cmsg copied in is as expectedMeng Xu
2017-07-04get_compat_bpf_fprog(): don't copyin field-by-fieldAl Viro
2017-07-04get_compat_msghdr(): get rid of field-by-field copyinAl Viro
2017-02-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds
2017-02-21Merge branch 'stable-4.11' of git://git.infradead.org/users/pcmoore/auditLinus Torvalds
2017-01-18audit: log 32-bit socketcallsRichard Guy Briggs
2017-01-04net: Assert at build time the assumptions we make about the CMSG header.David S. Miller
2017-01-04scm: remove use CMSG{_COMPAT}_ALIGN(sizeof(struct {compat_}cmsghdr))yuan linyu
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds