aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/tomoyo/common.c')
-rw-r--r--security/tomoyo/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/tomoyo/common.c b/security/tomoyo/common.c
index 96b7233a0df6..d41900de8a69 100644
--- a/security/tomoyo/common.c
+++ b/security/tomoyo/common.c
@@ -2591,6 +2591,7 @@ ssize_t tomoyo_write_control(struct tomoyo_io_buffer *head,
2591 return -EFAULT; 2591 return -EFAULT;
2592 if (mutex_lock_interruptible(&head->io_sem)) 2592 if (mutex_lock_interruptible(&head->io_sem))
2593 return -EINTR; 2593 return -EINTR;
2594 head->read_user_buf_avail = 0;
2594 idx = tomoyo_read_lock(); 2595 idx = tomoyo_read_lock();
2595 /* Read a line and dispatch it to the policy handler. */ 2596 /* Read a line and dispatch it to the policy handler. */
2596 while (avail_len > 0) { 2597 while (avail_len > 0) {