Re: [PATCH bpf-next v4 1/5] net: Add connect_socket() helper
Song Liu <[email protected]>
| Newsgroups | gmane.linux.kernel.bpf,gmane.linux.network |
|---|---|
| Message-ID | <CAPhsuW7-srT-U+WQJN_b_SY=2wbkNQhs+JF=5aCPXGmLg1-1Xw@mail.gmail.com> |
On Thu, Aug 6, 2026 at 11:22 AM Mahe Tardy <[email protected]> wrote: > > Add a helper that connects an existing socket while invoking the LSM > hook. Reuse it in __sys_connect_file() to avoid duplicating the connect > logic. Other socket operations have equivalent helpers that trigger the > appropriate LSM hooks that can be reused, this one was the only one > missing. > > Signed-off-by: Mahe Tardy <[email protected]> Acked-by: Song Liu <[email protected]>