The original trustees code uses new syscall entry to manage itself. It leads to problems because almost every fifth kernel release introduces new syscall thus patch need to be changed for ALL platforms.

I hacked original patch to use write to /proc/trustees/syscall (which exists from trustees 2.4) instead of new syscall. Read from the file returns string 0 as indication of it.
Here is patch against 2.4.12 but should probably patch against all other 2.4.x
And here is enhanced source of settrustee utility which understands new semantics (but is backward compatible).

Have a fun. devik

my other projects