From owner-freebsd-current Mon Nov 2 17:03:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA10280 for freebsd-current-outgoing; Mon, 2 Nov 1998 17:03:15 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from zone.syracuse.net (zone.syracuse.net [205.232.47.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA10268 for ; Mon, 2 Nov 1998 17:03:06 -0800 (PST) (envelope-from green@zone.syracuse.net) Received: from localhost (green@localhost) by zone.syracuse.net (8.8.8/8.8.7) with ESMTP id UAA19559; Mon, 2 Nov 1998 20:02:27 -0500 (EST) Date: Mon, 2 Nov 1998 20:02:27 -0500 (EST) From: Brian Feldman To: Alfred Perlstein cc: Tony Finch , current@FreeBSD.ORG Subject: Re: Linux clone() In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ktrace/kdump work inside the kernel more than outside, so they can't figure out how many arguments there are in a system call, witout special kernel handholding. Let me know what you learn in glibc, otherwise I'll try to find someone witha Linux box to give me an account, so I can try out ptrace. Brian Feldman On Mon, 2 Nov 1998, Alfred Perlstein wrote: > > afaik that's what linux-ktrace does, it sees how you call the kernel > function? maybe i'm wrong that it will trunc the arguments.... or perform > implicit convertions to "fit" them into what the kernel says the syscall > takes. meanwhile i just downloaded glibc to have a peek at it for you :) > > Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com > -- There are operating systems, and then there's FreeBSD. > -- http://www.freebsd.org/ 3.0-current > > On Mon, 2 Nov 1998, Brian Feldman wrote: > > > I don't know, but I do know I need a real Linux syscall trace, not one of > > MY syscall. > > > > Brian Feldman > > > > On Mon, 2 Nov 1998, Alfred Perlstein wrote: > > > > > > > > have you looked at linux-ktrace? it's in the ports, i don't know if it's > > > functional as of yet. > > > > > > Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com > > > -- There are operating systems, and then there's FreeBSD. > > > -- http://www.freebsd.org/ 3.0-current > > > > > > On Mon, 2 Nov 1998, Brian Feldman wrote: > > > > > > > Hmmm.. okay this would be a good test. Right now I'm going thru the > > > > various linuxthreads example programs.... The patch seems to be doing > > > > something wrong, and I'm unable to figure out what to do, due to Linux's > > > > humongously gross syscall system (so the kernel doesn't help me). It also > > > > seems now I was implementing a LIBRARY function, which is just a wrapper. > > > > If I could get my hands on what the real system calls' args are it would > > > > be great. > > > > > > > > Brian Feldman > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message