Re: shmget with SHM_HUGETLB flag: Operation not permitted

From: Chris Wright
Date: Thu Feb 26 2004 - 18:35:19 EST


* William Lee Irwin III (wli@xxxxxxxxxxxxxx) wrote:
> On Thu, Feb 26, 2004 at 11:36:03PM +0100, Jochen Roemling wrote:
> > How can I grant the permission to use HUGETLB to ordinary users?
>
> (a) use the fs which uses fs permissions to grant users permission to
> fiddle with hugetlb
> (b) man 2 capset

In case that part wasn't clear, it would be CAP_IPC_LOCK capability.

thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/