lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 3 Oct 2023 21:27:03 -0700
From: Richard Cochran <richardcochran@...il.com>
To: Mahesh Bandewar (महेश बंडेवार) <maheshb@...gle.com>
Cc: Netdev <netdev@...r.kernel.org>, Linux <linux-kernel@...r.kernel.org>,
	David Miller <davem@...emloft.net>,
	Jakub Kicinski <kuba@...nel.org>,
	Eric Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
	Jonathan Corbet <corbet@....net>, Don Hatchett <hatch@...gle.com>,
	Yuliang Li <yuliangli@...gle.com>,
	Mahesh Bandewar <mahesh@...dewar.net>
Subject: Re: [PATCH 2/4] ptp: add ptp_gettimex64any() support

On Mon, Oct 02, 2023 at 05:24:43PM -0700, Mahesh Bandewar (महेश बंडेवार) wrote:

> I'm not sure which one you are referring to. These defs need to be
> UAPI and the one defined in time.h are not all relevant in this case
> (we just need only a few of those) hence the definition. However, if I
> missed something, please point me to it.

You are missing this:

> > > +     PTP_TS_REAL,

#define CLOCK_REALTIME			0

> > > +     PTP_TS_MONO,

#define CLOCK_MONOTONIC			1

> > > +     PTP_TS_RAW,

#define CLOCK_MONOTONIC_RAW		4

See?

Powered by blists - more mailing lists