summaryrefslogtreecommitdiff
path: root/include/linux/extcon.h
diff options
context:
space:
mode:
authorHao Luo <haoluo@google.com>2022-04-29 02:57:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-01 18:22:24 +0300
commitb453361384c2db1c703dacb806d5fd36aec4ceca (patch)
tree5bc0e18260fa913ac73d1eebf43f713748b236a1 /include/linux/extcon.h
parent8d38cde47a7e17b646401fa92d916503caa5375e (diff)
downloadlinux-b453361384c2db1c703dacb806d5fd36aec4ceca.tar.xz
bpf: Introduce MEM_RDONLY flag
commit 20b2aff4bc15bda809f994761d5719827d66c0b4 upstream. This patch introduce a flag MEM_RDONLY to tag a reg value pointing to read-only memory. It makes the following changes: 1. PTR_TO_RDWR_BUF -> PTR_TO_BUF 2. PTR_TO_RDONLY_BUF -> PTR_TO_BUF | MEM_RDONLY Signed-off-by: Hao Luo <haoluo@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20211217003152.48334-6-haoluo@google.com Cc: stable@vger.kernel.org # 5.15.x Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/extcon.h')
0 files changed, 0 insertions, 0 deletions