OpenVZ Forum


Home » General » Support » Kill in HN
Re: Kill in HN [message #3210 is a reply to message #3206] Wed, 17 May 2006 10:37 Go to previous messageGo to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

You can try the following simple patch for this:

--- ./fs/proc/base.c.procstr	2006-05-11 13:05:40.000000000 +0400
+++ ./fs/proc/base.c	2006-05-17 14:33:14.000000000 +0400
@@ -1745,6 +1745,8 @@ static int get_tgid_list(int index, unsi
 		int tgid = get_task_pid_ve(p, owner);
 		if (!pid_alive(p))
 			continue;
+		if (!ve_accessible_strict(get_exec_env(), VE_TASK_INFO(p)->owner_env))
+			continue;
 		if (--index >= 0)
 			continue;
 		tgids[nr_tgids] = tgid;



http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can't mount: No such device [SOLVED]
Next Topic: How to Create different Distro VPS without Template metadata
Goto Forum:
  


Current Time: Fri Nov 15 12:20:33 GMT 2024

Total time taken to generate the page: 0.03262 seconds