aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix
AgeCommit message (Expand)AuthorFilesLines
13 daysaf_unix: Suppress false-positive lockdep splat for spin_lock() in __unix_gc().Kuniyuki Iwashima1-1/+1
2024-04-12af_unix: Don't peek OOB data without MSG_OOB.Kuniyuki Iwashima1-5/+5
2024-04-12af_unix: Call manage_oob() for every skb in unix_stream_read_generic().Kuniyuki Iwashima1-1/+1
2024-04-11af_unix: Fix garbage collector racing against connect()Michal Luczaj1-1/+17
2024-04-08af_unix: Clear stale u->oob_skb.Kuniyuki Iwashima1-1/+3
2024-02-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-29/+12
2024-02-21af_unix: Drop oob_skb ref before purging queue in GC.Kuniyuki Iwashima1-13/+9
2024-02-21net: implement lockless setsockopt(SO_PEEK_OFF)Eric Dumazet1-16/+3
2024-02-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+4
2024-02-13af_unix: Fix task hung while purging oob_skb in GC.Kuniyuki Iwashima1-3/+4
2024-02-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+11
2024-02-06af_unix: Call kfree_skb() for dead unix_(sk)->oob_skb in GC.Kuniyuki Iwashima1-0/+11
2024-02-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-9/+7
2024-01-31af_unix: fix lockdep positive in sk_diag_dump_icons()Eric Dumazet2-9/+7
2024-01-31af_unix: Remove CONFIG_UNIX_SCM.Kuniyuki Iwashima6-171/+132
2024-01-31af_unix: Remove io_uring code for GC.Kuniyuki Iwashima2-29/+2
2024-01-31af_unix: Replace BUG_ON() with WARN_ON_ONCE().Kuniyuki Iwashima2-8/+8
2024-01-26af_unix: Try to run GC async.Kuniyuki Iwashima2-3/+13
2024-01-26af_unix: Run GC on only one CPU.Kuniyuki Iwashima1-27/+27
2024-01-26af_unix: Return struct unix_sock from unix_get_socket().Kuniyuki Iwashima2-24/+14
2024-01-26af_unix: Do not use atomic ops for unix_sk(sk)->inflight.Kuniyuki Iwashima3-14/+15
2024-01-26af_unix: Annotate data-race of gc_in_progress in wait_for_unix_gc().Kuniyuki Iwashima1-1/+1
2024-01-23sock_diag: add module pointer to "struct sock_diag_handler"Eric Dumazet1-0/+1
2024-01-11Merge tag 'for-6.8/io_uring-2024-01-08' of git://git.kernel.dk/linuxLinus Torvalds1-3/+1
2024-01-03bpf: sockmap, fix proto update hook to avoid dup callsJohn Fastabend1-3/+18
2023-12-19io_uring/unix: drop usage of io_uring socketJens Axboe1-3/+1
2023-11-30bpf, sockmap: af_unix stream sockets need to hold ref for pair sockJohn Fastabend2-2/+5
2023-11-19net: fill in MODULE_DESCRIPTION()s for SOCK_DIAG modulesJakub Kicinski1-0/+1
2023-11-14af_unix: fix use-after-free in unix_stream_read_actor()Eric Dumazet1-4/+5
2023-10-27af_unix: Remove module remnants.Kuniyuki Iwashima1-19/+4
2023-10-11bpf: Implement cgroup sockaddr hooks for unix socketsDaan De Meyer1-1/+34
2023-09-07Merge tag 'net-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds2-4/+4
2023-09-04af_unix: Fix data-race around unix_tot_inflight.Kuniyuki Iwashima1-1/+1
2023-09-04af_unix: Fix data-races around user->unix_inflight.Kuniyuki Iwashima1-3/+3
2023-08-29Merge tag 'sysctl-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-1/+2
2023-08-15networking: Update to register_net_sysctl_szJoel Granados1-1/+2
2023-08-09net: annotate data-races around sock->opsEric Dumazet1-1/+2
2023-07-29net: add missing data-race annotations around sk->sk_peek_offEric Dumazet1-1/+1
2023-07-27af_unix: Terminate sun_path when bind()ing pathname socket.Kuniyuki Iwashima1-5/+16
2023-07-25af_unix: Fix fortify_panic() in unix_bind_bsd().Kuniyuki Iwashima1-4/+2
2023-06-27net: scm: introduce and use scm_recv_unix helperAlexander Mikhalitsyn1-2/+2
2023-06-27Revert "af_unix: Call scm_recv() only after scm_set_cred()."Kuniyuki Iwashima1-1/+1
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-19/+0
2023-06-24af_unix: Call scm_recv() only after scm_set_cred().Kuniyuki Iwashima1-1/+1
2023-06-12af_unix: Kconfig: make CONFIG_UNIX boolAlexander Mikhalitsyn1-5/+1
2023-06-12net: core: add getsockopt SO_PEERPIDFDAlexander Mikhalitsyn1-0/+16
2023-06-12scm: add SO_PASSPIDFD and SCM_PIDFDAlexander Mikhalitsyn1-5/+13
2023-05-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+2
2023-05-23unix: Convert unix_stream_sendpage() to use MSG_SPLICE_PAGESDavid Howells1-127/+7
2023-05-23af_unix: Support MSG_SPLICE_PAGESDavid Howells1-16/+33
2023-05-23net: Pass max frags into skb_append_pagefrags()David Howells1-1/+1
2023-05-23bpf, sockmap: Pass skb ownership through read_skbJohn Fastabend1-5/+2
2023-05-10af_unix: Fix data races around sk->sk_shutdown.Kuniyuki Iwashima1-8/+12
2023-05-10af_unix: Fix a data race of sk->sk_receive_queue->qlen.Kuniyuki Iwashima1-1/+1
2023-03-17af_unix: annotate lockless accesses to sk->sk_errEric Dumazet1-4/+5
2023-03-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-2/+11
2023-03-08af_unix: fix struct pid leaks in OOB supportEric Dumazet1-2/+8
2023-03-08net: reclaim skb->scm_io_uring bitEric Dumazet2-1/+7
2023-03-03bpf, sockmap: Fix an infinite loop error when len is 0 in tcp_bpf_recvmsg_par...Liu Jian1-0/+3
2023-02-21Merge tag 'net-next-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-10/+11
2023-01-27net: add missing includes of linux/splice.hJakub Kicinski1-0/+1
2023-01-18fs: port vfs_*() helpers to struct mnt_idmapChristian Brauner1-4/+4
2023-01-16unix: Improve locking scheme in unix_show_fdinfo()Kirill Tkhai1-10/+10
2022-12-15unix: Fix race in SOCK_SEQPACKET's unix_dgram_sendmsg()Kirill Tkhai1-2/+9
2022-12-12af_unix: call proto_unregister() in the error path in af_unix_init()Yang Yingliang1-0/+1
2022-12-01af_unix: Get user_ns from in_skb in unix_diag_get_exact().Kuniyuki Iwashima1-8/+12
2022-10-28net: remove SOCK_SUPPORT_ZC from sockmapPavel Begunkov1-4/+4
2022-10-16Merge tag 'random-6.1-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2022-10-13Merge tag 'io_uring-6.1-2022-10-13' of git://git.kernel.dk/linuxLinus Torvalds1-0/+20
2022-10-12io_uring/af_unix: defer registered files gc to io_uring releasePavel Begunkov1-0/+20
2022-10-11treewide: use get_random_u32() when possibleJason A. Donenfeld1-1/+1
2022-10-10Merge tag 'sched-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-5/+3
2022-10-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+7
2022-10-03af_unix: Fix memory leaks of the whole sk due to OOB skb.Kuniyuki Iwashima1-6/+7
2022-09-26af_unix: Refactor unix_read_skb()Peilin Ye1-24/+10
2022-09-07freezer,sched: Rewrite core freezer logicPeter Zijlstra1-5/+3
2022-08-22af_unix: Show number of inflight fds for sockets in TCP_LISTEN state tooKirill Tkhai1-3/+33
2022-07-09Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-14/+9
2022-07-09af_unix: fix unix_sysctl_register() error pathEric Dumazet1-1/+1
2022-07-07af_unix: Optimise hash table layout.Kuniyuki Iwashima1-6/+12
2022-07-05af_unix: Put pathname sockets in the global hash table.Kuniyuki Iwashima1-10/+37
2022-06-28af_unix: Do not call kmemdup() for init_net's sysctl table.Kuniyuki Iwashima1-6/+13
2022-06-22af_unix: Remove unix_table_locks.Kuniyuki Iwashima2-41/+9
2022-06-22af_unix: Put a socket into a per-netns hash table.Kuniyuki Iwashima2-36/+23
2022-06-22af_unix: Acquire/Release per-netns hash table's locks.Kuniyuki Iwashima2-32/+66
2022-06-22af_unix: Define a per-netns hash table.Kuniyuki Iwashima1-6/+32
2022-06-22af_unix: Include the whole hash table size in UNIX_HASH_SIZE.Kuniyuki Iwashima2-13/+11
2022-06-22af_unix: Clean up some sock_net() uses.Kuniyuki Iwashima2-21/+15
2022-06-20net: Introduce a new proto_ops ->read_skb()Cong Wang1-14/+9
2022-06-09af_unix: use DEBUG_NET_WARN_ON_ONCE()Eric Dumazet1-4/+4
2022-06-07af_unix: Fix a data-race in unix_dgram_peer_wake_me().Kuniyuki Iwashima1-1/+1
2022-05-25Merge tag 'net-next-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds2-9/+7
2022-05-16af_unix: Silence randstruct GCC plugin warningKees Cook1-5/+3
2022-04-12net: remove noblock parameter from recvmsg() entitiesOliver Hartkopp2-7/+4
2022-04-06net: remove noblock parameter from skb_recv_datagram()Oliver Hartkopp1-2/+3
2022-03-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+9
2022-03-18af_unix: Remove unnecessary brackets around CONFIG_AF_UNIX_OOB.Kuniyuki Iwashima1-3/+3
2022-03-18af_unix: Support POLLPRI for OOB.Kuniyuki Iwashima1-0/+4
2022-03-18af_unix: Fix some data-races around unix_sk(sk)->oob_skb.Kuniyuki Iwashima1-7/+5
2022-01-24Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-28/+222
2022-01-18bpf: Support bpf_(get|set)sockopt() in bpf unix iter.Kuniyuki Iwashima1-0/+15
2022-01-18bpf: af_unix: Use batching algorithm in bpf unix iter.Kuniyuki Iwashima1-7/+177
2022-01-18af_unix: Refactor unix_next_socket().Kuniyuki Iwashima1-21/+30
2022-01-14af_unix: annote lockless accesses to unix_tot_inflight & gc_in_progressEric Dumazet2-5/+15
2021-12-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+1
2021-12-29net: Don't include filter.h from net/sock.hJakub Kicinski1-0/+1
2021-12-13net: Enable max_dgram_qlen unix sysctl to be configurable by non-init user na...Joanne Koong1-4/+0
2021-11-26af_unix: Relax race in unix_autobind().Kuniyuki Iwashima1-10/+12
2021-11-26af_unix: Replace the big lock with small locks.Kuniyuki Iwashima2-48/+70
2021-11-26af_unix: Save hash in sk_hash.Kuniyuki Iwashima1-19/+23
2021-11-26af_unix: Add helpers to calculate hashes.Kuniyuki Iwashima1-29/+35
2021-11-26af_unix: Remove UNIX_ABSTRACT() macro and test sun_path[0] instead.Kuniyuki Iwashima1-4/+2
2021-11-26af_unix: Allocate unix_address in unix_bind_(bsd|abstract)().Kuniyuki Iwashima1-40/+67
2021-11-26af_unix: Remove unix_mkname().Kuniyuki Iwashima1-23/+11
2021-11-26af_unix: Copy unix_mkname() into unix_find_(bsd|abstract)().Kuniyuki Iwashima1-38/+25
2021-11-26af_unix: Cut unix_validate_addr() out of unix_mkname().Kuniyuki Iwashima1-10/+30
2021-11-26af_unix: Return an error as a pointer in unix_find_other().Kuniyuki Iwashima1-18/+22
2021-11-26af_unix: Factorise unix_find_other() based on address types.Kuniyuki Iwashima1-55/+81
2021-11-26af_unix: Pass struct sock to unix_autobind().Kuniyuki Iwashima1-15/+21
2021-11-26af_unix: Use offsetof() instead of sizeof().Kuniyuki Iwashima2-8/+14
2021-11-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+0
2021-11-20af_unix: fix regression in read after shutdownVincent Whitchurch1-3/+0
2021-11-16net: drop nopreempt requirement on sock_prot_inuse_add()Eric Dumazet1-4/+0
2021-10-26net: Implement ->sock_is_readable() for UDP and AF_UNIXCong Wang2-0/+6
2021-10-12af_unix: Rename UNIX-DGRAM to UNIX to maintain backwards compatabilityStephen Boyd1-1/+1
2021-10-07Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfJakub Kicinski1-4/+5
2021-10-06unix: Fix an issue in unix_shutdown causing the other end read/write failuresJiang Wang1-4/+5
2021-09-30af_unix: fix races in sk_peer_pid and sk_peer_cred accessesEric Dumazet1-6/+28
2021-09-28af_unix: Return errno instead of NULL in unix_create1().Kuniyuki Iwashima1-17/+32
2021-09-09net/af_unix: fix a data-race in unix_dgram_pollEric Dumazet1-1/+1
2021-08-31af_unix: fix potential NULL deref in unix_dgram_connect()Eric Dumazet1-3/+6
2021-08-30Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski2-35/+247
2021-08-23af_unix: Fix NULL pointer bug in unix_shutdownJiang Wang1-1/+2
2021-08-16af_unix: Add unix_stream_proto for sockmapJiang Wang2-35/+141
2021-08-16af_unix: Add read_sock for stream socket typesJiang Wang1-0/+12
2021-08-16af_unix: check socket state when queuing OOBRao Shoaib1-2/+9
2021-08-15bpf: af_unix: Implement BPF iterator for UNIX domain socket.Kuniyuki Iwashima1-0/+93
2021-08-13af_unix: fix holding spinlock in oob handlingRao Shoaib1-12/+24
2021-08-10Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-0/+3
2021-08-04af_unix: Add OOB supportRao Shoaib2-2/+156
2021-08-03bpf, unix: Check socket type in unix_bpf_update_proto()Cong Wang1-0/+3
2021-07-31Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-8/+8
2021-07-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+49
2021-07-30unix_bpf: Fix a potential deadlock in unix_dgram_bpf_recvmsg()Cong Wang1-8/+8
2021-07-28af_unix: fix garbage collect vs MSG_PEEKMiklos Szeredi1-2/+49
2021-07-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller3-10/+198
2021-07-15af_unix: Implement unix_dgram_bpf_recvmsg()Cong Wang2-3/+91
2021-07-15af_unix: Implement ->psock_update_sk_prot()Cong Wang3-1/+53
2021-07-15af_unix: Add a dummy ->close() for sockmapCong Wang1-0/+9
2021-07-15af_unix: Set TCP_ESTABLISHED for datagram sockets tooCong Wang1-6/+8
2021-07-15af_unix: Implement ->read_sock() for sockmapCong Wang1-0/+37
2021-07-13net: Use nlmsg_unicast() instead of netlink_unicast()Yajun Deng1-4/+2
2021-06-29net: sock: introduce sk_error_reportAlexander Aring1-1/+1
2021-06-21__unix_find_socket_byname(): don't pass hash and type separatelyAl Viro1-13/+10
2021-06-21unix_bind_bsd(): unlink if we fail after successful mknodAl Viro1-13/+16
2021-06-21unix_bind_bsd(): move done_path_create() call after dealing with ->bindlockAl Viro1-15/+11
2021-06-21fold unix_mknod() into unix_bind_bsd()Al Viro1-25/+17
2021-06-21unix_bind(): take BSD and abstract address cases into new helpersAl Viro1-73/+74
2021-06-21unix_bind(): separate BSD and abstract casesAl Viro1-21/+34
2021-06-21unix_bind(): allocate addr earlierAl Viro1-13/+15
2021-06-21af_unix: take address assignment/hash insertion into a new helperAl Viro1-13/+13
2021-06-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+4
2021-06-16net/af_unix: fix a data-race in unix_dgram_sendmsg / unix_release_sockEric Dumazet1-3/+4
2021-06-10af_unix: remove the repeated word "and"gushengxian1-1/+1
2021-01-24af_unix: handle idmapped mountsChristian Brauner1-2/+2
2021-01-24namei: prepare for idmapped mountsChristian Brauner1-1/+2
2021-01-24fs: add file and path permissions helpersChristian Brauner1-1/+1
2020-10-15Merge tag 'net-next-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-3/+0
2020-10-13net/af_unix: Remove unused old_pid variableOr Cohen1-2/+0
2020-09-30io_uring: move io_uring_get_socket() into io_uring.hJens Axboe1-0/+1
2020-09-21net: unix: remove redundant assignment to variable 'err'Jing Xiangfeng1-1/+0
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-07-19net: make ->{get,set}sockopt in proto_ops optionalChristoph Hellwig1-6/+0
2020-06-14treewide: replace '---help---' in Kconfig files with 'help'Masahiro Yamada1-2/+2
2020-02-28net: datagram: drop 'destructor' argument from several helpersPaolo Abeni1-2/+5
2020-02-28unix: uses an atomic type for scm files accountingPaolo Abeni1-15/+6
2020-02-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+4
2020-02-27unix: It's CONFIG_PROC_FS not CONFIG_PROCFSDavid S. Miller1-1/+1
2020-02-27unix: define and set show_fdinfo only if procfs is enabledTobias Klauser1-0/+4
2020-02-24af_unix: Add missing annotation for unix_wait_for_peer()Jules Irenge1-0/+1
2020-02-06skbuff: fix a data race in skb_queue_len()Qian Cai1-2/+9
2020-01-21Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-3/+4
2019-12-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2019-12-12unix: Show number of pending scm files of receive queue in fdinfoKirill Tkhai1-5/+51
2019-12-09treewide: Use sizeof_field() macroPankaj Bharadiya1-1/+1
2019-12-09net: add queue argument to __skb_wait_for_more_packets and __skb_{,try_}recv_...Sabrina Dubroca1-3/+4
2019-12-01Merge tag 'compat-ioctl-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+19
2019-11-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-3/+3
2019-10-28net: use skb_queue_empty_lockless() in poll() handlersEric Dumazet1-3/+3
2019-10-23af_unix: add compat_ioctl supportArnd Bergmann1-0/+19
2019-10-11af_unix: __unix_find_socket_byname() cleanupVito Caputo1-4/+2
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-11/+2
2019-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner2-11/+2
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 62Thomas Gleixner1-6/+1
2019-05-22net: Add UNIX_DIAG_UID to Netlink UNIX socket diagnostics.Felipe Gasper1-0/+12
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner1-0/+1
2019-05-21treewide: Add SPDX license identifier for more missed filesThomas Gleixner1-0/+1
2019-04-08datagram: remove rendundant 'peeked' argumentPaolo Abeni1-3/+3
2019-03-08Merge tag 'io_uring-2019-03-06' of git://git.kernel.dk/linux-blockLinus Torvalds6-127/+172