X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=security%2Fkeys%2Fcompat.c;h=e10ec995f2751101d39a7dfbd145cd8ce52cc6ee;hb=20c2df83d25c6a95affe6157a4c9cac4cf5ffaac;hp=3303673c636ef3b735ae48fdf2992d0abe24c11a;hpb=f45727d52d1581e9ff4df9d1a12a60789ad2d1eb;p=linux-2.6 diff --git a/security/keys/compat.c b/security/keys/compat.c index 3303673c63..e10ec995f2 100644 --- a/security/keys/compat.c +++ b/security/keys/compat.c @@ -9,7 +9,6 @@ * 2 of the License, or (at your option) any later version. */ -#include #include #include #include @@ -74,6 +73,12 @@ asmlinkage long compat_sys_keyctl(u32 option, case KEYCTL_SET_REQKEY_KEYRING: return keyctl_set_reqkey_keyring(arg2); + case KEYCTL_SET_TIMEOUT: + return keyctl_set_timeout(arg2, arg3); + + case KEYCTL_ASSUME_AUTHORITY: + return keyctl_assume_authority(arg2); + default: return -EOPNOTSUPP; }