]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - security/commoncap.c
security: Introduce security_settime64()
[mirror_ubuntu-zesty-kernel.git] / security / commoncap.c
index 48071ed7c445d025fa4ae57c12f032bfa916521f..2074bf6a2fe3d98d029215e656d781b65c90f43f 100644 (file)
@@ -111,7 +111,7 @@ int cap_capable(const struct cred *cred, struct user_namespace *targ_ns,
  * Determine whether the current process may set the system clock and timezone
  * information, returning 0 if permission granted, -ve if denied.
  */
-int cap_settime(const struct timespec *ts, const struct timezone *tz)
+int cap_settime(const struct timespec64 *ts, const struct timezone *tz)
 {
        if (!capable(CAP_SYS_TIME))
                return -EPERM;