Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

little output from './execsnoop' with do_execve() #9

Closed
pyKun opened this issue Sep 26, 2014 · 4 comments
Closed

little output from './execsnoop' with do_execve() #9

pyKun opened this issue Sep 26, 2014 · 4 comments

Comments

@pyKun
Copy link
Contributor

pyKun commented Sep 26, 2014

I found running execsnoop has quite different results with do_execve() and stub_execve().

There is an example in Fedora with Kernel 3.11 and stub_execve(),:
'bash -x' results: http://paste.ubuntu.com/8431228/
'cat /sys/kernel/debug/tracing/trace_pipe' http://paste.ubuntu.com/8431209/.

And Fedora with 3.16 and do_execve():
'bash -x' http://paste.ubuntu.com/8431251/
'cat /sys/kernel/debug/tracing/trace_pipe' http://paste.ubuntu.com/8431253/

We could find a process with name starts with 'neutron-openvsw...' has execsnoop_stub_execve output from 'trace_pipe' but another not. In both of tests, that process has 'sched_process_fork' output. I don't know the develop history of stub_execve and do_execve and have to guess that are there any function call format changes between those, different limitations, or something else...

@pyKun
Copy link
Contributor Author

pyKun commented Sep 28, 2014

I found sys_execve() could be used in both 3.11 and 3.16 and I'm trying to understand the relationship with those three execve()...

@g2p
Copy link
Contributor

g2p commented Dec 16, 2014

Does #14 work for you?

@pyKun
Copy link
Contributor Author

pyKun commented Dec 17, 2014

@g2p answer you at #14

@scotte
Copy link
Contributor

scotte commented Dec 19, 2017

Can be closed per #14?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants