summaryrefslogtreecommitdiffstats
path: root/sys/sys/ucred.h
diff options
context:
space:
mode:
authormjg <mjg@FreeBSD.org>2015-07-16 14:30:11 +0000
committermjg <mjg@FreeBSD.org>2015-07-16 14:30:11 +0000
commit2a7f187b066fc0dadb52c1b26fd1412d52cbcc4f (patch)
treea903eaf03b250ebd30b0b48c7fb144a6d35af1f9 /sys/sys/ucred.h
parent28fa5eedfe3c8c9827db6b8b82eab79e95f15bdd (diff)
downloadFreeBSD-src-2a7f187b066fc0dadb52c1b26fd1412d52cbcc4f.zip
FreeBSD-src-2a7f187b066fc0dadb52c1b26fd1412d52cbcc4f.tar.gz
Get rid of lim_update_thread and cred_update_thread.
Their primary use was in thread_cow_update to free up old resources. Freeing had to be done with proc lock held and _cow_ funcs already knew how to free old structs.
Diffstat (limited to 'sys/sys/ucred.h')
-rw-r--r--sys/sys/ucred.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/sys/ucred.h b/sys/sys/ucred.h
index 9a45308..d7e7fa5 100644
--- a/sys/sys/ucred.h
+++ b/sys/sys/ucred.h
@@ -105,7 +105,6 @@ void change_svuid(struct ucred *newcred, uid_t svuid);
void crcopy(struct ucred *dest, struct ucred *src);
struct ucred *crcopysafe(struct proc *p, struct ucred *cr);
struct ucred *crdup(struct ucred *cr);
-void cred_update_thread(struct thread *td);
void proc_set_cred_init(struct proc *p, struct ucred *cr);
struct ucred *proc_set_cred(struct proc *p, struct ucred *cr);
void crfree(struct ucred *cr);
OpenPOWER on IntegriCloud