Subject: Re: proposed: /usr/src/usr.bin/tcfs/*, needs gdbm, some SUID programs
To: David Young <>
From: VaX#n8 <>
List: tech-userlevel
Date: 08/20/2004 18:31:41
In message <>, David Young writes:
>What do the suid programs do?  Why do they need to be suid at all?

Cursory analysis:

It appears the SUID programs need root to perform:


This appears to be how TCFS pushes keys into the kernel for
use in decrypting files.

In fact, that's virtually all the SUID programs do.
They're pretty minimal - 187 lines of code, including comments.

It would be pretty trivial to make all these programs sub-commands
of the same program, so that there's only one SUID bin to worry about.