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

Pause on syscall #3

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Pause on syscall #3

wants to merge 4 commits into from

Conversation

webhat
Copy link
Contributor

@webhat webhat commented Jul 12, 2013

I'd been reading Equivalent of “truss -T” and “truss -U” on Linux? and couldn't find a solution, so I wrote one. :)

@nelhage
Copy link
Owner

nelhage commented Jul 13, 2013

Can you be consistent about space/tabs usage in this PR? The original source uses 4-space indents consistently, and I'd like to keep it that way.


for(i = 0; i < sizeof(syscalls); i++) {
ent = &syscalls[i];
if(strncmp(syscallname, ent->name, strlen( ent->name)) == 0) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get an error if the syscall isn't found anywhere?

@webhat
Copy link
Contributor Author

webhat commented Jul 13, 2013

Added the changes.

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

Successfully merging this pull request may close these issues.

2 participants