Re: [PATCH] make selinux LSM vm_enough_memory call stackable

From: Rik van Riel
Date: Tue Oct 28 2003 - 11:46:04 EST


On Tue, 28 Oct 2003, Rik van Riel wrote:

> the following (trivial, but untested) patch

Hmmm, wait, this patch is TOO trivial and will result in
memory being accounted multiple times.

Making this piece of code stackable is a bit harder than
I thought at first. I have some ideas on how to do it,
but not yet any ideas on how to do it cleanly ...

Guess I'll be back with another patch soon ;)

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

-
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/