summaryrefslogtreecommitdiffstats
path: root/ncr-int.h
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-28 01:50:08 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-07-28 01:50:08 +0200
commit3570fbc69b35d45ac8c57350be0d7f356aa9a7f2 (patch)
tree8122c004497ae5df7a766fcce1db2caf5774c414 /ncr-int.h
parentbc64c437410a2339eb1437280c9761c565032d4b (diff)
downloadcryptodev-linux-3570fbc69b35d45ac8c57350be0d7f356aa9a7f2.tar.gz
cryptodev-linux-3570fbc69b35d45ac8c57350be0d7f356aa9a7f2.tar.xz
cryptodev-linux-3570fbc69b35d45ac8c57350be0d7f356aa9a7f2.zip
Store all types of limits together.
A process/user that uses one type of crypto primitive is likely to use other types as well. This saves memory and simplifies lookup in the common case.
Diffstat (limited to 'ncr-int.h')
-rw-r--r--ncr-int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ncr-int.h b/ncr-int.h
index ba0b69b..d8c4912 100644
--- a/ncr-int.h
+++ b/ncr-int.h
@@ -137,6 +137,7 @@ void _ncr_key_item_put( struct key_item_st* item);
typedef enum {
LIMIT_TYPE_KEY,
+ NUM_LIMIT_TYPES
} limits_type_t;
void ncr_limits_remove(uid_t uid, pid_t pid, limits_type_t type);