aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix
AgeCommit message (Expand)AuthorFilesLines
2025-05-28Merge tag 'net-next-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-57/+47
2025-05-23af_unix: Introduce SO_PASSRIGHTS.Kuniyuki Iwashima1-2/+20
2025-05-23af_unix: Inherit sk_flags at connect().Kuniyuki Iwashima1-6/+6
2025-05-23af_unix: Move SOCK_PASS{CRED,PIDFD,SEC} to struct sock.Kuniyuki Iwashima1-16/+2
2025-05-23af_unix: Don't pass struct socket to maybe_add_creds().Kuniyuki Iwashima1-11/+12
2025-05-23af_unix: Factorise test_bit() for SOCK_PASSCRED and SOCK_PASSPIDFD.Kuniyuki Iwashima1-22/+15
2025-05-21coredump: add coredump socketChristian Brauner1-13/+41
2025-04-26net, pidfs: prepare for handing out pidfds for reaped sk->sk_peer_pidChristian Brauner1-11/+74
2025-04-10af_unix: Remove unix_unhash()Michal Luczaj1-8/+0
2025-03-26unix: fix up for "apparmor: add fine grained af_unix mediation"Stephen Rothwell1-3/+0
2025-03-25af_unix: Clean up #include under net/unix/.Kuniyuki Iwashima4-17/+9
2025-03-25af_unix: Explicitly include headers for non-pointer struct fields.Kuniyuki Iwashima4-12/+0
2025-03-25af_unix: Move internal definitions to net/unix/.Kuniyuki Iwashima6-0/+101
2025-03-25af_unix: Sort headers.Kuniyuki Iwashima5-50/+49
2025-02-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2025-02-26af_unix: Fix memory leak in unix_dgram_sendmsg()Adrian Huang1-0/+1
2025-02-20af_unix: Fix undefined 'other' errorPurva Yeshi1-1/+0
2025-01-20af_unix: Use consume_skb() in connect() and sendmsg().Kuniyuki Iwashima1-14/+14
2025-01-20af_unix: Reuse out_pipe label in unix_stream_sendmsg().Kuniyuki Iwashima1-14/+9
2025-01-20af_unix: Set drop reason in unix_dgram_disconnected().Kuniyuki Iwashima1-1/+3
2025-01-20af_unix: Set drop reason in unix_stream_read_skb().Kuniyuki Iwashima1-2/+2
2025-01-20af_unix: Set drop reason in manage_oob().Kuniyuki Iwashima1-1/+1
2025-01-20af_unix: Set drop reason in __unix_gc().Kuniyuki Iwashima1-1/+1
2025-01-20af_unix: Set drop reason in unix_sock_destructor().Kuniyuki Iwashima1-1/+1
2025-01-20af_unix: Set drop reason in unix_release_sock().Kuniyuki Iwashima1-2/+2
2024-12-19af_unix: Add a prompt to CONFIG_AF_UNIX_OOBFlorent Revest1-1/+3
2024-12-17af_unix: Remove unix_our_peer().Kuniyuki Iwashima1-6/+1
2024-12-17af_unix: Clean up error paths in unix_dgram_sendmsg().Kuniyuki Iwashima1-16/+15
2024-12-17af_unix: Clean up SOCK_DEAD error paths in unix_dgram_sendmsg().Kuniyuki Iwashima1-15/+15
2024-12-17af_unix: Defer sock_put() to clean up path in unix_dgram_sendmsg().Kuniyuki Iwashima1-2/+0
2024-12-17af_unix: Split restart label in unix_dgram_sendmsg().Kuniyuki Iwashima1-2/+4
2024-12-17af_unix: Use msg->{msg_name,msg_namelen} in unix_dgram_sendmsg().Kuniyuki Iwashima1-6/+4
2024-12-17af_unix: Move !sunaddr case in unix_dgram_sendmsg().Kuniyuki Iwashima1-5/+3
2024-12-17af_unix: Set error only when needed in unix_dgram_sendmsg().Kuniyuki Iwashima1-13/+19
2024-12-17af_unix: Clean up error paths in unix_stream_sendmsg().Kuniyuki Iwashima1-19/+20
2024-12-17af_unix: Set error only when needed in unix_stream_sendmsg().Kuniyuki Iwashima1-3/+4
2024-12-17af_unix: Clean up error paths in unix_stream_connect().Kuniyuki Iwashima1-16/+13
2024-12-17af_unix: Set error only when needed in unix_stream_connect().Kuniyuki Iwashima1-9/+10
2024-12-11splice: do not checksum AF_UNIX socketsFrederik Deweerdt1-0/+1
2024-09-09af_unix: Don't return OOB skb in manage_oob().Kuniyuki Iwashima1-2/+7
2024-09-09af_unix: Move spin_lock() in manage_oob().Kuniyuki Iwashima1-8/+7
2024-09-09af_unix: Rename unlinked_skb in manage_oob().Kuniyuki Iwashima1-6/+6
2024-09-09af_unix: Remove single nest in manage_oob().Kuniyuki Iwashima1-22/+23
2024-08-20af_unix: Don't call skb_get() for OOB skb.Kuniyuki Iwashima2-36/+7
2024-07-17af_unix: Disable MSG_OOB handling for sockets in sockmap/sockhashMichal Luczaj2-1/+43
2024-07-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+5
2024-07-03af_unix: Fix uninit-value in __unix_walk_scc()Shigeru Yoshida1-4/+5
2024-06-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+31
2024-06-27af_unix: Fix wrong ioctl(SIOCATMARK) when consumed OOB skb is at the head.Kuniyuki Iwashima1-2/+13
2024-06-27af_unix: Don't stop recv() at consumed ex-OOB skb.Kuniyuki Iwashima1-1/+1
2024-06-27af_unix: Don't stop recv(MSG_DONTWAIT) if consumed OOB skb is at the head.Kuniyuki Iwashima1-4/+15
2024-06-27af_unix: Stop recv(MSG_PEEK) at consumed OOB skb.Kuniyuki Iwashima1-3/+6
2024-06-25af_unix: Don't use spin_lock_nested() in copy_peercred().Kuniyuki Iwashima1-10/+3
2024-06-25af_unix: Remove put_pid()/put_cred() in copy_peercred().Kuniyuki Iwashima1-8/+1
2024-06-25af_unix: Set sk_peer_pid/sk_peer_cred locklessly for new socket.Kuniyuki Iwashima1-3/+8
2024-06-25af_unix: Define locking order for U_RECVQ_LOCK_EMBRYO in unix_collect_skb().Kuniyuki Iwashima2-7/+22
2024-06-25af_unix: Remove U_LOCK_DIAG.Kuniyuki Iwashima1-14/+3
2024-06-25af_unix: Don't acquire unix_state_lock() for sock_i_ino().Kuniyuki Iwashima1-20/+10
2024-06-25af_unix: Define locking order for U_LOCK_SECOND in unix_stream_connect().Kuniyuki Iwashima1-1/+36
2024-06-25af_unix: Don't retry after unix_state_lock_nested() in unix_stream_connect().Kuniyuki Iwashima1-25/+9
2024-06-25af_unix: Define locking order for U_LOCK_SECOND in unix_state_double_lock().Kuniyuki Iwashima1-1/+15
2024-06-25af_unix: Define locking order for unix_table_double_lock().Kuniyuki Iwashima1-1/+11
2024-06-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-9/+9
2024-06-13af_unix: Read with MSG_PEEK loops if the first unread byte is OOBRao Shoaib1-9/+9
2024-06-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-52/+50
2024-06-06af_unix: Annotate data-race of sk->sk_shutdown in sk_diag_fill().Kuniyuki Iwashima1-1/+1
2024-06-06af_unix: Use skb_queue_len_lockless() in sk_diag_show_rqlen().Kuniyuki Iwashima1-1/+1
2024-06-06af_unix: Use skb_queue_empty_lockless() in unix_release_sock().Kuniyuki Iwashima1-1/+1
2024-06-06af_unix: Use unix_recvq_full_lockless() in unix_stream_connect().Kuniyuki Iwashima1-8/+2
2024-06-06af_unix: Annotate data-race of net->unx.sysctl_max_dgram_qlen.Kuniyuki Iwashima1-1/+1
2024-06-06af_unix: Annotate data-races around sk->sk_sndbuf.Kuniyuki Iwashima1-3/+3
2024-06-06af_unix: Annotate data-races around sk->sk_state in UNIX_DIAG.Kuniyuki Iwashima1-4/+4
2024-06-06af_unix: Annotate data-race of sk->sk_state in unix_stream_read_skb().Kuniyuki Iwashima1-1/+1
2024-06-06af_unix: Annotate data-races around sk->sk_state in sendmsg() and recvmsg().Kuniyuki Iwashima1-4/+4
2024-06-06af_unix: Annotate data-race of sk->sk_state in unix_accept().Kuniyuki Iwashima1-1/+1
2024-06-06af_unix: Annotate data-race of sk->sk_state in unix_stream_connect().Kuniyuki Iwashima1-5/+2
2024-06-06af_unix: Annotate data-races around sk->sk_state in unix_write_space() and po...Kuniyuki Iwashima1-13/+12
2024-06-06af_unix: Annotate data-race of sk->sk_state in unix_inq_len().Kuniyuki Iwashima1-1/+1
2024-06-06af_unix: Annodate data-races around sk->sk_state for writers.Kuniyuki Iwashima1-6/+8
2024-06-06af_unix: Set sk->sk_state under unix_state_lock() for truly disconencted peer.Kuniyuki Iwashima1-2/+8
2024-06-01af_unix: Remove dead code in unix_stream_read_generic().Kuniyuki Iwashima1-19/+2
2024-05-27af_unix: Read sk->sk_hash under bindlock during bind().Kuniyuki Iwashima1-3/+6
2024-05-27af_unix: Annotate data-race around unix_sk(sk)->addr.Kuniyuki Iwashima1-4/+6
2024-05-23Merge tag 'net-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds2-15/+36
2024-05-21af_unix: Fix garbage collection of embryos carrying OOB with SCM_RIGHTSMichal Luczaj1-9/+14
2024-05-21af_unix: Update unix_sk(sk)->oob_skb under sk_receive_queue lock.Kuniyuki Iwashima1-6/+22
2024-05-18Merge tag 'net-accept-more-20240515' of git://git.kernel.dk/linuxLinus Torvalds1-11/+10
2024-05-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2024-05-13net: change proto and proto_ops accept typeJens Axboe1-11/+10
2024-05-10af_unix: Fix data races in unix_release_sock/unix_stream_sendmsgBreno Leitao1-1/+1
2024-05-10af_unix: Add dead flag to struct scm_fp_list.Kuniyuki Iwashima1-4/+10
2024-05-03net: Remove the now superfluous sentinel elements from ctl_table arrayJoel Granados1-1/+0
2024-04-25af_unix: Suppress false-positive lockdep splat for spin_lock() in __unix_gc().Kuniyuki Iwashima1-1/+1
2024-04-23af_unix: Don't access successor in unix_del_edges() during GC.Kuniyuki Iwashima1-5/+12
2024-04-22sysctl: treewide: constify ctl_table_header::ctl_table_argThomas Weißschuh1-1/+1
2024-04-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+6
2024-04-16af_unix: Try not to hold unix_gc_lock during accept().Kuniyuki Iwashima2-5/+17
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-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+3
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-04-03af_unix: Remove lock dance in unix_peek_fds().Kuniyuki Iwashima2-43/+1
2024-04-03af_unix: Remove scm_fp_dup() in unix_attach_fds().Kuniyuki Iwashima1-7/+2
2024-03-29net: add sk_wake_async_rcu() helperEric Dumazet1-1/+1
2024-03-29af_unix: Replace garbage collection algorithm.Kuniyuki Iwashima2-250/+64
2024-03-29af_unix: Detect dead SCC.Kuniyuki Iwashima1-1/+43
2024-03-29af_unix: Assign a unique index to SCC.Kuniyuki Iwashima1-14/+15
2024-03-29af_unix: Avoid Tarjan's algorithm if unnecessary.Kuniyuki Iwashima1-1/+27
2024-03-29af_unix: Skip GC if no cycle exists.Kuniyuki Iwashima1-1/+47
2024-03-29af_unix: Save O(n) setup of Tarjan's algo.Kuniyuki Iwashima1-11/+15
2024-03-29af_unix: Fix up unix_edge.successor for embryo socket.Kuniyuki Iwashima2-2/+20
2024-03-29af_unix: Save listener for embryo socket.Kuniyuki Iwashima1-1/+4
2024-03-29af_unix: Detect Strongly Connected Components.Kuniyuki Iwashima1-2/+44
2024-03-29af_unix: Iterate all vertices by DFS.Kuniyuki Iwashima1-0/+74
2024-03-29af_unix: Bulk update unix_tot_inflight/unix_inflight when queuing skb.Kuniyuki Iwashima1-11/+7
2024-03-29af_unix: Link struct unix_edge when queuing skb.Kuniyuki Iwashima2-3/+95
2024-03-29af_unix: Allocate struct unix_edge for each inflight AF_UNIX fd.Kuniyuki Iwashima1-0/+6
2024-03-29af_unix: Allocate struct unix_vertex for each inflight AF_UNIX fd.Kuniyuki Iwashima2-0/+44
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