Merge git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86
[platform/adaptation/renesas_rcar/renesas_kernel.git] / kernel / acct.c
index cf19547..521dfa5 100644 (file)
@@ -482,7 +482,7 @@ static void do_acct_process(struct file *file)
 #endif
 #if ACCT_VERSION==3
        ac.ac_pid = current->tgid;
-       ac.ac_ppid = current->parent->tgid;
+       ac.ac_ppid = current->real_parent->tgid;
 #endif
 
        spin_lock_irq(&current->sighand->siglock);