|
@@ -361,7 +361,7 @@ int security_sem_semop(struct sem_array *sma, struct sembuf *sops,
|
|
unsigned nsops, int alter);
|
|
unsigned nsops, int alter);
|
|
void security_d_instantiate(struct dentry *dentry, struct inode *inode);
|
|
void security_d_instantiate(struct dentry *dentry, struct inode *inode);
|
|
int security_getprocattr(struct task_struct *p, char *name, char **value);
|
|
int security_getprocattr(struct task_struct *p, char *name, char **value);
|
|
-int security_setprocattr(struct task_struct *p, char *name, void *value, size_t size);
|
|
|
|
|
|
+int security_setprocattr(const char *name, void *value, size_t size);
|
|
int security_netlink_send(struct sock *sk, struct sk_buff *skb);
|
|
int security_netlink_send(struct sock *sk, struct sk_buff *skb);
|
|
int security_ismaclabel(const char *name);
|
|
int security_ismaclabel(const char *name);
|
|
int security_secid_to_secctx(u32 secid, char **secdata, u32 *seclen);
|
|
int security_secid_to_secctx(u32 secid, char **secdata, u32 *seclen);
|
|
@@ -1106,7 +1106,7 @@ static inline int security_getprocattr(struct task_struct *p, char *name, char *
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
}
|
|
}
|
|
|
|
|
|
-static inline int security_setprocattr(struct task_struct *p, char *name, void *value, size_t size)
|
|
|
|
|
|
+static inline int security_setprocattr(char *name, void *value, size_t size)
|
|
{
|
|
{
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
}
|
|
}
|