Searched refs:bpf_token_path (Results 1 - 3 of 3) sorted by relevance

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtoken.c727 /* use bpf_token_path to provide BPF FS path */
729 opts.bpf_token_path = buf;
755 /* use bpf_token_path to provide BPF FS path */
757 opts.bpf_token_path = buf;
803 opts.bpf_token_path = buf;
879 /* now disable implicit token through empty bpf_token_path, should fail */
880 opts.bpf_token_path = "";
941 /* now disable implicit token through empty bpf_token_path, envvar
944 opts.bpf_token_path = "";
/linux-master/tools/lib/bpf/
H A Dlibbpf.h186 * If bpf_token_path is not specified, libbpf will consult
188 * taken as a value of bpf_token_path option and will force libbpf to
191 * string. bpf_token_path overrides LIBBPF_BPF_TOKEN_PATH, if both are
194 * Setting bpf_token_path option to empty string disables libbpf's
198 const char *bpf_token_path; member in struct:bpf_object_open_opts
202 #define bpf_object_open_opts__last_field bpf_token_path
H A Dlibbpf.c7850 token_path = OPTS_GET(opts, bpf_token_path, NULL);
7851 /* if user didn't specify bpf_token_path explicitly, check if
7852 * LIBBPF_BPF_TOKEN_PATH envvar was set and treat it as bpf_token_path

Completed in 177 milliseconds