Skip to content

Instantly share code, notes, and snippets.

@gkluoe
Last active August 10, 2018 21:46
Show Gist options
  • Save gkluoe/085a3274ab83313bc83237d5dca23875 to your computer and use it in GitHub Desktop.
Save gkluoe/085a3274ab83313bc83237d5dca23875 to your computer and use it in GitHub Desktop.
dtrace -n 'pid1887::getgrouplist:entry { numgroups=(int*) copyin(arg3, sizeof(int)); printf ("Arg0: %s, Arg1: %d, Arg2: %d, ARg3: %d", copyinstr(arg0),arg1, arg2, *numgroups); ustack() }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment