[PATCH v3 1/7] KEYS: don't let add_key() update an uninstantiated key
David Howells
dhowells at redhat.com
Wed Oct 4 14:34:30 UTC 2017
Eric Biggers <ebiggers3 at gmail.com> wrote:
> + if ((key->flags & ((1 << KEY_FLAG_INVALIDATED) |
> + (1 << KEY_FLAG_REVOKED) |
> + (1 << KEY_FLAG_INSTANTIATED))) !=
> + (1 << KEY_FLAG_INSTANTIATED)) {
Does this need READ_ONCE(), I wonder?
David
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the Linux-security-module-archive
mailing list