All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] [y2038] clock_settime for timespec64
@ 2021-03-11  2:45 chensong
  2021-03-11  8:27 ` florian.bezdeka
  0 siblings, 1 reply; 3+ messages in thread
From: chensong @ 2021-03-11  2:45 UTC (permalink / raw)
  To: florian.bezdeka, xenomai, rpm

This patch serial is aimed to introduce a new syscall clock_settime64,
which is specific for 64-bit time_t.

There is no impact to current implemetation of clock_settime, nothing
broken.

chensong (4):
  include: wrappers: introduce old_timespec32 and __kernel_timespec
  [y2038]cobalt: posix: clock: Adding clock_settime64
  [y2038]cobalt: posix: syscall32: Adding compat clock_settime64
  [y2038] lib: cobalt: clock: dispatch clock_settime

 include/cobalt/uapi/syscall.h                        |  1 +
 kernel/cobalt/include/asm-generic/xenomai/wrappers.h | 17 +++++++++++++++++
 kernel/cobalt/posix/clock.c                          | 12 ++++++++++++
 kernel/cobalt/posix/clock.h                          |  4 ++++
 kernel/cobalt/posix/syscall32.c                      | 13 +++++++++++++
 kernel/cobalt/posix/syscall32.h                      |  4 ++++
 lib/cobalt/clock.c                                   |  6 ++++++
 7 files changed, 57 insertions(+)

-- 
2.7.4





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/4] [y2038] clock_settime for timespec64
  2021-03-11  2:45 [PATCH 0/4] [y2038] clock_settime for timespec64 chensong
@ 2021-03-11  8:27 ` florian.bezdeka
  2021-03-11  8:29   ` chensong
  0 siblings, 1 reply; 3+ messages in thread
From: florian.bezdeka @ 2021-03-11  8:27 UTC (permalink / raw)
  To: rpm, xenomai, chensong

Hi!

On Thu, 2021-03-11 at 10:45 +0800, chensong wrote:
> This patch serial is aimed to introduce a new syscall clock_settime64,
> which is specific for 64-bit time_t.
> 
> There is no impact to current implemetation of clock_settime, nothing
> broken.
> 
> chensong (4):
>   include: wrappers: introduce old_timespec32 and __kernel_timespec

This patch is not necessary. We don't care about the 4.4 kernel (the
only one which does not provide this data types) as it has no y2038
syscalls at all.

>   [y2038]cobalt: posix: clock: Adding clock_settime64
>   [y2038]cobalt: posix: syscall32: Adding compat clock_settime64

This two patches should be squashed. No need to separate the compat
syscall. Some inline comments will follow

>   [y2038] lib: cobalt: clock: dispatch clock_settime

Will comment on this patch separately.

> 
>  include/cobalt/uapi/syscall.h                        |  1 +
>  kernel/cobalt/include/asm-generic/xenomai/wrappers.h | 17 +++++++++++++++++
>  kernel/cobalt/posix/clock.c                          | 12 ++++++++++++
>  kernel/cobalt/posix/clock.h                          |  4 ++++
>  kernel/cobalt/posix/syscall32.c                      | 13 +++++++++++++
>  kernel/cobalt/posix/syscall32.h                      |  4 ++++
>  lib/cobalt/clock.c                                   |  6 ++++++
>  7 files changed, 57 insertions(+)
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/4] [y2038] clock_settime for timespec64
  2021-03-11  8:27 ` florian.bezdeka
@ 2021-03-11  8:29   ` chensong
  0 siblings, 0 replies; 3+ messages in thread
From: chensong @ 2021-03-11  8:29 UTC (permalink / raw)
  To: florian.bezdeka, rpm, xenomai



On 2021年03月11日 16:27, florian.bezdeka@siemens.com wrote:
> Hi!
>
> On Thu, 2021-03-11 at 10:45 +0800, chensong wrote:
>> This patch serial is aimed to introduce a new syscall clock_settime64,
>> which is specific for 64-bit time_t.
>>
>> There is no impact to current implemetation of clock_settime, nothing
>> broken.
>>
>> chensong (4):
>>    include: wrappers: introduce old_timespec32 and __kernel_timespec
>
> This patch is not necessary. We don't care about the 4.4 kernel (the
> only one which does not provide this data types) as it has no y2038
> syscalls at all.
>
>>    [y2038]cobalt: posix: clock: Adding clock_settime64
>>    [y2038]cobalt: posix: syscall32: Adding compat clock_settime64
>
> This two patches should be squashed. No need to separate the compat
> syscall. Some inline comments will follow

ok, will do
>
>>    [y2038] lib: cobalt: clock: dispatch clock_settime
>
> Will comment on this patch separately.
>
>>
>>   include/cobalt/uapi/syscall.h                        |  1 +
>>   kernel/cobalt/include/asm-generic/xenomai/wrappers.h | 17 +++++++++++++++++
>>   kernel/cobalt/posix/clock.c                          | 12 ++++++++++++
>>   kernel/cobalt/posix/clock.h                          |  4 ++++
>>   kernel/cobalt/posix/syscall32.c                      | 13 +++++++++++++
>>   kernel/cobalt/posix/syscall32.h                      |  4 ++++
>>   lib/cobalt/clock.c                                   |  6 ++++++
>>   7 files changed, 57 insertions(+)
>>
>




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-11  8:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11  2:45 [PATCH 0/4] [y2038] clock_settime for timespec64 chensong
2021-03-11  8:27 ` florian.bezdeka
2021-03-11  8:29   ` chensong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.