Re: [PATCH for 4.18 0/6] Restartable Sequences updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- On Jul 8, 2018, at 5:03 PM, Mathieu Desnoyers mathieu.desnoyers@xxxxxxxxxxxx wrote:

> Following the recent discussion thread [1] about rseq uapi, here is
> a set of updates submitted for integration into 4.18. Those change all
> rseq __get_user/__put_user for get_user/put_user as discussed.

Considering that ppc32 does not implement 64-bit get_user(), I will re-spin
the whole series using __copy_from_user/__copy_to_user() to replace
__get_user()/__put_user() to load/store the 64-bit rseq_cs field.

I'm aiming for a minimal change at this stage of the rc cycle.

Thanks,

Mathieu

> 
> Thanks,
> 
> Mathieu
> 
> [1]
> https://lkml.kernel.org/r/20180702223143.4663-1-mathieu.desnoyers@xxxxxxxxxxxx
> 
> Mathieu Desnoyers (6):
>  rseq: use __u64 for rseq_cs fields, validate user inputs
>  rseq: use get_user/put_user rather than __get_user/__put_user
>  rseq: uapi: update uapi comments
>  rseq: uapi: declare rseq_cs field as union, update includes
>  rseq: remove unused types_32_64.h uapi header
>  rseq/selftests: cleanup: update comment above rseq_prepare_unload
> 
> include/uapi/linux/rseq.h           | 102 ++++++++++++++++++++----------------
> include/uapi/linux/types_32_64.h    |  50 ------------------
> kernel/rseq.c                       |  36 ++++++++-----
> tools/testing/selftests/rseq/rseq.h |  24 ++++++---
> 4 files changed, 97 insertions(+), 115 deletions(-)
> delete mode 100644 include/uapi/linux/types_32_64.h
> 
> --
> 2.11.0

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux