aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2012-03-06 11:05:50 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2012-03-06 11:05:50 +0000
commitc34bbd2ada0556d2a3ac22f75d8d5867abde4937 (patch)
tree7a64374cfdc1339c1dbffde31e6953e9da0dd06f /sys/sys
parent8b7b8e14a8698814ae2ffb678f5af4bb6236dbc7 (diff)
downloadsrc-c34bbd2ada0556d2a3ac22f75d8d5867abde4937.tar.gz
src-c34bbd2ada0556d2a3ac22f75d8d5867abde4937.zip
Make racct and rctl correctly handle jail renaming. Previously
they would continue using old name, the one jail was created with. PR: bin/165207
Notes
Notes: svn path=/head/; revision=232598
Diffstat (limited to 'sys/sys')
-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 095932c22f9a..b4aeee8d21f8 100644
--- a/sys/sys/racct.h
+++ b/sys/sys/racct.h
@@ -142,5 +142,6 @@ void racct_proc_exit(struct proc *p);
void racct_proc_ucred_changed(struct proc *p, struct ucred *oldcred,
struct ucred *newcred);
+void racct_move(struct racct *dest, struct racct *src);
#endif /* !_RACCT_H_ */