Re: [PATCH] timerfd: expose uapi header

From: Gabriel Laskar
Date: Mon Oct 05 2015 - 15:21:06 EST


On Mon, 05 Oct 2015 16:57:21 +0200
Arnd Bergmann <arnd@xxxxxxxx> wrote:

> On Monday 05 October 2015 16:53:39 Gabriel Laskar wrote:
> > this patch expose the timerfd apis to the userland. It is already in
> > glibc header sys/timerfd.h but not synchronised, and missing the ioctl
> > number definition.
> >
> > Signed-off-by: Gabriel Laskar <gabriel@xxxxxxxxxxxx>
> >
>
> What happens if you include both sys/timerfd.h and linux/timerfd.h then?

It will conflict, yes, what should I do? make the kernel header in a
way that this will not conflict, or just patch the glibc headers too?

> > header-y += telephony.h
> > header-y += termios.h
> > header-y += thermal.h
> >+header-y += tiemrfd.h
> > header-y += time.h
> > header-y += times.h
> > header-y += timex.h
>
> s/tiemrfd/timerfd/

I miss that, I really need to me more careful about this. Will send a
correction for this part.


--
Gabriel Laskar
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/