![]() | |||||||||||
Messages in this thread |
> First off, I think we need a system-call that will return some of > the information that now comes from headers. PAGE_SIZE comes to > mind. You need this for mmap() but there doesn't seem to be any > way to get it. getpagesize() 'C' library just returns something > it's swiped from kernel headers when the library was compiled. > There are other things like the following that sometimes need for getpagesize() I can see the point > to be known also. > > HZ HZ may not exist. At all; people are trying to remove it. And userspace has no business knowing about it either. > TASK_SIZE what for? > SMP userspace should not care! Any app that looks at this is buggy; remember the fully preemptable nature of userspace > Number of errno values why? > Highest ioctl value used uhh that;s driver dependent.. and what for ? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||
| Last update: 2005-05-19 14:31 [from the cache] ©2003-2008 | |||||||||||