bpffs_opts
struct bpffs_opts opts = {
struct bpffs_opts opts = {
struct bpffs_opts opts = {
struct bpffs_opts opts = {
struct bpffs_opts opts = {
struct bpffs_opts opts = {
struct bpffs_opts opts = {
struct bpffs_opts opts = {
struct bpffs_opts opts = {
static int materialize_bpffs_fd(int fs_fd, struct bpffs_opts *opts)
struct bpffs_opts opts = {
struct bpffs_opts opts = {
struct bpffs_opts opts = {
struct bpffs_opts opts = {
static void child(int sock_fd, struct bpffs_opts *opts, child_callback_fn callback)
static void parent(int child_pid, struct bpffs_opts *bpffs_opts, int sock_fd)
err = materialize_bpffs_fd(fs_fd, bpffs_opts);
static void subtest_userns(struct bpffs_opts *bpffs_opts,
return child(sock_fds[1], bpffs_opts, child_cb);
return parent(child_pid, bpffs_opts, sock_fds[0]);