diff options
Diffstat (limited to 'kernel/audit.c')
| -rw-r--r-- | kernel/audit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/audit.c b/kernel/audit.c index d96045789b54..a300931fc45f 100644 --- a/kernel/audit.c +++ b/kernel/audit.c | |||
| @@ -506,7 +506,7 @@ int audit_send_list(void *_dest) | |||
| 506 | } | 506 | } |
| 507 | 507 | ||
| 508 | struct sk_buff *audit_make_reply(int pid, int seq, int type, int done, | 508 | struct sk_buff *audit_make_reply(int pid, int seq, int type, int done, |
| 509 | int multi, void *payload, int size) | 509 | int multi, const void *payload, int size) |
| 510 | { | 510 | { |
| 511 | struct sk_buff *skb; | 511 | struct sk_buff *skb; |
| 512 | struct nlmsghdr *nlh; | 512 | struct nlmsghdr *nlh; |
| @@ -555,8 +555,8 @@ static int audit_send_reply_thread(void *arg) | |||
| 555 | * Allocates an skb, builds the netlink message, and sends it to the pid. | 555 | * Allocates an skb, builds the netlink message, and sends it to the pid. |
| 556 | * No failure notifications. | 556 | * No failure notifications. |
| 557 | */ | 557 | */ |
| 558 | void audit_send_reply(int pid, int seq, int type, int done, int multi, | 558 | static void audit_send_reply(int pid, int seq, int type, int done, int multi, |
| 559 | void *payload, int size) | 559 | const void *payload, int size) |
| 560 | { | 560 | { |
| 561 | struct sk_buff *skb; | 561 | struct sk_buff *skb; |
| 562 | struct task_struct *tsk; | 562 | struct task_struct *tsk; |
