[OpenAFS-devel] str madness

Derrick J Brashear shadow@dementia.org
Tue, 24 Jun 2003 16:36:52 -0400 (EDT)


On Mon, 23 Jun 2003, Jim Rees wrote:

> Is there any good reason for the str routines in afs_util.c to have afs_
> prepended to their names?  Wouldn't it make more sense to give them their
> real names, and conditionally compile them depending on what's available in
> the host kernel?  Maybe even with the help of autoconf?  (Yes I know
> autoconf support for kernel code is incomplete).

It's worse than that. How do you test for kernel functions without
requiring root and testing loadable modules? On Linux, we cheat very
badly.