Date: Mon, 2 Nov 1998 20:02:27 -0500 (EST) From: Brian Feldman <green@zone.syracuse.net> To: Alfred Perlstein <bright@hotjobs.com> Cc: Tony Finch <dot@dotat.at>, current@FreeBSD.ORG Subject: Re: Linux clone() Message-ID: <Pine.BSF.4.05.9811022000420.19187-100000@zone.syracuse.net> In-Reply-To: <Pine.BSF.4.05.9811021956560.14876-100000@porkfriedrice.ny.genx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9811022000420.19187-100000>