Re: [patch] mlock-as-nonroot revisted

From: Chris Wright
Date: Tue Aug 03 2004 - 17:03:54 EST


* Andrea Arcangeli (andrea@xxxxxxx) wrote:
> On Tue, Aug 03, 2004 at 11:38:57PM +0200, Arjan van de Ven wrote:
> > not if you keep track of who locked in the first place and give the credit
> > back to *that* user (struct).
>
> I wasn't talking about chown above. I mean, where's the truncate that
> releases the user-struct-bind?

I'm not sure what you mean. Truncate should only update the accounting,
not break the binding, right?

> You just can't release the user-struct-bind from
> munlock/exit/whatever-task-opeartion-different-from-truncate-or-chown.

It's meant to be done at object destruction.

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/