From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 9 19:06:13 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8FCC16A4CE for ; Tue, 9 Dec 2003 19:06:13 -0800 (PST) Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mx1.FreeBSD.org (Postfix) with SMTP id B710643D29 for ; Tue, 9 Dec 2003 19:06:12 -0800 (PST) (envelope-from shawnwebb@softhome.net) Received: (qmail 18118 invoked by uid 417); 10 Dec 2003 03:06:12 -0000 Received: from mambo-.softhome.net (HELO softhome.net) (172.16.2.15) by shunt-smtp-out-0 with SMTP; 10 Dec 2003 03:06:12 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 417) by softhome.net with local; Tue, 09 Dec 2003 20:06:11 -0700 From: shawnwebb@softhome.net To: freebsd-hackers@freebsd.org Date: Tue, 09 Dec 2003 20:06:11 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Sender: shawnwebb@softhome.net X-Originating-IP: [137.190.160.109] Message-ID: Subject: Intercepting syscall X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2003 03:06:13 -0000 I remember trying once on a FreeBSD 5.0-RELEASE box an LKM I wrote to intercept the open() call, yet it didn't work. The same code worked on a FreeBSD 4.7-RELEASE box. What I'm wondering is if FreeBSD 5.x has a readonly syscall table. Or maybe the ways of changing the syscall table has changed. Am I mistaken? In not too much importance, but relevant to my question, the reason why I'm asking, is I was presented to write an IPS (Intrusion Prevention System). Thanks for your help, Shawn Webb