[PATCH v15 05/17] arms64: untag user pointers passed to memory syscalls

Catalin Marinas catalin.marinas at arm.com
Mon May 27 09:42:48 UTC 2019


On Mon, May 06, 2019 at 06:30:51PM +0200, Andrey Konovalov wrote:
> +SYSCALL_DEFINE2(arm64_mlock2, unsigned long, start, size_t, len)
> +{
> +	start = untagged_addr(start);
> +	return ksys_mlock(start, len, VM_LOCKED);
> +}

Copy/paste error: sys_mlock2() has 3 arguments and should call
ksys_mlock2().

Still tracking down an LTP failure on test mlock01.

-- 
Catalin


More information about the amd-gfx mailing list