Re: [PATCH v17 07/15] fs, arm64: untag user pointers in copy_mount_options

2019-06-20 Thread Khalid Aziz
On 6/12/19 5:43 AM, Andrey Konovalov wrote: > This patch is a part of a series that extends arm64 kernel ABI to allow to > pass tagged user pointers (with the top byte set to something else other > than 0x00) as syscall arguments. > > In copy_mount_options a user address is being subtracted from T

Re: [PATCH v17 07/15] fs, arm64: untag user pointers in copy_mount_options

2019-06-13 Thread Vincenzo Frascino
On 12/06/2019 12:43, Andrey Konovalov wrote: > This patch is a part of a series that extends arm64 kernel ABI to allow to > pass tagged user pointers (with the top byte set to something else other > than 0x00) as syscall arguments. > > In copy_mount_options a user address is being subtracted from

[PATCH v17 07/15] fs, arm64: untag user pointers in copy_mount_options

2019-06-13 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. In copy_mount_options a user address is being subtracted from TASK_SIZE. If the address is lower than TASK_SIZE, the