On Thu, Nov 17, 2016 at 09:46:09PM +0900, Rin Okuyama wrote: > On 2016/11/16 18:33, Michael van Elst wrote: > >So I suggest to make the compat32 code handle CLOCK_NTP_ADJTIME even > >when compiled with !NTP but just return ENOTTY. > > > >N.B. clockctlioctl returns EINVAL for unrecognized ioctl commands, > >it should also return ENOTTY. > > I wrote a patch. Besides your suggestions, I protected NTP stuff in > compat50 codes by NTP macro. Is it ok with you?
Looks fine to me. -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."