aboutsummaryrefslogtreecommitdiffstats
path: root/net/compat.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-12file: stop exposing receive_fd_user()Christian Brauner1-1/+1
2023-04-14net/compat: Update msg_control_is_user when setting a kernel pointerKevin Brodsky1-0/+1
2023-04-14net: Ensure ->msg_control_user is used for user buffersKevin Brodsky1-6/+6
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-1/+2
2022-09-20net: clear msg_get_inq in __get_compat_msghdr()Tetsuo Handa1-0/+1
2022-07-24Merge branch 'for-5.20/io_uring' into for-5.20/io_uring-zerocopy-sendJens Axboe1-22/+17
2022-07-24net: fix compat pointer in get_compat_msghdr()Jens Axboe1-1/+1
2022-07-24net: copy from user before calling __get_compat_msghdrDylan Yudaken1-22/+17
2022-07-19skbuff: carry external ubuf_info in msghdrPavel Begunkov1-0/+1
2021-06-03net: Return the correct errno codeZheng Yongjun1-1/+1
2020-10-03iov_iter: transparently handle compat iovecs in import_iovecChristoph Hellwig1-2/+2
2020-08-07net/scm: Fix typo in SCM_RIGHTS compat refactoringKees Cook1-1/+1
2020-08-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-119/+3
2020-08-04Merge tag 'seccomp-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-30/+25
2020-08-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2020-07-27fix a braino in cmsghdr_from_user_compat_to_kern()Al Viro1-1/+1
2020-07-19net: remove compat_sys_{get,set}sockoptChristoph Hellwig1-76/+3
2020-07-19net: simplify cBPF setsockopt compat handlingChristoph Hellwig1-44/+1
2020-07-13fs: Add receive_fd() wrapper for __receive_fd()Kees Cook1-1/+1
2020-07-13fs: Move __scm_install_fd() to __receive_fd()Kees Cook1-1/+1
2020-07-13net/scm: Regularize compat handling of scm_detach_fds()Kees Cook1-31/+25
2020-07-13net/compat: Add missing sock updates for SCM_RIGHTSKees Cook1-0/+1
2020-06-01switch cmsghdr_from_user_compat_to_kern() to copy_from_user()Al Viro1-7/+8
2020-05-20get rid of compat_mc_setsockopt()Al Viro1-90/+0
2020-05-20get rid of compat_mc_getsockopt()Al Viro1-79/+0
2020-05-20lift compat definitions of mcast [sg]etsockopt requests into net/compat.hAl Viro1-25/+0
2020-05-11net: cleanly handle kernel vs user buffers for ->msg_controlChristoph Hellwig1-2/+3
2020-03-10net: abstract out normal and compat msghdr importJens Axboe1-7/+23
2019-11-15y2038: socket: use __kernel_old_timespec instead of timespecArnd Bergmann1-1/+1
2019-05-31uio: make import_iovec()/compat_import_iovec() return bytes on successJens Axboe1-1/+2
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-04-19net: rework SIOCGSTAMP ioctl handlingArnd Bergmann1-57/+0
2019-03-05Merge branch 'timers-2038-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2019-03-03net: fixup address-space warnings in compat_mc_{get,set}sockopt()Ben Dooks1-4/+4
2019-02-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+5
2019-02-22net: socket: add check for negative optlen in compat setsockoptJann Horn1-1/+5
2019-02-07y2038: syscalls: rename y2038 compat syscallsArnd Bergmann1-1/+1
2019-02-03socket: Use old_timeval types for socket timestampsDeepa Dinamani1-3/+3
2019-02-03sockopt: Rename SO_TIMESTAMP* to SO_TIMESTAMP*_OLDDeepa Dinamani1-3/+3
2019-02-03socket: move compat timeout handling into sock.cArnd Bergmann1-65/+1
2019-01-03Remove 'type' argument from access_ok() functionLinus Torvalds1-15/+15
2019-01-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-6/+9
2019-01-01sock: Make sock->sk_stamp thread-safeDeepa Dinamani1-6/+9
2018-12-18y2038: socket: Add compat_sys_recvmmsg_time64Arnd Bergmann1-22/+12
2018-08-29y2038: socket: Change recvmmsg to use __kernel_timespecArnd Bergmann1-3/+3
2018-08-27y2038: globally rename compat_time to old_time32Arnd Bergmann1-2/+2
2018-08-06net: avoid unnecessary sock_flag() check when enable timestampYafang Shao1-4/+2
2018-04-27net: support compat 64-bit time in {s,g}etsockoptLance Richardson1-2/+4
2018-04-02net: socket: add __compat_sys_...msg() helpers; remove in-kernel calls to com...Dominik Brodowski1-7/+30
2018-04-02net: socket: add __compat_sys_recvmmsg() helper; remove in-kernel call to com...Dominik Brodowski1-5/+12
2018-04-02net: socket: add __compat_sys_getsockopt() helper; remove in-kernel call to c...Dominik Brodowski1-4/+12
2018-04-02net: socket: add __compat_sys_setsockopt() helper; remove in-kernel call to c...Dominik Brodowski1-4/+10
2018-04-02net: socket: add __compat_sys_recvfrom() helper; remove in-kernel call to com...Dominik Brodowski1-7/+16
2018-04-02net: socket: replace call to sys_recv() with __sys_recvfrom()Dominik Brodowski1-1/+2
2018-04-02net: socket: replace calls to sys_send() with __sys_sendto()Dominik Brodowski1-1/+1
2018-04-02net: socket: move check for forbid_cmsg_compat to __sys_...msg()Dominik Brodowski1-3/+5
2018-04-02net: socket: add __sys_shutdown() helper; remove in-kernel call to syscallDominik Brodowski1-1/+1
2018-04-02net: socket: add __sys_socketpair() helper; remove in-kernel call to syscallDominik Brodowski1-1/+1
2018-04-02net: socket: add __sys_getpeername() helper; remove in-kernel call to syscallDominik Brodowski1-1/+1
2018-04-02net: socket: add __sys_getsockname() helper; remove in-kernel call to syscallDominik Brodowski1-1/+1
2018-04-02net: socket: add __sys_listen() helper; remove in-kernel call to syscallDominik Brodowski1-1/+1
2018-04-02net: socket: add __sys_connect() helper; remove in-kernel call to syscallDominik Brodowski1-1/+1
2018-04-02net: socket: add __sys_bind() helper; remove in-kernel call to syscallDominik Brodowski1-1/+1
2018-04-02net: socket: add __sys_socket() helper; remove in-kernel call to syscallDominik Brodowski1-1/+1
2018-04-02net: socket: add __sys_accept4() helper; remove in-kernel call to syscallDominik Brodowski1-2/+2
2018-04-02net: socket: add __sys_sendto() helper; remove in-kernel call to syscallDominik Brodowski1-1/+2
2018-04-02net: socket: add __sys_recvfrom() helper; remove in-kernel call to syscallDominik Brodowski1-1/+2
2017-09-20net: compat: assert the size of cmsg copied in is as expectedMeng Xu1-0/+7
2017-07-04get_compat_bpf_fprog(): don't copyin field-by-fieldAl Viro1-9/+9
2017-07-04get_compat_msghdr(): get rid of field-by-field copyinAl Viro1-17/+14
2017-02-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-8/+9
2017-02-21Merge branch 'stable-4.11' of git://git.infradead.org/users/pcmoore/auditLinus Torvalds1-3/+14
2017-01-18audit: log 32-bit socketcallsRichard Guy Briggs1-3/+14
2017-01-04net: Assert at build time the assumptions we make about the CMSG header.David S. Miller1-0/+3
2017-01-04scm: remove use CMSG{_COMPAT}_ALIGN(sizeof(struct {compat_}cmsghdr))yuan linyu1-8/+6
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-06-09packet: compat support for sock_fprogWillem de Bruijn1-2/+15
2016-06-06soreuseport: add compat case for setsockopt SO_ATTACH_REUSEPORT_CBPFHelge Deller1-1/+2
2015-04-09net: switch importing msghdr from userland to {compat_,}import_iovec()Al Viro1-11/+7
2015-03-23net: socket: add support for async operationstadeusz.struk@intel.com1-0/+2
2015-03-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+7
2015-03-20net: compat: Update get_compat_msghdr() to match copy_msghdr_from_user() beha...Catalin Marinas1-0/+7
2015-03-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-9/+0
2015-02-23net: compat: Ignore MSG_CMSG_COMPAT in compat_sys_{send, recv}msgCatalin Marinas1-9/+0
2015-02-22net: __aligned(size) is preferred over __attribute__((aligned(size)))Ameen Ali1-5/+5
2014-12-09put iov_iter into msghdrAl Viro1-4/+6
2014-11-19fold verify_iovec() into copy_msghdr_from_user()Al Viro1-30/+22
2014-11-19{compat_,}verify_iovec(): switch to generic copying of iovecsAl Viro1-36/+15
2014-11-19separate kernel- and userland-side msghdrAl Viro1-2/+2
2014-07-29net: sendmsg: fix NULL pointer dereferenceAndrey Ryabinin1-4/+5
2014-03-06net/compat: convert to COMPAT_SYSCALL_DEFINE with changing parameter typesHeiko Carstens1-4/+4
2014-03-06net/compat: convert to COMPAT_SYSCALL_DEFINEHeiko Carstens1-12/+12
2014-01-30x86, x32: Correct invalid use of user timespec in the kernelPaX Team1-7/+2
2013-11-29net: clamp ->msg_namelen instead of returning an errorDan Carpenter1-1/+1
2013-11-20net: rework recvmsg handler msg_name and msg_namelen logicHannes Frederic Sowa1-1/+2
2013-10-03net: heap overflow in __audit_sockaddr()Dan Carpenter1-0/+2
2013-06-06net: Unbreak compat_sys_{send,recv}msgAndy Lutomirski1-2/+11
2012-09-26make get_file() return its argumentAl Viro1-2/+1
2012-07-22net: Fix references to out-of-scope variables in put_cmsg_compat()Jesper Juhl1-2/+2
2012-05-21Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-8/+0
2012-04-15net: cleanup unsigned to unsigned intEric Dumazet1-5/+5
2012-04-14net/compat.c,linux/filter.h: share compat_sock_fprogWill Drewry1-8/+0
2012-03-29Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-25/+40
2012-03-11net: get rid of some pointless casts to sockaddrMaciej Żenczykowski1-1/+1
2012-02-20compat: Use COMPAT_USE_64BIT_TIME in net/compat.cH. J. Lu1-25/+40
2011-10-31net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modulesPaul Gortmaker1-0/+1
2011-05-05net: Add sendmmsg socket system callAnton Blanchard1-3/+13
2010-10-28net: Limit socket I/O iovec total length to INT_MAX.David S. Miller1-4/+6
2010-06-03From abbffa2aa9bd6f8df16d0d0a102af677510d8b9a Mon Sep 17 00:00:00 2001Eric Dumazet1-25/+22
2010-06-03net: use __packed annotationEric Dumazet1-3/+3
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2009-12-11net: use compat helper functions in compat_sys_recvmmsgHeiko Carstens1-5/+2
2009-12-11net: fix compat_sys_recvmmsg parameter typeHeiko Carstens1-7/+5
2009-12-02net: compat_sys_recvmmsg user timespec arg can be NULLJean-Mickael Guerin1-2/+6
2009-10-29net: Cleanup redundant tests on unsignedroel kluin1-3/+0
2009-10-12net: Introduce recvmmsg socket syscallArnaldo Carvalho de Melo1-3/+30
2009-09-30net: Make setsockopt() optlen be unsigned.David S. Miller1-6/+6
2009-07-15net/compat/wext: send different messages to compat tasksJohannes Berg1-2/+15
2009-02-15net: socket infrastructure for SO_TIMESTAMPINGPatrick Ohly1-7/+12
2008-11-19reintroduce accept4Ulrich Drepper1-45/+5
2008-11-12net: put_cmsg_compat + SO_TIMESTAMP[NS]: use same name for value as callerPatrick Ohly1-2/+2
2008-07-24flag parameters: pacceptUlrich Drepper1-4/+48
2008-07-19net: Use standard structures for generic socket address structures.YOSHIFUJI Hideaki1-1/+1
2008-04-29net: Add compat support for getsockopt (MCAST_MSFILTER)David L Stevens1-0/+79
2008-04-29net: Several cleanups for the setsockopt compat support.David L Stevens1-4/+7
2008-04-27ipv4/ipv6 compat: Fix SSM applications on 64bit kernels.David L Stevens1-0/+117
2008-01-28[NETFILTER]: ip6_tables: add compat supportPatrick McHardy1-106/+0
2008-01-28[NETFILTER]: Introduce NF_INET_ hook valuesPatrick McHardy1-3/+3
2007-12-20[NET]: Fix function put_cmsg() which may cause usr application memory overflowWei Yongjun1-0/+2
2007-07-16O_CLOEXEC for SCM_RIGHTSUlrich Drepper1-1/+2
2007-04-25[NET]: Adding SO_TIMESTAMPNS / SCM_TIMESTAMPNS supportEric Dumazet1-1/+9
2007-04-25[NET] core: whitespace cleanupStephen Hemminger1-15/+15
2007-04-25[NET]: Introduce SIOCGSTAMPNS ioctl to get timestamps with nanosec resolutionEric Dumazet1-0/+24
2007-04-25[NET]: convert network timestamps to ktime_tEric Dumazet1-5/+10
2007-02-14[PATCH] remove many unneeded #includes of sched.hTim Schmielau1-1/+0
2007-02-10[NET]: Fix whitespace errors.YOSHIFUJI Hideaki1-8/+8
2006-10-11[NET]: File descriptor loss while receiving SCM_RIGHTSMiklos Szeredi1-2/+1
2006-04-01[NETFILTER]: iptables 32bit compat layerDmitry Mishin1-2/+1
2006-03-21[NET]: socket timestamp 32 bit handler for 64 bit kernelShaun Pereira1-0/+19
2006-03-20[NET]: {get|set}sockopt compatibility layerDmitry Mishin1-18/+77
2005-09-08[PATCH] Fix 32bit sendmsg() flawAl Viro1-18/+26
2005-08-09[NET]: Fix memory leak in sys_{send,recv}msg() w/compatAndrew Morton1-9/+0
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+605