KEYS: Add garbage collection for dead, revoked and expired keys. [try #6]
[deliverable/linux.git] / include / linux / key.h
index e544f466d69a421cf48f2b626b0bf90d1ec22033..33e0165de1009efd1885e6d69a1e6caaae7af408 100644 (file)
@@ -129,7 +129,10 @@ struct key {
        struct rw_semaphore     sem;            /* change vs change sem */
        struct key_user         *user;          /* owner of this key */
        void                    *security;      /* security data for this key */
-       time_t                  expiry;         /* time at which key expires (or 0) */
+       union {
+               time_t          expiry;         /* time at which key expires (or 0) */
+               time_t          revoked_at;     /* time at which key was revoked */
+       };
        uid_t                   uid;
        gid_t                   gid;
        key_perm_t              perm;           /* access permissions */
This page took 0.025359 seconds and 5 git commands to generate.