blob: c08d6bca1c22a8ea672bf167f0076e58800e0eb9 [file] [log] [blame]
Wang Nan1b76c132015-07-01 02:13:51 +00001/*
2 * Common eBPF ELF object loading operations.
3 *
4 * Copyright (C) 2013-2015 Alexei Starovoitov <ast@kernel.org>
5 * Copyright (C) 2015 Wang Nan <wangnan0@huawei.com>
6 * Copyright (C) 2015 Huawei Inc.
7 */
8
9#include <stdlib.h>
10#include <unistd.h>
11#include <asm/unistd.h>
12#include <linux/bpf.h>
13
14#include "libbpf.h"