mirror of
https://gitee.com/openharmony/third_party_libbpf
synced 2024-10-07 22:43:33 +00:00
sync: auto-generate latest BPF helpers
Latest changes to BPF helper definitions.
This commit is contained in:
parent
f4f271b068
commit
437f57042c
@ -2600,7 +2600,8 @@ static int (*bpf_sk_storage_delete)(void *map, struct bpf_sock *sk) = (void *) 1
|
||||
/*
|
||||
* bpf_send_signal
|
||||
*
|
||||
* Send signal *sig* to the current task.
|
||||
* Send signal *sig* to the process of the current task.
|
||||
* The signal may be delivered to any of this process's threads.
|
||||
*
|
||||
* Returns
|
||||
* 0 on success or successfully queued.
|
||||
@ -2767,4 +2768,22 @@ static int (*bpf_probe_read_kernel_str)(void *dst, __u32 size, const void *unsaf
|
||||
*/
|
||||
static int (*bpf_tcp_send_ack)(void *tp, __u32 rcv_nxt) = (void *) 116;
|
||||
|
||||
/*
|
||||
* bpf_send_signal_thread
|
||||
*
|
||||
* Send signal *sig* to the thread corresponding to the current task.
|
||||
*
|
||||
* Returns
|
||||
* 0 on success or successfully queued.
|
||||
*
|
||||
* **-EBUSY** if work queue under nmi is full.
|
||||
*
|
||||
* **-EINVAL** if *sig* is invalid.
|
||||
*
|
||||
* **-EPERM** if no permission to send the *sig*.
|
||||
*
|
||||
* **-EAGAIN** if bpf program can try again.
|
||||
*/
|
||||
static int (*bpf_send_signal_thread)(__u32 sig) = (void *) 117;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user