bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next] bpf: make bpf_copy_from_user_task() gpl only
@ 2022-01-28 17:09 Kenta Tada
  2022-01-31 20:53 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Kenta Tada @ 2022-01-28 17:09 UTC (permalink / raw)
  To: bpf, andrii, ast, daniel, yhs; +Cc: kennyyu, Kenta Tada

access_process_vm() is exported by EXPORT_SYMBOL_GPL().

Signed-off-by: Kenta Tada <Kenta.Tada@sony.com>
---
 kernel/bpf/helpers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/bpf/helpers.c b/kernel/bpf/helpers.c
index ed2780b76cc1..4e5969fde0b3 100644
--- a/kernel/bpf/helpers.c
+++ b/kernel/bpf/helpers.c
@@ -695,7 +695,7 @@ BPF_CALL_5(bpf_copy_from_user_task, void *, dst, u32, size,
 
 const struct bpf_func_proto bpf_copy_from_user_task_proto = {
 	.func		= bpf_copy_from_user_task,
-	.gpl_only	= false,
+	.gpl_only	= true,
 	.ret_type	= RET_INTEGER,
 	.arg1_type	= ARG_PTR_TO_UNINIT_MEM,
 	.arg2_type	= ARG_CONST_SIZE_OR_ZERO,
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH bpf-next] bpf: make bpf_copy_from_user_task() gpl only
  2022-01-28 17:09 [PATCH bpf-next] bpf: make bpf_copy_from_user_task() gpl only Kenta Tada
@ 2022-01-31 20:53 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-01-31 20:53 UTC (permalink / raw)
  To: Kenta Tada; +Cc: bpf, andrii, ast, daniel, yhs, kennyyu

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:

On Sat, 29 Jan 2022 02:09:06 +0900 you wrote:
> access_process_vm() is exported by EXPORT_SYMBOL_GPL().
> 
> Signed-off-by: Kenta Tada <Kenta.Tada@sony.com>
> ---
>  kernel/bpf/helpers.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - [bpf-next] bpf: make bpf_copy_from_user_task() gpl only
    https://git.kernel.org/bpf/bpf-next/c/0407a65f356e

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-31 20:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-28 17:09 [PATCH bpf-next] bpf: make bpf_copy_from_user_task() gpl only Kenta Tada
2022-01-31 20:53 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).