Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 20 Feb 2003 12:30:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 20 Feb 2003 12:30:44 -0500 Received: from havoc.daloft.com ([64.213.145.173]:21142 "EHLO havoc.gtf.org") by vger.kernel.org with ESMTP id ; Thu, 20 Feb 2003 12:30:43 -0500 Date: Thu, 20 Feb 2003 12:40:43 -0500 From: Jeff Garzik To: Prasad Cc: lkml Subject: Re: Syscall from Kernel Space Message-ID: <20030220174043.GI9800@gtf.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 696 Lines: 20 On Thu, Feb 20, 2003 at 11:04:37PM +0530, Prasad wrote: > Is there a way using which i could invoke a syscall in the kernel > space? The syscall is to be run disguised as another process. The actual Call sys_. Look at the kernel code for examples. Note that typically you don't want to do this... and you _really_ don't want to do this if the syscall is not one of the common file I/O syscalls (read/write/open/close, etc.) Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/