Re: [chrony-dev] chrony on MacOS X 10 |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] chrony on MacOS X 10
- From: Bryan Christianson <bryan@xxxxxxxxxxxxx>
- Date: Tue, 9 Jun 2015 19:38:35 +1200
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a0-2; h=Feedback-ID:X-Smtpcorp-Track:Subject:To:Message-Id: Date:From; bh=y18cG9iNSKrObzQ0BW2Ekw8Hf1NJt7CzCROwYgrr/+I=; b=g7rmVxkTV4OC7V3 IhDNfS324NPxPvYNyfpCJ2Rm85n1b72+OuSkD2pMdD2u8WPkOB7O/aLvxiApQbUrpTEzBQfQiz+ow 5oHy/6/hHUY8g02behDWIqVz6JuqEshmi9xqKfDLc6nFtxgfQGAE00X5P4X9YMSZhoEXTj6nNSWwk 3nJ3N7m4/g/22Kao/VizCI0fZ0ruK0QRCi2gcPr628TAri7CbqZ9HpgrRQZd6VXX7nbYMAEv7bL+i uAMDnSfbyc0BPfk2WF9ox8gV+I2mqWSY8cU5OhZgFRRmNUOaZXrbkB1okuIg3Km6O8n+VGF1GT1ls 8K0yWfH1RtOhmVGPe7Q==;
- Feedback-id: 149811m:149811acx33YQ:149811sBpoxPEypq:SMTPCORP
> On 9/06/2015, at 7:08 pm, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
>
> On Tue, Jun 09, 2015 at 04:32:50AM +1200, Bryan Christianson wrote:
>>> Sending git patches that can be applied by git am is preferred here.
>>
>> OK - I've never used git. Probably time I learnt :). And then send the patch as an attachment to this list?
>
> When you have the changes ready in your local repo, you can use the
> git format-patch command and send the file(s) with git send-email or
> send it as an attachment.
>
>>> Not much has changed in git since 2.0. What files did you have to
>>> modify? Did you write a new sys_*.c driver or used an existing one?
>>
>> I made a copy of the sys_netbsd.c driver and modified it.
>
> Ok. So it will be based on the adjtime() syscall? Does the kernel have
> any syscalls which can adjust the frequency of the clock directly,
> e.g. ntp_adjtime() or adjfreq()?
Currently using adjtime(), as does ntpd on MacOS X. I am pretty sure that the Mach kernel (runs the Darwin kernel) will have the equivalent of adjfreq() but I'm still looking for it. Some of the mach() interfaces are not very well documented.
>
> --
> Miroslav Lichvar
>
> --
> To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
> For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
> Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.
>
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.