lsm: constify the 'target' parameter in security_capget()
[linux-2.6-block.git] / security / commoncap.c
index ab5742ab4362b6a71c806ae615e929618e650160..bc05211041979c120831742d25f2e6133435166c 100644 (file)
@@ -197,7 +197,7 @@ out:
  * This function retrieves the capabilities of the nominated task and returns
  * them to the caller.
  */
-int cap_capget(struct task_struct *target, kernel_cap_t *effective,
+int cap_capget(const struct task_struct *target, kernel_cap_t *effective,
               kernel_cap_t *inheritable, kernel_cap_t *permitted)
 {
        const struct cred *cred;