lkml.org 
[lkml]   [1998]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: proc pid perm patch, 2.1.108?

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

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.043 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site