You're right, which is why I wouldn't offer it as a general mechanism. I
was merely offering a method to solve the current issue and fix Masud's
problem. This solution is good in many cases but dangerous in others. It
can be used as long as you inspect the original syscall to make sure its
param is just a simple string/int. True in most cases though.
Note that this method is used, often by common LSM modules, for opening
and handling files from kernel space. (think persistent labeling on a
generic filesystem).
>
> > Removing this symbol will not really get in the way for the bad guys
> > because it'll always be possible to find and intercept it anyway (see my
> > previous post in this thread), but it'll increase the learning curve for
> > kernel newbies. Do we really want that ?
>
> Hear hear.
;-)
Yoav Weiss
-
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/