Thread (13 messages) 13 messages, 4 authors, 2025-03-25

Re: [PATCH v1 net-next 2/4] af_unix: Move internal definitions to net/unix/.

From: Joe Damato <hidden>
Date: 2025-03-18 23:12:35

On Mon, Mar 17, 2025 at 08:48:49PM -0700, Kuniyuki Iwashima wrote:
net/af_unix.h is included by core and some LSMs, but most definitions
need not be.

Let's move struct unix_{vertex,edge} to net/unix/garbage.c and other
definitions to net/unix/af_unix.h.

Signed-off-by: Kuniyuki Iwashima <redacted>
---
 include/net/af_unix.h      | 76 +-------------------------------------
 net/unix/af_unix.c         |  2 +
 net/unix/af_unix.h         | 75 +++++++++++++++++++++++++++++++++++++
 net/unix/diag.c            |  2 +
 net/unix/garbage.c         | 18 +++++++++
 net/unix/sysctl_net_unix.c |  2 +
 net/unix/unix_bpf.c        |  2 +
 7 files changed, 102 insertions(+), 75 deletions(-)
 create mode 100644 net/unix/af_unix.h
Nice clean up.

Reviewed-by: Joe Damato <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help