From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 27 Jul 2005 16:33:56 -0700 (PDT) From: Christoph Lameter Subject: Re: [PATCH] VM: add capabilites check to set_zone_reclaim In-Reply-To: <20050727221424.GW9492@localhost> Message-ID: References: <20050727221424.GW9492@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Martin Hicks Cc: Linux-MM List-ID: On Wed, 27 Jul 2005, Martin Hicks wrote: > struct zone *z; > int i; > > + if (!capable(CAP_SYS_ADMIN)) > + return -EACCES; > + > if (node >= MAX_NUMNODES || !node_online(node)) > return -EINVAL; Fix the whitespace issues. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org