From mboxrd@z Thu Jan 1 00:00:00 1970 From: leam hall Subject: Is unlink the audit equivalent of rmdir? Date: Fri, 25 Oct 2013 11:53:47 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5750829432132739642==" Return-path: Received: from mx1.redhat.com (ext-mx14.extmail.prod.ext.phx2.redhat.com [10.5.110.19]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r9PFrnVo008678 for ; Fri, 25 Oct 2013 11:53:49 -0400 Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r9PFrmX2024726 for ; Fri, 25 Oct 2013 11:53:48 -0400 Received: by mail-pd0-f181.google.com with SMTP id y13so5309003pdi.12 for ; Fri, 25 Oct 2013 08:53:47 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com --===============5750829432132739642== Content-Type: multipart/alternative; boundary=047d7bf0f2208127d804e992c159 --047d7bf0f2208127d804e992c159 Content-Type: text/plain; charset=UTF-8 For audit.rules purposes, if the stig.rules from the repo audits on unlink, does that cover rmdir? Thanks! Leam -- Mind on a Mission --047d7bf0f2208127d804e992c159 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
For audit.rules purposes, if the stig.rules from the = repo audits on unlink, does that cover rmdir?

Thanks!

L= eam
--047d7bf0f2208127d804e992c159-- --===============5750829432132739642== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============5750829432132739642==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: Is unlink the audit equivalent of rmdir? Date: Fri, 25 Oct 2013 12:19:25 -0400 Message-ID: <5511031.c9dLTSJR6c@x2> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Friday, October 25, 2013 11:53:47 AM leam hall wrote: > For audit.rules purposes, if the stig.rules from the repo audits on unlink, > does that cover rmdir? No. If you strace the rmdir command you will see what syscalls are involved. The rmdir syscall is involved. -Steev