title: In assembly, how do you deal with C struct?
body: <p>For example, how to prepare parameters for this <a href="http://lxr.oss.org.cn/source/kernel/exit.c#L1119" rel="nofollow noreferrer"><code>syscall sys_wait4</code></a>:</p>
  <pre><code> asmlinkage long sys_wait4(pid_t pid,unsigned int __user *stat_addr, int options, struct rusage __user *ru)
  1120 {
  </code></pre>
  <p>How to deal with <code>struct rusage</code> in assembly?</p>
  <p>A hello world example to deal with <code>struct</code> in assembly is enough for me:)</p>