aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
AgeCommit message (Expand)AuthorFilesLines
2019-07-19Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-6/+10
2019-07-13Merge tag 'for-5.3/io_uring-20190711' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+17
2019-07-09io_uring: add support for recvmsg()Jens Axboe1-0/+8
2019-07-09io_uring: add support for sendmsg()Jens Axboe1-0/+7
2019-07-08coallocate socket_wq with socket itselfAl Viro1-14/+5
2019-07-08sockfs: switch to ->free_inode()Al Viro1-3/+3
2019-07-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+30
2019-07-03net: adjust socket level ICW to cope with ipv6 variant of {recv, send}msgPaolo Abeni1-12/+11
2019-06-27bpf: implement getsockopt and setsockopt hooksStanislav Fomichev1-0/+30
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-7/+1
2019-06-05net: socket: drop unneeded likely() call around IS_ERR()Enrico Weigelt1-1/+1
2019-05-31uio: make import_iovec()/compat_import_iovec() return bytes on successJens Axboe1-1/+2
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-7/+1
2019-05-25vfs: Convert sockfs to use the new mount APIDavid Howells1-6/+10
2019-05-25mount_pseudo(): drop 'name' argument, switch to d_make_root()Al Viro1-1/+1
2019-05-19net: fix kernel-doc warnings for socket.cRandy Dunlap1-17/+17
2019-05-05net: use indirect calls helpers at the socket layerPaolo Abeni1-4/+16
2019-04-26net: socket: Fix missing break in switch statementGustavo A. R. Silva1-0/+1
2019-04-19net: socket: implement 64-bit timestampsArnd Bergmann1-6/+18
2019-04-19net: rework SIOCGSTAMP ioctl handlingArnd Bergmann1-34/+14
2019-03-15net: add documentation to socket.cPedro Tammela1-18/+259
2019-03-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2019-02-25net: socket: set sock->sk to NULL after calling proto_ops::release()Eric Biggers1-0/+1
2019-02-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-19/+63
2019-02-03socket: Add SO_TIMESTAMPING_NEWDeepa Dinamani1-5/+8
2019-02-03socket: Add SO_TIMESTAMP[NS]_NEWDeepa Dinamani1-8/+27
2019-02-03socket: Use old_timeval types for socket timestampsDeepa Dinamani1-1/+1
2019-02-03sockopt: Rename SO_TIMESTAMP* to SO_TIMESTAMP*_OLDDeepa Dinamani1-4/+4
2019-01-30net: socket: make bond ioctls go through compat_ifreq_ioctl()Johannes Berg1-4/+4
2019-01-30net: socket: fix SIOCGIFNAME in compatJohannes Berg1-1/+2
2019-01-30Revert "kill dev_ifsioc()"Johannes Berg1-0/+49
2019-01-30Revert "socket: fix struct ifreq size in compat ioctl"Johannes Berg1-14/+8
2018-12-28Merge tag 'y2038-for-4.21' of ssh://gitolite.kernel.org:/pub/scm/linux/kernel...Linus Torvalds1-16/+46
2018-12-18y2038: socket: Add compat_sys_recvmmsg_time64Arnd Bergmann1-16/+46
2018-11-17socket: do a generic_file_splice_read when proto_ops has no splice_readSlavomir Kaslev1-1/+1
2018-11-01Merge branch 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-3/+3
2018-10-25Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-10/+8
2018-10-24iov_iter: Separate type from direction and use accessor functionsDavid Howells1-3/+3
2018-10-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+8
2018-10-18net: socket: fix a missing-check bugWenwen Wang1-3/+8
2018-10-05socket: Tighten no-error check in bind()Jakub Sitnicki1-1/+1
2018-09-13socket: fix struct ifreq size in compat ioctlJohannes Berg1-8/+14
2018-08-29y2038: socket: Change recvmmsg to use __kernel_timespecArnd Bergmann1-10/+8
2018-08-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-11/+17
2018-08-14net: sock_diag: Fix spectre v1 gadget in __sock_diag_cmd()Jeremy Cline1-2/+1
2018-08-13Merge branch 'work.open3' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-24/+5
2018-08-02Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+4
2018-07-31net: remove bogus RCU annotations on socket.wqChristoph Hellwig1-6/+4
2018-07-30net: remove sock_poll_busy_flagChristoph Hellwig1-5/+11
2018-07-30net: remove sock_poll_busy_loopChristoph Hellwig1-1/+4
2018-07-28net: socket: Fix potential spectre v1 gadget in sock_is_registeredJeremy Cline1-1/+2
2018-07-28net: socket: fix potential spectre v1 gadget in socketcallJeremy Cline1-0/+2
2018-07-12new wrapper: alloc_file_pseudo()Al Viro1-23/+5
2018-07-12alloc_file(): switch to passing O_... flags instead of FMODE_... modeAl Viro1-2/+1
2018-06-29net: handle NULL ->poll gracefullyChristoph Hellwig1-0/+2
2018-06-28Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLLLinus Torvalds1-43/+5
2018-06-10socket: close race condition between sock_close() and sockfs_setattr()Cong Wang1-3/+15
2018-06-06Merge branch 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+7
2018-05-26net: add support for ->poll_mask in proto_opsChristoph Hellwig1-5/+43
2018-05-26net: refactor socket_pollChristoph Hellwig1-17/+4
2018-05-04net: hook socketpair() into LSMDavid Herrmann1-0/+7
2018-04-05Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+1
2018-04-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-25/+26
2018-04-02Merge branch 'syscalls-next' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-73/+161
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/+2
2018-04-02net: socket: move check for forbid_cmsg_compat to __sys_...msg()Dominik Brodowski1-15/+23
2018-04-02net: socket: add do_sys_recvmmsg() helper; remove in-kernel call to syscallDominik Brodowski1-5/+12
2018-04-02net: socket: add __sys_getsockopt() helper; remove in-kernel call to syscallDominik Brodowski1-4/+10
2018-04-02net: socket: add __sys_setsockopt() helper; remove in-kernel call to syscallDominik Brodowski1-3/+10
2018-04-02net: socket: add __sys_shutdown() helper; remove in-kernel call to syscallDominik Brodowski1-2/+7
2018-04-02net: socket: add __sys_socketpair() helper; remove in-kernel call to syscallDominik Brodowski1-3/+8
2018-04-02net: socket: add __sys_getpeername() helper; remove in-kernel call to syscallDominik Brodowski1-4/+10
2018-04-02net: socket: add __sys_getsockname() helper; remove in-kernel call to syscallDominik Brodowski1-4/+10
2018-04-02net: socket: add __sys_listen() helper; remove in-kernel call to syscallDominik Brodowski1-2/+7
2018-04-02net: socket: add __sys_connect() helper; remove in-kernel call to syscallDominik Brodowski1-3/+8
2018-04-02net: socket: add __sys_bind() helper; remove in-kernel call to syscallDominik Brodowski1-2/+7
2018-04-02net: socket: add __sys_socket() helper; remove in-kernel call to syscallDominik Brodowski1-2/+7
2018-04-02net: socket: add __sys_accept4() helper; remove in-kernel call to syscallDominik Brodowski1-7/+13
2018-04-02net: socket: add __sys_sendto() helper; remove in-kernel call to syscallDominik Brodowski1-7/+12
2018-04-02net: socket: add __sys_recvfrom() helper; remove in-kernel call to syscallDominik Brodowski1-8/+13
2018-03-27net: Spelling s/stucture/structure/Geert Uytterhoeven1-1/+1
2018-03-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+5
2018-03-12sock_diag: request _diag module only when the family or proto has been regist...Xin Long1-0/+5
2018-03-01socket: skip checking sk_err for recvmmsg(MSG_ERRQUEUE)Soheil Hassas Yeganeh1-4/+6
2018-02-26net: make kmem caches as __ro_after_initAlexey Dobriyan1-1/+1
2018-02-15net: Make extern and export get_net_ns()Kirill Tkhai1-1/+2
2018-02-14net: Remove atalk header from socket.cDavid Ahern1-1/+0
2018-02-12net: make getname() functions return length rather than use int* parameterDenys Vlasenko1-18/+17
2018-01-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-230/+71
2018-01-30Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-3/+3
2018-01-24kill kernel_sock_ioctl()Al Viro1-13/+0
2018-01-24dev_ioctl(): move copyin/copyout to callersAl Viro1-46/+45
2018-01-24lift handling of SIOCIW... out of dev_ioctl()Al Viro1-1/+1
2018-01-24kill dev_ifname32()Al Viro1-21/+1
2018-01-24kill bond_ioctl()Al Viro1-32/+4
2018-01-24kill dev_ifsioc()Al Viro1-38/+0
2018-01-24net: separate SIOCGIFCONF handling from dev_ioctl()Al Viro1-56/+23
2018-01-19bpf: get rid of pure_initcall dependency to enable jitsDaniel Borkmann1-9/+0
2018-01-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+12
2018-01-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+3
2018-01-10Fix a leak in socket(2) when we fail to allocate a file descriptor.Al Viro1-1/+3
2018-01-09bpf: introduce BPF_JIT_ALWAYS_ON configAlexei Starovoitov1-0/+9
2017-12-19sock: Move the socket inuse to namespace.Tonghao Zhang1-19/+2
2017-12-05make sock_alloc_file() do sock_release() on failuresAl Viro1-17/+8
2017-12-05socketpair(): allocate descriptors firstAl Viro1-51/+38
2017-11-27net: annotate ->poll() instancesAl Viro1-2/+2
2017-11-27anntotate the places where ->poll() return values goAl Viro1-1/+1
2017-11-15kmemcheck: remove annotationsLevin, Alexander (Sasha Levin)1-1/+0
2017-08-16net: fixes for skb_send_sockJohn Fastabend1-1/+1
2017-08-01proto_ops: Add locked held versions of sendmsg and sendpageTom Herbert1-0/+27
2017-08-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+3
2017-07-25socket: fix set not used warningstephen hemminger1-4/+2
2017-07-24net/socket: fix type in assignment and trim long linePaolo Abeni1-2/+3
2017-07-15Merge branch 'misc.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-17/+14
2017-07-05Merge branch 'work.misc-set_fs' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+1
2017-07-04copy_msghdr_from_user(): get rid of field-by-field copyinAl Viro1-17/+14
2017-06-14fs/fcntl: f_setown, allow returning errorJiri Slaby1-2/+1
2017-05-22net: socket: fix a typo in sockfd_lookup().Rosen, Rami1-1/+1
2017-05-21net: allow simultaneous SW and HW transmit timestampingMiroslav Lichvar1-2/+18
2017-05-21net: add new control message for incoming HW-timestamped packetsMiroslav Lichvar1-1/+26
2017-04-17l2tp: device MTU setup, tunnel socket needs a lockR. Parameswaran1-1/+1
2017-04-06New kernel function to get IP overhead on a socket.R. Parameswaran1-0/+46
2017-03-21tcp: mark skbs with SCM_TIMESTAMPING_OPT_STATSSoheil Hassas Yeganeh1-1/+1
2017-03-21tcp: fix SCM_TIMESTAMPING_OPT_STATS for normal skbsSoheil Hassas Yeganeh1-1/+12
2017-03-09net: Work around lockdep limitation in sockets that use socketsDavid Howells1-2/+2
2017-03-09net: initialize msg.msg_flags in recvfromAlexander Potapenko1-0/+1
2017-02-21net: socket: fix recvmmsg not returning error from sock_errorMaxime Jayat1-1/+3
2017-01-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2017-01-10net: socket: Make unnecessarily global sockfs_setattr() staticTobias Klauser1-1/+1
2017-01-09net: change init_inodecache() return voidyuan linyu1-4/+2
2017-01-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2017-01-04net: Assert at build time the assumptions we make about the CMSG header.David S. Miller1-0/+2
2017-01-01net: socket: don't set sk_uid to garbage value in ->setattr()Eric Biggers1-1/+1
2016-12-25ktime: Get rid of the unionThomas Gleixner1-1/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-10net: socket: removed an unnecessary newlineAmit Kushwaha1-1/+0
2016-12-08net: socket: preferred __aligned(size) for control bufferAmit Kushwaha1-1/+2
2016-11-30tcp: SOF_TIMESTAMPING_OPT_STATS option for SO_TIMESTAMPINGFrancis Yan1-1/+6
2016-11-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+15
2016-11-17xattr: Fix setting security xattrs on sockfsAndreas Gruenbacher1-0/+15
2016-11-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+2
2016-11-09sock: fix sendmmsg for partial sendmsgSoheil Hassas Yeganeh1-0/+2
2016-11-04net: core: Add a UID field to struct sock.Lorenzo Colitti1-0/+14
2016-10-31net: add an ioctl to get a socket network namespaceAndrey Vagin1-0/+13
2016-10-07vfs: Remove {get,set,remove}xattr inode operationsAndreas Gruenbacher1-1/+0
2016-10-06sockfs: Get rid of getxattr iopAndreas Gruenbacher1-20/+30
2016-10-06sockfs: getxattr: Fail with -EOPNOTSUPP for invalid attribute namesAndreas Gruenbacher1-18/+6
2016-05-19fs: poll/select/recvmmsg: use timespec64 for timeout eventsDeepa Dinamani1-3/+5
2016-05-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-21/+15
2016-04-28tcp: remove SKBTX_ACK_TSTAMP since it is redundantSoheil Hassas Yeganeh1-3/+0
2016-04-14Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...David S. Miller1-13/+10
2016-04-11->getxattr(): pass dentry and inode as separate argumentsAl Viro1-1/+1
2016-04-07net: introduce lockdep_is_held and update various places to use itHannes Frederic Sowa1-1/+1
2016-04-04sock: enable timestamping using control messagesSoheil Hassas Yeganeh1-5/+5
2016-03-28[net] drop 'size' argument of sock_recvmsg()Al Viro1-13/+10
2016-03-14net: Fix use after free in the recvmmsg exit pathArnaldo Carvalho de Melo1-19/+19
2016-03-13net: socket: use pr_info_once to tip the obsolete usage of PF_PACKETliping.zhang1-6/+2
2016-03-09net: Add MSG_BATCH flagTom Herbert1-0/+5
2016-03-09net: Allow MSG_EOR in each msghdr of sendmmsgTom Herbert1-4/+6
2016-03-09net: Make sock_alloc exportableTom Herbert1-1/+2
2016-01-14kmemcg: account certain kmem allocations to memcgVladimir Davydov1-1/+1
2016-01-10net: add scheduling point in recvmmsg/sendmmsgEric Dumazet1-0/+2
2015-12-30net, socket, socket_wq: fix missing initialization of flagsNicolai Stange1-0/+1
2015-12-15net: fix uninitialized variable issuetadeusz.struk@intel.com1-0/+1
2015-12-01net: fix sock_wake_async() rcu protectionEric Dumazet1-14/+7
2015-12-01net: rename SOCK_ASYNC_NOSPACE and SOCK_ASYNC_WAITDATAEric Dumazet1-2/+2
2015-09-29net: Drop unlikely before IS_ERR(_OR_NULL)Viresh Kumar1-3/+3
2015-05-11net: Add a struct net parameter to sock_create_kernEric W. Biederman1-2/+2
2015-05-11tun: Utilize the normal socket network namespace refcounting.Eric W. Biederman1-3/+0
2015-04-15VFS: net/: d_inode() annotationsDavid Howells1-3/+3
2015-04-11make new_sync_{read,write}() staticAl Viro1-2/+0
2015-04-11new helper: msg_data_left()Al Viro1-2/+2
2015-04-11get rid of the size argument of sock_sendmsg()Al Viro1-13/+14
2015-04-09switch kernel_sendmsg() and kernel_recvmsg() to iov_iter_kvec()Al Viro1-17/+3
2015-04-09net: switch importing msghdr from userland to {compat_,}import_iovec()Al Viro1-19/+12
2015-04-09net: switch sendto() and recvfrom() to import_single_range()Al Viro1-16/+8
2015-04-09Merge branch 'iocb' into for-davemAl Viro1-3/+3
2015-03-23net: socket: add support for async operationstadeusz.struk@intel.com1-2/+6
2015-03-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+4
2015-03-20net: validate the range we feed to iov_iter_init() in sys_sendto/sys_recvfromAl Viro1-0/+4
2015-03-13fs: don't allow to complete sync iocbs through aio_completeChristoph Hellwig1-6/+3
2015-03-12fs: remove ki_nbytesChristoph Hellwig1-3/+3
2015-03-02net: Remove iocb argument from sendmsg and recvmsgYing Xue1-65/+13
2015-03-02net: move skb->dropcount to skb->cb[]Eyal Birger1-2/+2
2015-02-04net: switch sockets to ->read_iter/->write_iterAl Viro1-29/+27
2015-02-04net/socket.c: fold do_sock_{read,write} into callersAl Viro1-35/+21
2015-01-28net: remove sock_iocbChristoph Hellwig1-41/+4
2015-01-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+0
2015-01-27net: don't OOPS on socket aioChristoph Hellwig1-3/+0
2015-01-17socket: use ki_nbytes instead of iov_length()Nicolas Dichtel1-6/+4
2015-01-15socket: use iov_length()Nicolas Dichtel1-10/+2
2014-12-19[regression] chunk lost from bd9b51Al Viro1-1/+0
2014-12-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-19/+0
2014-12-10make default ->i_fop have ->open() fail with ENXIOAl Viro1-19/+0
2014-12-09put iov_iter into msghdrAl Viro1-15/+12
2014-12-09net/socket.c : introduce helper function do_sock_sendmsg to replace reduplica...Gu Zheng1-12/+10
2014-11-19fold verify_iovec() into copy_msghdr_from_user()Al Viro1-40/+53
2014-11-19{compat_,}verify_iovec(): switch to generic copying of iovecsAl Viro1-30/+8
2014-11-19separate kernel- and userland-side msghdrAl Viro1-13/+16