lkml.org 
[lkml]   [2005]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch][RFC] fcntl: add ability to stop monitored processes
On Fri, Jun 10, 2005 at 08:05:48PM -0400, Neil Horman wrote:
> Hey there!
> I've recently developed this patch in pursuit of an ability to trap
> proceses making modifcations to monitored directories, and I thought It would be
> a nice feature to add to the mainline kernel. It basically adds a flag to the
> F_NOTIFY fcntl which optionally sends a SIGSTOP to the process making the
> flagged modifications to the monitored directories, and passes the pid of the
> stopped process to the monitoring process. I've tested it, and it works quite
> well for me. Looking for comments/approvial/incorporation.

What stops me from setting a DN_STOPSND on /lib and preventing any new
tasks from starting up?

--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-11 20:09    [W:0.049 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site