d_path crashes on boot!

From: Søren Nøhr Christensen
Date: Mon Sep 13 2004 - 03:48:30 EST


Hi all!

I'm working on a security project, where we need to get full paths of accessed files. We are using the function d_path, and it works. Problem occurs if we call the function during a boot, this makes the kernel crash instantly.

Is there another way around the problem, or is there a way to check for some defines, so that d_path is not called until the datastructures are ready?

//snc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/