Re: [PATCH] fix dma-buf/udmabuf selftest

2019-02-08 Thread Tom Murphy
> However, we need for F_ADD_SEALS, F_SEAL_SHRINK. > > Including both leads to lots of redefinition warnings. > > Can we fix that? I still haven't looked at this and probably won't get a chance anytime soon. linux/tools/testing/selftests/memfd/fuse_test.c also suffers from this (it needs the F_AD

Re: [PATCH] fix dma-buf/udmabuf selftest

2019-01-09 Thread Geert Uytterhoeven
Hi Tom, On Tue, Nov 27, 2018 at 7:53 PM Tom Murphy wrote: > This patch fixes the udmabuf selftest. Currently the selftest is broken. > I fixed the selftest by setting the F_SEAL_SHRINK seal on the memfd > file descriptor which is required by udmabuf and added the test to > the selftest Makefile.

Re: [PATCH] fix dma-buf/udmabuf selftest

2018-12-13 Thread Gerd Hoffmann
On Wed, Dec 12, 2018 at 02:15:49PM -0700, shuah wrote: > Hi Daniel, > > On 11/27/18 3:33 AM, Tom Murphy wrote: > > This patch fixes the udmabuf selftest. Currently the selftest is broken. > > I fixed the selftest by setting the F_SEAL_SHRINK seal on the memfd > > file descriptor which is required

Re: [PATCH] fix dma-buf/udmabuf selftest

2018-12-12 Thread Daniel Vetter
On Wed, Dec 12, 2018 at 10:16 PM shuah wrote: > > Hi Daniel, > > On 11/27/18 3:33 AM, Tom Murphy wrote: > > This patch fixes the udmabuf selftest. Currently the selftest is broken. > > I fixed the selftest by setting the F_SEAL_SHRINK seal on the memfd > > file descriptor which is required by udma

Re: [PATCH] fix dma-buf/udmabuf selftest

2018-12-12 Thread shuah
Hi Daniel, On 11/27/18 3:33 AM, Tom Murphy wrote: This patch fixes the udmabuf selftest. Currently the selftest is broken. I fixed the selftest by setting the F_SEAL_SHRINK seal on the memfd file descriptor which is required by udmabuf and added the test to the selftest Makefile. Signed-off-by:

[PATCH] fix dma-buf/udmabuf selftest

2018-11-27 Thread Tom Murphy
This patch fixes the udmabuf selftest. Currently the selftest is broken. I fixed the selftest by setting the F_SEAL_SHRINK seal on the memfd file descriptor which is required by udmabuf and added the test to the selftest Makefile. Signed-off-by: Tom Murphy --- tools/testing/selftests/Makefil