Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 
0003 #include "vmlinux.h"
0004 #include <bpf/bpf_helpers.h>
0005 #include <bpf/bpf_tracing.h>
0006 
0007 char _license[] SEC("license") = "GPL";
0008 
0009 SEC("lsm_cgroup/inet_csk_clone")
0010 int BPF_PROG(nonvoid_socket_clone, struct sock *newsk, const struct request_sock *req)
0011 {
0012     /* Can not return any errors from void LSM hooks. */
0013     return 0;
0014 }