diff options
Diffstat (limited to 'drivers/connector/cn_proc.c')
-rw-r--r-- | drivers/connector/cn_proc.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/connector/cn_proc.c b/drivers/connector/cn_proc.c index 18c5b9b16645..148d707a1d43 100644 --- a/drivers/connector/cn_proc.c +++ b/drivers/connector/cn_proc.c | |||
@@ -95,7 +95,7 @@ void proc_fork_connector(struct task_struct *task) | |||
95 | msg->len = sizeof(*ev); | 95 | msg->len = sizeof(*ev); |
96 | msg->flags = 0; /* not used */ | 96 | msg->flags = 0; /* not used */ |
97 | /* If cn_netlink_send() failed, the data is not sent */ | 97 | /* If cn_netlink_send() failed, the data is not sent */ |
98 | cn_netlink_send(msg, CN_IDX_PROC, GFP_KERNEL); | 98 | cn_netlink_send(msg, 0, CN_IDX_PROC, GFP_KERNEL); |
99 | } | 99 | } |
100 | 100 | ||
101 | void proc_exec_connector(struct task_struct *task) | 101 | void proc_exec_connector(struct task_struct *task) |
@@ -122,7 +122,7 @@ void proc_exec_connector(struct task_struct *task) | |||
122 | msg->ack = 0; /* not used */ | 122 | msg->ack = 0; /* not used */ |
123 | msg->len = sizeof(*ev); | 123 | msg->len = sizeof(*ev); |
124 | msg->flags = 0; /* not used */ | 124 | msg->flags = 0; /* not used */ |
125 | cn_netlink_send(msg, CN_IDX_PROC, GFP_KERNEL); | 125 | cn_netlink_send(msg, 0, CN_IDX_PROC, GFP_KERNEL); |
126 | } | 126 | } |
127 | 127 | ||
128 | void proc_id_connector(struct task_struct *task, int which_id) | 128 | void proc_id_connector(struct task_struct *task, int which_id) |
@@ -163,7 +163,7 @@ void proc_id_connector(struct task_struct *task, int which_id) | |||
163 | msg->ack = 0; /* not used */ | 163 | msg->ack = 0; /* not used */ |
164 | msg->len = sizeof(*ev); | 164 | msg->len = sizeof(*ev); |
165 | msg->flags = 0; /* not used */ | 165 | msg->flags = 0; /* not used */ |
166 | cn_netlink_send(msg, CN_IDX_PROC, GFP_KERNEL); | 166 | cn_netlink_send(msg, 0, CN_IDX_PROC, GFP_KERNEL); |
167 | } | 167 | } |
168 | 168 | ||
169 | void proc_sid_connector(struct task_struct *task) | 169 | void proc_sid_connector(struct task_struct *task) |
@@ -190,7 +190,7 @@ void proc_sid_connector(struct task_struct *task) | |||
190 | msg->ack = 0; /* not used */ | 190 | msg->ack = 0; /* not used */ |
191 | msg->len = sizeof(*ev); | 191 | msg->len = sizeof(*ev); |
192 | msg->flags = 0; /* not used */ | 192 | msg->flags = 0; /* not used */ |
193 | cn_netlink_send(msg, CN_IDX_PROC, GFP_KERNEL); | 193 | cn_netlink_send(msg, 0, CN_IDX_PROC, GFP_KERNEL); |
194 | } | 194 | } |
195 | 195 | ||
196 | void proc_ptrace_connector(struct task_struct *task, int ptrace_id) | 196 | void proc_ptrace_connector(struct task_struct *task, int ptrace_id) |
@@ -225,7 +225,7 @@ void proc_ptrace_connector(struct task_struct *task, int ptrace_id) | |||
225 | msg->ack = 0; /* not used */ | 225 | msg->ack = 0; /* not used */ |
226 | msg->len = sizeof(*ev); | 226 | msg->len = sizeof(*ev); |
227 | msg->flags = 0; /* not used */ | 227 | msg->flags = 0; /* not used */ |
228 | cn_netlink_send(msg, CN_IDX_PROC, GFP_KERNEL); | 228 | cn_netlink_send(msg, 0, CN_IDX_PROC, GFP_KERNEL); |
229 | } | 229 | } |
230 | 230 | ||
231 | void proc_comm_connector(struct task_struct *task) | 231 | void proc_comm_connector(struct task_struct *task) |
@@ -253,7 +253,7 @@ void proc_comm_connector(struct task_struct *task) | |||
253 | msg->ack = 0; /* not used */ | 253 | msg->ack = 0; /* not used */ |
254 | msg->len = sizeof(*ev); | 254 | msg->len = sizeof(*ev); |
255 | msg->flags = 0; /* not used */ | 255 | msg->flags = 0; /* not used */ |
256 | cn_netlink_send(msg, CN_IDX_PROC, GFP_KERNEL); | 256 | cn_netlink_send(msg, 0, CN_IDX_PROC, GFP_KERNEL); |
257 | } | 257 | } |
258 | 258 | ||
259 | void proc_coredump_connector(struct task_struct *task) | 259 | void proc_coredump_connector(struct task_struct *task) |
@@ -280,7 +280,7 @@ void proc_coredump_connector(struct task_struct *task) | |||
280 | msg->ack = 0; /* not used */ | 280 | msg->ack = 0; /* not used */ |
281 | msg->len = sizeof(*ev); | 281 | msg->len = sizeof(*ev); |
282 | msg->flags = 0; /* not used */ | 282 | msg->flags = 0; /* not used */ |
283 | cn_netlink_send(msg, CN_IDX_PROC, GFP_KERNEL); | 283 | cn_netlink_send(msg, 0, CN_IDX_PROC, GFP_KERNEL); |
284 | } | 284 | } |
285 | 285 | ||
286 | void proc_exit_connector(struct task_struct *task) | 286 | void proc_exit_connector(struct task_struct *task) |
@@ -309,7 +309,7 @@ void proc_exit_connector(struct task_struct *task) | |||
309 | msg->ack = 0; /* not used */ | 309 | msg->ack = 0; /* not used */ |
310 | msg->len = sizeof(*ev); | 310 | msg->len = sizeof(*ev); |
311 | msg->flags = 0; /* not used */ | 311 | msg->flags = 0; /* not used */ |
312 | cn_netlink_send(msg, CN_IDX_PROC, GFP_KERNEL); | 312 | cn_netlink_send(msg, 0, CN_IDX_PROC, GFP_KERNEL); |
313 | } | 313 | } |
314 | 314 | ||
315 | /* | 315 | /* |
@@ -343,7 +343,7 @@ static void cn_proc_ack(int err, int rcvd_seq, int rcvd_ack) | |||
343 | msg->ack = rcvd_ack + 1; | 343 | msg->ack = rcvd_ack + 1; |
344 | msg->len = sizeof(*ev); | 344 | msg->len = sizeof(*ev); |
345 | msg->flags = 0; /* not used */ | 345 | msg->flags = 0; /* not used */ |
346 | cn_netlink_send(msg, CN_IDX_PROC, GFP_KERNEL); | 346 | cn_netlink_send(msg, 0, CN_IDX_PROC, GFP_KERNEL); |
347 | } | 347 | } |
348 | 348 | ||
349 | /** | 349 | /** |