]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Document BPF_PROG_PIN syscall command
authorJoe Stringer <joe@cilium.io>
Tue, 2 Mar 2021 17:19:36 +0000 (09:19 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 5 Mar 2021 02:39:44 +0000 (18:39 -0800)
commitda48a6a0aaec94cc6c729bcfc6dbc13cf47d0f14
tree136767c2f3f515f6078eab622b40c1e1cc810adc
parent1c555fca9d505b926c0c9a652758e11f0d2cac00
bpf: Document BPF_PROG_PIN syscall command

Commit a5e408a61a0f ("bpf: add support for persistent maps/progs")
contains the original implementation and git logs, used as reference for
this documentation.

Also pull in the filename restriction as documented in commit fe8804b305ef
("bpf: comment why dots in filenames under BPF virtual FS are not allowed")

Signed-off-by: Joe Stringer <joe@cilium.io>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210302171947.2268128-5-joe@cilium.io
include/uapi/linux/bpf.h