aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
AgeCommit message (Expand)AuthorFilesLines
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
2014-10-11Merge tag 'locks-v3.18-1' of git://git.samba.org/jlayton/linuxLinus Torvalds1-1/+2
2014-09-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+3
2014-09-09net:socket: set msg_namelen to 0 if msg_name is passed as NULL in msghdr stru...Ani Sinha1-0/+3
2014-09-09net-timestamp: optimize sock_tx_timestamp default pathWillem de Bruijn1-5/+2
2014-09-09security: make security_file_set_fowner, f_setown and __f_setown void returnJeff Layton1-1/+2
2014-09-05net: treewide: Fix typo found in DocBook/networking.xmlMasanari Iida1-1/+1
2014-09-05net-timestamp: only report sw timestamp if reporting bit is setWillem de Bruijn1-2/+1
2014-08-06net-timestamp: sock_tx_timestamp() fixEric Dumazet1-7/+13
2014-08-05net-timestamp: ACK timestamp for bytestreamsWillem de Bruijn1-0/+2
2014-08-05net-timestamp: SCHED timestamp on entering packet schedulerWillem de Bruijn1-0/+3
2014-08-05net-timestamp: move timestamp flags out of sk_flagsWillem de Bruijn1-4/+4
2014-08-05net-timestamp: extend SCM_TIMESTAMPING ancillary data structWillem de Bruijn1-9/+11
2014-07-29net: remove deprecated syststamp timestampWillem de Bruijn1-8/+4
2014-04-16net: use SYSCALL_DEFINEx for sys_recvJan Glauber1-2/+2
2014-04-01net: ptp: move PTP classifier in its own fileDaniel Borkmann1-3/+2
2014-03-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+11
2014-03-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-0/+4
2014-03-12net: socket: error on a negative msg_namelenMatthew Leach1-0/+4
2014-03-10sockfd_lookup_light(): switch to fdget^W^Waway from fget_lightAl Viro1-6/+7
2014-02-13socket: replace some printk with pr_*Yang Yingliang1-7/+6
2013-12-10net: handle error more gracefully in socketpair()Yann Droneaud1-18/+31
2013-12-05Merge branch 'siocghwtstamp' of git://git.kernel.org/pub/scm/linux/kernel/git...David S. Miller1-48/+9
2013-11-29net: clamp ->msg_namelen instead of returning an errorDan Carpenter1-1/+1
2013-11-20net: add BUG_ON if kernel advertises msg_namelen > sizeof(struct sockaddr_sto...Hannes Frederic Sowa1-1/+2
2013-11-20net: rework recvmsg handler msg_name and msg_namelen logicHannes Frederic Sowa1-8/+11
2013-11-19net_tstamp: Add SIOCGHWTSTAMP ioctl to match SIOCSHWTSTAMPBen Hutchings1-0/+1
2013-11-18net/compat: Merge multiple implementations of ifreq::ifr_data conversionBen Hutchings1-43/+6
2013-11-18net/compat: Fix minor information leak in siocdevprivate_ioctl()Ben Hutchings1-5/+2
2013-10-03net: heap overflow in __audit_sockaddr()Dan Carpenter1-4/+20
2013-09-13Merge git://git.kvack.org/~bcrl/aio-nextLinus Torvalds1-12/+3
2013-09-11kernel-wide: fix missing validations on __get/__put/__copy_to/__copy_from_user()Mathieu Desnoyers1-25/+25
2013-08-01net: rename CONFIG_NET_LL_RX_POLL to CONFIG_NET_RX_BUSY_POLLCong Wang1-1/+1
2013-07-30aio: Kill ki_dtorKent Overstreet1-11/+2
2013-07-30aio: Kill aio_rw_vect_retry()Kent Overstreet1-1/+1
2013-07-10net: rename busy poll socket op and globalsEliezer Tamir1-2/+2
2013-07-10net: rename include/net/ll_poll.h to include/net/busy_poll.hEliezer Tamir1-1/+1
2013-07-08net: rename low latency sockets functions to busy pollEliezer Tamir1-6/+6
2013-06-25net: poll/select low latency socket supportEliezer Tamir1-1/+13
2013-06-17net: add socket option for low latency pollingEliezer Tamir1-1/+0
2013-06-17net: change sysctl_net_ll_poll into an unsigned intEliezer Tamir1-1/+1
2013-06-10net: add low latency socket pollEliezer Tamir1-0/+6
2013-06-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-39/+33
2013-06-06net: Unbreak compat_sys_{send,recv}msgAndy Lutomirski1-39/+33
2013-06-06Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/pablo/...David S. Miller1-1/+3
2013-05-28net: Block MSG_CMSG_COMPAT in send(m)msg and recv(m)msgAndy Lutomirski1-2/+31
2013-05-23netfilter: don't panic on error while walking through the init pathPablo Neira Ayuso1-1/+3
2013-05-11Merge git://git.infradead.org/users/eparis/auditLinus Torvalds1-2/+4
2013-05-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-9/+0
2013-04-29sock_close() couldn't have been called with NULL inode since at least 2.1.earlyAl Viro1-9/+0
2013-04-19net: socket: move ktime2ts to ktime header apiDaniel Borkmann1-16/+4
2013-04-14net: sock: make sock_tx_timestamp voidDaniel Borkmann1-2/+1