[PATCH] keys: sort out key quota system
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / security / dummy.c
index c3c5493581e228811dd1ee92a6f5b9e7f8c04902..310fcdf7b7495ce07e50c393e5d810817a4e7817 100644 (file)
@@ -870,7 +870,8 @@ static int dummy_setprocattr(struct task_struct *p, char *name, void *value, siz
 }
 
 #ifdef CONFIG_KEYS
-static inline int dummy_key_alloc(struct key *key, struct task_struct *ctx)
+static inline int dummy_key_alloc(struct key *key, struct task_struct *ctx,
+                                 unsigned long flags)
 {
        return 0;
 }