aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/racct.h
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2011-10-03 16:23:20 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2011-10-03 16:23:20 +0000
commit72a401d918e1711fb3d0b24484950fe0a2763ff4 (patch)
tree525c99c9f4e41ee0a50aad6f301ce45842ec7446 /sys/sys/racct.h
parentac6fafe6c23bb1b241ba58eaa225c771ae28f5fa (diff)
downloadsrc-72a401d918e1711fb3d0b24484950fe0a2763ff4.tar.gz
src-72a401d918e1711fb3d0b24484950fe0a2763ff4.zip
Fix another bug introduced in r225641, which caused rctl to access certain
fields in 'struct proc' before they got initialized in do_fork(). MFC after: 3 days
Notes
Notes: svn path=/head/; revision=225940
Diffstat (limited to 'sys/sys/racct.h')
-rw-r--r--sys/sys/racct.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/racct.h b/sys/sys/racct.h
index 119b3334c455..095932c22f9a 100644
--- a/sys/sys/racct.h
+++ b/sys/sys/racct.h
@@ -137,6 +137,7 @@ void racct_create(struct racct **racctp);
void racct_destroy(struct racct **racctp);
int racct_proc_fork(struct proc *parent, struct proc *child);
+void racct_proc_fork_done(struct proc *child);
void racct_proc_exit(struct proc *p);
void racct_proc_ucred_changed(struct proc *p, struct ucred *oldcred,