]> granicus.if.org Git - strace/commit
bpf: make decoders of BPF_*_GET_FD_BY_ID commands return RVAL_FD
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 13 Mar 2019 18:38:51 +0000 (18:38 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 13 Mar 2019 18:38:51 +0000 (18:38 +0000)
commit525638312734aacbc4bb226e614f3ec910adee9c
treee399dbee758752e97a7ad392450e70be15987de7
parent940fe50f5a72d2624b217ccaf720b05f06a4dd90
bpf: make decoders of BPF_*_GET_FD_BY_ID commands return RVAL_FD

These bpf commands return file descriptors.

* bpf.c (BPF_PROG_GET_FD_BY_ID, BPF_MAP_GET_FD_BY_ID): Add RVAL_FD
to END_BPF_CMD_DECODER.
bpf.c