Re: [PATCH] netfilter: Record uid and gid in xt_AUDIT

From: Richard Weinberger
Date: Thu Oct 10 2024 - 02:27:37 EST


Am Mittwoch, 9. Oktober 2024, 23:33:45 CEST schrieb Florian Westphal:
> There is no need to follow ->file backpointer anymore, see
> 6acc5c2910689fc6ee181bf63085c5efff6a42bd and
> 86741ec25462e4c8cdce6df2f41ead05568c7d5e,
> "net: core: Add a UID field to struct sock.".

Oh, neat!

> I think we could streamline all the existing paths that fetch uid
> from sock->file to not do that and use sock_net_uid() instead as well.

Also xt_owner?

Thanks,
//richard

--
​​​​​sigma star gmbh | Eduard-Bodem-Gasse 6, 6020 Innsbruck, AUT
UID/VAT Nr: ATU 66964118 | FN: 374287y