aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix
AgeCommit message (Expand)AuthorFilesLines
8 daysMerge tag 'net-next-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds3-69/+57
10 daysMerge tag 'vfs-6.19-rc1.fd_prepare.fs' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-15/+1
10 daysMerge tag 'vfs-6.19-rc1.directory.delegations' of git://git.kernel.org/pub/sc...Linus Torvalds1-1/+1
11 daysMerge tag 'kernel-6.19-rc1.cred' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-13/+4
14 daysaf_unix: convert unix_file_open() to FD_ADD()Christian Brauner1-15/+1
2025-11-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+1
2025-11-18af_unix: Consolidate unix_schedule_gc() and wait_for_unix_gc().Kuniyuki Iwashima3-21/+11
2025-11-18af_unix: Remove unix_tot_inflight.Kuniyuki Iwashima1-3/+0
2025-11-18af_unix: Refine wait_for_unix_gc().Kuniyuki Iwashima1-13/+8
2025-11-18af_unix: Don't call wait_for_unix_gc() on every sendmsg().Kuniyuki Iwashima3-8/+6
2025-11-18af_unix: Don't trigger GC from close() if unnecessary.Kuniyuki Iwashima3-14/+19
2025-11-18af_unix: Simplify GC state.Kuniyuki Iwashima1-9/+12
2025-11-18af_unix: Count cyclic SCC.Kuniyuki Iwashima1-10/+21
2025-11-18af_unix: Read sk_peek_offset() again after sleeping in unix_stream_read_gener...Kuniyuki Iwashima1-2/+1
2025-11-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+11
2025-11-12vfs: make vfs_mknod break delegations on parent directoryJeff Layton1-1/+1
2025-11-11af_unix: Initialise scc_index in unix_add_edge().Kuniyuki Iwashima1-3/+11
2025-11-04net: Convert proto_ops connect() callbacks to use sockaddr_unsizedKees Cook1-4/+4
2025-11-04net: Convert proto_ops bind() callbacks to use sockaddr_unsizedKees Cook1-2/+2
2025-11-04unix: don't copy credsChristian Brauner1-13/+4
2025-10-23net: unix: remove outdated BSD behavior comment in unix_release_sock()Sunday Adelodun1-11/+0
2025-10-02Merge tag 'net-next-6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-1/+1
2025-09-23VFS: rename kern_path_locked() and related functions.NeilBrown1-3/+3
2025-09-22net: replace use of system_unbound_wq with system_dfl_wqMarco Crivellari1-1/+1
2025-07-30Merge tag 'net-next-6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds2-59/+128
2025-07-28Merge tag 'vfs-6.17-rc1.pidfs' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-30/+48
2025-07-14don't bother with path_get()/path_put() in unix_open_file()Al Viro1-12/+4
2025-07-08af_unix: Introduce SO_INQ.Kuniyuki Iwashima1-2/+60
2025-07-08af_unix: Cache state->msg in unix_stream_read_generic().Kuniyuki Iwashima1-16/+17
2025-07-08af_unix: Use cached value for SOCK_STREAM in unix_inq_len().Kuniyuki Iwashima1-10/+28
2025-07-08af_unix: Don't use skb_recv_datagram() in unix_stream_read_skb().Kuniyuki Iwashima1-17/+22
2025-07-08af_unix: Don't check SOCK_DEAD in unix_stream_read_skb().Kuniyuki Iwashima1-10/+0
2025-07-08af_unix: Don't hold unix_state_lock() in __unix_dgram_recvmsg().Kuniyuki Iwashima1-3/+1
2025-07-08net: splice: Drop unused @gfpMichal Luczaj1-2/+1
2025-07-04af_unix: stash pidfs dentry when neededAlexander Mikhalitsyn1-1/+10
2025-07-04af_unix/scm: fix whitespace errorsAlexander Mikhalitsyn1-1/+1
2025-07-04af_unix: introduce unix_skb_to_scm helperAlexander Mikhalitsyn1-4/+8
2025-07-04af_unix: rework unix_maybe_add_creds() to allow sleepAlexander Mikhalitsyn1-7/+25
2025-06-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-8/+23
2025-06-24af_unix: Don't set -ECONNRESET for consumed OOB skb.Kuniyuki Iwashima1-6/+12
2025-06-24af_unix: Don't leave consecutive consumed OOB skbs.Kuniyuki Iwashima1-2/+11
2025-06-23net: remove sock_i_uid()Eric Dumazet2-2/+2
2025-06-19pidfs: remove pidfs_{get,put}_pid()Christian Brauner1-5/+0
2025-06-12af_unix: Allow passing cred for embryo without SO_PASSCRED/SO_PASSPIDFD.Kuniyuki Iwashima1-1/+2
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