From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3DD41849.20306@unix-os.sc.intel.com> Date: Thu, 14 Nov 2002 13:40:25 -0800 From: Rohit Seth MIME-Version: 1.0 Subject: Re: [patch] remove hugetlb syscalls References: <20021113184555.B10889@redhat.com> <20021114203035.GF22031@holomorphy.com> <20021114154809.D20258@redhat.com> <20021114210220.GM23425@holomorphy.com> <20021114161134.E20258@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Benjamin LaHaise Cc: William Lee Irwin III , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: Benjamin LaHaise wrote: >Oracle does not run as root, so they can't even use the syscalls >directly. At least with hugetlbfs we can chmod the filesystem to be >owned by the oracle user. > > -ben > > > Strictly speaking user don't have to be root. Currently the syscall only requires users to have root as one of the supplementary groups (and that is how Oracle is actually using these syscalls). And if CAP_IPC_LOCK (to make it coherent with fs side of the world) is what is preferdto provide access to hugepages then that change is simple also. Don't need to do any chmod. rohit -- 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/