Home
last modified time | relevance | path

Searched refs:bpf_token (Results 1 – 3 of 3) sorted by relevance

/include/linux/
Dsecurity.h2173 struct bpf_token;
2179 struct bpf_token *token);
2182 struct bpf_token *token);
2184 extern int security_bpf_token_create(struct bpf_token *token, union bpf_attr *attr,
2186 extern void security_bpf_token_free(struct bpf_token *token);
2187 extern int security_bpf_token_cmd(const struct bpf_token *token, enum bpf_cmd cmd);
2188 extern int security_bpf_token_capable(const struct bpf_token *token, int cap);
2207 struct bpf_token *token) in security_bpf_map_create()
2216 struct bpf_token *token) in security_bpf_prog_load()
2224 static inline int security_bpf_token_create(struct bpf_token *token, union bpf_attr *attr, in security_bpf_token_create()
[all …]
Dbpf.h57 struct bpf_token;
1545 struct bpf_token *token;
1707 struct bpf_token { struct
2368 bool bpf_token_capable(const struct bpf_token *token, int cap);
2370 static inline bool bpf_allow_ptr_leaks(const struct bpf_token *token) in bpf_allow_ptr_leaks()
2375 static inline bool bpf_allow_uninit_stack(const struct bpf_token *token) in bpf_allow_uninit_stack()
2380 static inline bool bpf_bypass_spec_v1(const struct bpf_token *token) in bpf_bypass_spec_v1()
2385 static inline bool bpf_bypass_spec_v4(const struct bpf_token *token) in bpf_bypass_spec_v4()
2405 void bpf_token_inc(struct bpf_token *token);
2406 void bpf_token_put(struct bpf_token *token);
[all …]
Dlsm_hook_defs.h428 struct bpf_token *token)
431 struct bpf_token *token)
433 LSM_HOOK(int, 0, bpf_token_create, struct bpf_token *token, union bpf_attr *attr,
435 LSM_HOOK(void, LSM_RET_VOID, bpf_token_free, struct bpf_token *token)
436 LSM_HOOK(int, 0, bpf_token_cmd, const struct bpf_token *token, enum bpf_cmd cmd)
437 LSM_HOOK(int, 0, bpf_token_capable, const struct bpf_token *token, int cap)