Looks like the latest kernel has all this in there... http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=include/asm-generic/ioctls.h;h=199975fac395745342a6cabef1bfb612e73fc1dc;hb=HEAD
On Sun, May 13, 2012 at 6:47 PM, Ali Saidi <[email protected]> wrote: > >>> > >>> > >> However, if you go on your favorite x86 machine and take a look at > include: > >> linux/ioctl.h includes x86_64-linux-gnu/asm/ioctl.h which includes > asm-generic/ioctls.h > >> the latter of which defines all those things like TCGETS > >> > >> > >> - Ali > >> > > > > The copy of /usr/include/asm-generic/ioctl.h I have on my laptop is > > attached and doesn't seem to define any of those. It has a set of macros > > for building up IOCTL constants which could be used if those particular > > calls had numbers assigned to them, but they don't seem to as far as I > > was able to find. My digging around in the kernel strongly suggested > > that most of those constants were deprecated and left out of certain > > architectures, but I don't have much prior knowledge of IOCTLs or how > > they're supposed to be set up. > > > > Gabe > > _______________________________________________ > > gem5-dev mailing list > > [email protected] > > http://m5sim.org/mailman/listinfo/gem5-dev > > I was looking on a relatively new Ubuntu box. Maybe it's a glibc vs > eglibc thing. > > It seems like the programs using these things on sparc or arm would also > compile on x86. Seems like there is something we are missing. > > Ali > _______________________________________________ > gem5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/gem5-dev > _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
