lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168689462068.26047.7995810161651055390.git-patchwork-notify@kernel.org>
Date:   Fri, 16 Jun 2023 05:50:20 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Breno Leitao <leitao@...ian.org>
Cc:     courmisch@...il.com, davem@...emloft.net, edumazet@...gle.com,
        kuba@...nel.org, pabeni@...hat.com, alex.aring@...il.com,
        stefan@...enfreihafen.org, miquel.raynal@...tlin.com,
        dsahern@...nel.org, willemdebruijn.kernel@...il.com,
        matthieu.baerts@...sares.net, martineau@...nel.org,
        marcelo.leitner@...il.com, lucien.xin@...il.com, axboe@...nel.dk,
        asml.silence@...il.com, leit@...com, willemb@...gle.com,
        martin.lau@...nel.org, ast@...nel.org, kuniyu@...zon.com,
        kernelxing@...cent.com, joannelkoong@...il.com, hbh25y@...il.com,
        wojciech.drewek@...el.com, andrea.righi@...onical.com,
        linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
        dccp@...r.kernel.org, linux-wpan@...r.kernel.org,
        mptcp@...ts.linux.dev, linux-sctp@...r.kernel.org
Subject: Re: [PATCH net-next v7] net: ioctl: Use kernel memory on protocol ioctl
 callbacks

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:

On Fri,  9 Jun 2023 08:27:42 -0700 you wrote:
> Most of the ioctls to net protocols operates directly on userspace
> argument (arg). Usually doing get_user()/put_user() directly in the
> ioctl callback.  This is not flexible, because it is hard to reuse these
> functions without passing userspace buffers.
> 
> Change the "struct proto" ioctls to avoid touching userspace memory and
> operate on kernel buffers, i.e., all protocol's ioctl callbacks is
> adapted to operate on a kernel memory other than on userspace (so, no
> more {put,get}_user() and friends being called in the ioctl callback).
> 
> [...]

Here is the summary with links:
  - [net-next,v7] net: ioctl: Use kernel memory on protocol ioctl callbacks
    https://git.kernel.org/netdev/net-next/c/e1d001fa5b47

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ