From mboxrd@z Thu Jan 1 00:00:00 1970 From: Casey Schaufler Subject: Re: [PATCH] Audit: remove duplicate comments Date: Mon, 23 Sep 2013 08:16:07 -0700 Message-ID: <52405B37.1010304@schaufler-ca.com> References: <1379922944-26520-1-git-send-email-gaofeng@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (ext-mx12.extmail.prod.ext.phx2.redhat.com [10.5.110.17]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r8NFGDJ2028286 for ; Mon, 23 Sep 2013 11:16:13 -0400 Received: from smtp102.biz.mail.ne1.yahoo.com (smtp102.biz.mail.ne1.yahoo.com [98.138.207.9]) by mx1.redhat.com (8.14.4/8.14.4) with SMTP id r8NFG9PI030701 for ; Mon, 23 Sep 2013 11:16:11 -0400 In-Reply-To: <1379922944-26520-1-git-send-email-gaofeng@cn.fujitsu.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Gao feng Cc: akpm@linux-foundation.org, linux-audit@redhat.com List-Id: linux-audit@redhat.com On 9/23/2013 12:55 AM, Gao feng wrote: > Remove it. Why? Is it inaccurate? > > Signed-off-by: Gao feng > --- > kernel/audit.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/kernel/audit.c b/kernel/audit.c > index 91e53d0..f94db2a 100644 > --- a/kernel/audit.c > +++ b/kernel/audit.c > @@ -1067,13 +1067,6 @@ static void wait_for_auditd(unsigned long sleep_time) > remove_wait_queue(&audit_backlog_wait, &wait); > } > > -/* Obtain an audit buffer. This routine does locking to obtain the > - * audit buffer, but then no locking is required for calls to > - * audit_log_*format. If the tsk is a task that is currently in a > - * syscall, then the syscall is marked as auditable and an audit record > - * will be written at syscall exit. If there is no associated task, tsk > - * should be NULL. */ > - > /** > * audit_log_start - obtain an audit buffer > * @ctx: audit_context (may be NULL)