Re: [PATCH] oom: create a resource limit for oom_adj

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Figo.zhang
Date: Wednesday, November 10, 2010 - 10:19 pm

>   	if (oom_adjust<  task->signal->oom_adj&&  !capable(CAP_SYS_RESOURCE)) {

=> Label "err_sighand" have do that, why are you do that on here?

+			err = -EACCES;
+			goto err_sighand;
+		}
 	}


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] oom: create a resource limit for oom_adj, Figo.zhang, (Wed Nov 10, 10:19 pm)