[LinuxPPS] push sys/timepps.h into glibc ?

Vitezslav Samel vitezslav at samel.cz
Mon Jul 11 15:11:50 CEST 2011


On Sat, Jul 09, 2011 at 09:19:09AM -0700, Hal V. Engel wrote:
> On Saturday, July 09, 2011 07:16:13 AM Vitezslav Samel wrote:
> > On Fri, Jul 08, 2011 at 02:09:16PM -0700, Hal V. Engel wrote:
> > > On Monday, May 16, 2011 02:13:00 AM Vitezslav Samel wrote:
> > > > 	Hi!
> > > > 	
> > > >   As of kernel 2.6.38 there is complete pps support in linux kernel.
> > > > 
> > > > Is there any work on pushing new include file sys/timepps.h into glibc?
> > > > 
> > > >   This new include file lives in git://github.com/ago/pps-tools.git.
> > > >   
> > > >   This step will complete all needed support for ntp with pps on linux.
> > > > 	
> > > > 	Thanks,
> > > > 	
> > > > 		Vita
> > > 
> > > Is the header file in git up to date?  The version in GIT has the
> > > following:
> > > 
> > > static __inline int time_pps_kcbind(pps_handle_t handle,
> > > 
> > > 					const int kernel_consumer,
> > > 					const int edge, const int tsformat)
> > > 
> > > {
> > > 
> > > 	/* LinuxPPS doesn't implement kernel consumer feature */
> > > 	errno = EOPNOTSUPP;
> > > 	return -1;
> > > 
> > > }
> > > 
> > > So this can't be correct with for 2.6.38 with kernel consumer support.  I
> > > have another version on my machine that has:
> > > 
> > > #ifdef PPS_KC_BIND
> > 
> >   Just tried git://github.com/ago/pps-tools.git and the version is the
> > right one.
> > 
> > 	Vita
> 
> I cloned git again and it is the correct version.
> 
> So back to the more important question.  How is this going to be made 
> available to distro and users?
> 
> Hal 

  I think we should push it into glibc. Or?

	Cheers,
		Vita



More information about the LinuxPPS mailing list