On 12 Jun 2002, Eric W. Biederman wrote:
> > Eric W. Biederman wrote:
> > > Actually by now most applications have been fixed and do not use
> > > them. The policy has been in place for several years now.
That means the possible policy of
#include <stdio.h>
#include <linux/version.h>
void exit(int code);
int main(void) {
if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)) {
fprintf(stderr, "Your kernel is too old!\n");
exit(-127);
}
printf("Kernel version OK.\n");
exit(0);
}
is impossible now after all, which is good, I think, because who said that
the headers have to come from the _real_ _configured_ kernel? (It was way
too crappy.)
Regards,
Thunder
--
German attitude becoming | Thunder from the hill at ngforever
rightaway popular: |
"Get outa my way, | free inhabitant not directly
for I got a mobile phone!" | belonging anywhere
-
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/