Re: proc pid perm patch, 2.1.108?

Chris Evans (chris@ferret.lmh.ox.ac.uk)
Sat, 11 Jul 1998 22:41:57 +0100 (GMT)


On Sat, 11 Jul 1998, Laszlo Vecsey wrote:

> Does anyone have a proc pid perm patch that applies cleanly to 2.1.108?
> LinuxHQ has a small patch that works for 2.0.x but no longer applies
> cleanly to the latest kernels.

Linux 2.1 has somewhat "unplanned" proc pid perm support.

Hold open a file descriptor to /proc/<pid> directory of your choice.

Now, twiddle with the permissions all you like, and they persist.

There are potential security issues here if admins, sensibly doing as
little as root as possible, check for unwanted user processes from a
normal user account.

Cheers
Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html