From 26ff1a9ecae4224f519f8ceb67786121021f3cb1 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Fri, 21 Oct 2011 12:37:13 +0900 Subject: [PATCH] --- yaml --- r: 264569 b: refs/heads/master c: e0b057b406a33501a656dc8d67ea945d7bcdad61 h: refs/heads/master i: 264567: e7f938185b9ba00e7bfc437b80f7e49794eedaa3 v: v3 --- [refs] | 2 +- trunk/security/tomoyo/common.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 544f235c796a..094169106bec 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6afcb3b7393f5aa388a0d077c490ed411ab3cd27 +refs/heads/master: e0b057b406a33501a656dc8d67ea945d7bcdad61 diff --git a/trunk/security/tomoyo/common.c b/trunk/security/tomoyo/common.c index 96b7233a0df6..d41900de8a69 100644 --- a/trunk/security/tomoyo/common.c +++ b/trunk/security/tomoyo/common.c @@ -2591,6 +2591,7 @@ ssize_t tomoyo_write_control(struct tomoyo_io_buffer *head, return -EFAULT; if (mutex_lock_interruptible(&head->io_sem)) return -EINTR; + head->read_user_buf_avail = 0; idx = tomoyo_read_lock(); /* Read a line and dispatch it to the policy handler. */ while (avail_len > 0) {