title | description |
---|---|
Helper Function 'bpf_bprm_opts_set' |
This page documents the 'bpf_bprm_opts_set' eBPF helper function, including its defintion, usage, program types that can use it, and examples. |
Copyright (c) 2015 The Libbpf Authors. All rights reserved.
Set or clear certain options on bprm:
BPF_F_BPRM_SECUREEXEC Set the secureexec bit which sets the AT_SECURE auxv for glibc. The bit is cleared if the flag is not specified.
-EINVAL if invalid flags are passed, zero otherwise.
#!c static long (* const bpf_bprm_opts_set)(struct linux_binprm *bprm, __u64 flags) = (void *) 159;
!!! example "Docs could be improved" This part of the docs is incomplete, contributions are very welcome
This helper call can be used in the following program types:
!!! example "Docs could be improved" This part of the docs is incomplete, contributions are very welcome