Re: [PATCH net-next] net/rds: Whitelist rdma_cookie and rx_tstamp for usercopy

2019-08-23 Thread David Miller
From: Dag Moxnes Date: Fri, 23 Aug 2019 16:03:18 +0200 > Add the RDMA cookie and RX timestamp to the usercopy whitelist. > > After the introduction of hardened usercopy whitelisting > (https://lwn.net/Articles/727322/), a warning is displayed when the > RDMA cookie or RX timestamp is copied to u

Re: [PATCH net-next] net/rds: Whitelist rdma_cookie and rx_tstamp for usercopy

2019-08-23 Thread santosh . shilimkar
On 8/23/19 7:03 AM, Dag Moxnes wrote: Add the RDMA cookie and RX timestamp to the usercopy whitelist. After the introduction of hardened usercopy whitelisting (https://lwn.net/Articles/727322/), a warning is displayed when the RDMA cookie or RX timestamp is copied to userspace: kernel: WARNING:

[PATCH net-next] net/rds: Whitelist rdma_cookie and rx_tstamp for usercopy

2019-08-23 Thread Dag Moxnes
Add the RDMA cookie and RX timestamp to the usercopy whitelist. After the introduction of hardened usercopy whitelisting (https://lwn.net/Articles/727322/), a warning is displayed when the RDMA cookie or RX timestamp is copied to userspace: kernel: WARNING: CPU: 3 PID: 5750 at mm/usercopy.c:81 us