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)
commit8aacb3c8d1a32b23c82645051bba55f0ae6c103b
tree136767c2f3f515f6078eab622b40c1e1cc810adc
parent6690523bccb3e44cfcc4b2c995767e6814046e34
bpf: Document BPF_PROG_PIN syscall command

Commit b2197755b263 ("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 6d8cb045cde6
("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