From: Richard Guy Briggs Subject: Re: Why there is no PATH record for change file time syscalls ?(utimensat) Date: Fri, 8 Sep 2017 04:41:47 -0400 Message-ID: <20170908084147.GJ29957@madcap2.tricolour.ca> References: <395391504692198@web21o.yandex.ru> <1628150.CVmOzTQLRi@x2> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1628150.CVmOzTQLRi@x2> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Steve Grubb Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com On 2017-09-07 18:32, Steve Grubb wrote: > On Wednesday, September 6, 2017 6:03:18 AM EDT Lev Olshvang wrote: > > I got only following SYSCALL record in audit log for 'touch -t ' command, no > > CWD, no PATH record > > Out of curiosity, what kind of rule were you using? > > > type=SYSCALL msg=audit(1503837757.149:266995): > > arch=c000003e syscall=280 success=yes exit=0 a0=0 a1=0 a2=7fffbb26bb10 a3=0 > > items=0 ppid=101 pid=102 auid=1000 uid=0 gid=31 euid=0 suid=0 fsuid=0 > > egid=0 sgid=0 fsgid=0 tty=pts4 ses=1 comm="touch" exe="/bin/touch" > > key="times" > > I think you found a problem. I also think the syscall should be added to: > > include/asm-generic/audit_change_attr.h Steve, my naive addition of utime, utimes, futimesat and utimensat to include/asm-generic/audit_change_attr.h seems to have made no difference. > I think this syscall and others have been added since the watch permissions > files were setup. > > -Steve - RGB -- Richard Guy Briggs Sr. S/W Engineer, Kernel Security, Base Operating Systems Remote, Ottawa, Red Hat Canada IRC: rgb, SunRaycer Voice: +1.647.777.2635, Internal: (81) 32635