Adam Morrison wrote:
First of all, thanks, I got it working. I still don't understand why
it's working.
You are leaving out the last two arguments of ptrace() in the parent,
The man page says I'm allowed to do so in case the other arguments are
not used.
so
they take garbage values, causi
On Sat, Dec 08, 2007 at 11:50:17PM +0200, Shachar Shemesh wrote:
> In the parent I do:
>
>pid_t ret=waitpid(first_child, &status, 0);
>
>ptrace( PTRACE_DETACH, ret );
>
>ret=waitpid(first_child, &status, 0);
>
>
> Instead of DETACH I already tried PTRACE_CONT and PTRACE_SYSCALL.
>
On Sat, 2007-12-08 at 23:50 +0200, Shachar Shemesh wrote:
> Hi all,
>
>
> I need help trying to wrap my head around ptrace. I'm trying to create
> the most basic of programs:
>
>
> in the child process (right after the fork) I do:
[... snipped ...]
Shachar,
You provided us with a description
Hi all,
I need help trying to wrap my head around ptrace. I'm trying to create
the most basic of programs:
in the child process (right after the fork) I do:
ptrace(PTRACE_TRACEME);
printf("Being traced\n");
execve(argv[opt_offset], argv+opt_offset, env);
exit(1
On Sat, 2007-12-08 at 20:04 +0200, Maxim Veksler wrote:
> On Dec 8, 2007 6:59 PM, Oded Arbel <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > rpmverify glibc kernel
> > >
> > > May shed more light.
> >
> > rpmverify glibc kernel return nothing (exactly nothing, no output
> > whatsoever
>
> Yes it did
On Dec 8, 2007 6:59 PM, Oded Arbel <[EMAIL PROTECTED]> wrote:
>
> >
> > rpmverify glibc kernel
> >
> > May shed more light.
>
> rpmverify glibc kernel return nothing (exactly nothing, no output
> whatsoever
Yes it did, it returned an error code.
rpmverify glibc kernel; echo $?
>
> --
> Oded
>
On Fri, 2007-12-07 at 16:03 +0200, Oron Peled wrote:
> On Friday, 7 בDecember 2007, Oded Arbel wrote:
> > The first call that is interesting is of course the open()
> > for /etc/protocols. In the second test (after I did ls /etc/protocols)
> > it looks normal:
> > open("/etc/protocols", O_RDONLY|0
Hi,
I have some computers about 500Mhz.
Tv cards, network cards, hard modems, video cards, a lot of new cables (net,
audio, usb...).
Its a good equipment and can be used for home servers and as a donation if
someone here have the time to put linux on it.
The equipment are located at my friend hou