Re: [PATCH 12/19] CacheFiles: Permit a process's create SID to be overridden

From: David Howells
Date: Wed Nov 15 2006 - 13:25:00 EST


Karl MacMillan <kmacmillan@xxxxxxxxxxxxxxxxx> wrote:

> > and the race in which the rules might change is still a
> > possibility I have to deal with.
>
> I don't think this is a race, it is revocation of access. If you check the
> access at every operation and correctly deal with access failures, then this
> shouldn't be a problem. Yes it is a pain, but that is how SELinux is supposed
> to work.

Yes, but what is the correct method of dealing with a failure? All I can think
of is to SIGKILL the process.

David
-
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/