From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gabriel Laskar Subject: Re: [PATCH] timerfd: expose uapi header Date: Mon, 5 Oct 2015 21:20:57 +0200 Message-ID: <20151005212057.396698cc@lse.epita.fr> References: <1444056829-9118-1-git-send-email-gabriel@lse.epita.fr> <5414742.dPp9ExW9xv@wuerfel> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5414742.dPp9ExW9xv@wuerfel> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Arnd Bergmann Cc: Thomas Gleixner , "David S. Miller" , Hans Verkuil , "Michael S. Tsirkin" , Greg Kroah-Hartman , Mauro Carvalho Chehab , stephen hemminger , Nicolas Dichtel , Masahiro Yamada , open list , "open list:ABI/API" List-Id: linux-api@vger.kernel.org On Mon, 05 Oct 2015 16:57:21 +0200 Arnd Bergmann 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 > > > > 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