Date: Mon, 14 May 2012 21:59:48 +0000 (UTC) From: "George V. Neville-Neil" <gnn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r235455 - head/cddl/contrib/dtracetoolkit Message-ID: <201205142159.q4ELxmEQ053112@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gnn Date: Mon May 14 21:59:47 2012 New Revision: 235455 URL: http://svn.freebsd.org/changeset/base/235455 Log: Fix execsnoop by changing exece and exec to be FreeBSD's execve. Reference sh in the correct location (/bin/sh) Modified: head/cddl/contrib/dtracetoolkit/execsnoop Modified: head/cddl/contrib/dtracetoolkit/execsnoop ============================================================================== --- head/cddl/contrib/dtracetoolkit/execsnoop Mon May 14 21:58:22 2012 (r235454) +++ head/cddl/contrib/dtracetoolkit/execsnoop Mon May 14 21:59:47 2012 (r235455) @@ -1,4 +1,4 @@ -#!/usr/bin/sh +#!/bin/sh # # execsnoop - snoop process execution as it occurs. # Written using DTrace (Solaris 10 3/05). @@ -155,7 +155,7 @@ fi /* * Print exec event */ - syscall::exec:return, syscall::exece:return + syscall::execve:return /(FILTER == 0) || (OPT_cmd == 1 && COMMAND == execname)/ { /* print optional fields */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205142159.q4ELxmEQ053112>