Linux Audio

Check our new training course

Loading...
Note: File does not exist in v4.6.
 1// SPDX-License-Identifier: GPL-2.0
 2
 3#include "vmlinux.h"
 4#include <bpf/bpf_helpers.h>
 5#include <bpf/bpf_tracing.h>
 6
 7char _license[] SEC("license") = "GPL";
 8
 9SEC("lsm_cgroup/inet_csk_clone")
10int BPF_PROG(nonvoid_socket_clone, struct sock *newsk, const struct request_sock *req)
11{
12	/* Can not return any errors from void LSM hooks. */
13	return 0;
14}