compat.c (5a84d159061d914c8dd4aa372ac6e9529c2be453) compat.c (70a5bb72b55e82fbfbf1e22cae6975fac58a1e2d)
1/* compat.c: 32-bit compatibility syscall for 64-bit systems
2 *
3 * Copyright (C) 2004-5 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 65 unchanged lines hidden (view full) ---

74 return keyctl_set_reqkey_keyring(arg2);
75
76 case KEYCTL_SET_TIMEOUT:
77 return keyctl_set_timeout(arg2, arg3);
78
79 case KEYCTL_ASSUME_AUTHORITY:
80 return keyctl_assume_authority(arg2);
81
1/* compat.c: 32-bit compatibility syscall for 64-bit systems
2 *
3 * Copyright (C) 2004-5 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 65 unchanged lines hidden (view full) ---

74 return keyctl_set_reqkey_keyring(arg2);
75
76 case KEYCTL_SET_TIMEOUT:
77 return keyctl_set_timeout(arg2, arg3);
78
79 case KEYCTL_ASSUME_AUTHORITY:
80 return keyctl_assume_authority(arg2);
81
82 case KEYCTL_GET_SECURITY:
83 return keyctl_get_security(arg2, compat_ptr(arg3), arg4);
84
82 default:
83 return -EOPNOTSUPP;
84 }
85
86} /* end compat_sys_keyctl() */
85 default:
86 return -EOPNOTSUPP;
87 }
88
89} /* end compat_sys_keyctl() */