diff options
author | Robert Mustacchi <rm@joyent.com> | 2016-05-12 09:47:18 -0700 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2016-05-12 09:47:18 -0700 |
commit | 43051d2742bbe5911de73322064cb573b6aff975 (patch) | |
tree | 4e307102d09aad686068e0fcc002021ab2038004 /usr/src/lib/libproc/common/Pcontrol.c | |
parent | 4a20c933b148de8a1c1d3538391c64284e636653 (diff) | |
download | illumos-gate-43051d2742bbe5911de73322064cb573b6aff975.tar.gz |
6955 libproc should be documented and shipped
6956 libproc cannot leave free() to callers
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
Reviewed by: Cody Mello <cody.mello@joyent.com>
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/lib/libproc/common/Pcontrol.c')
-rw-r--r-- | usr/src/lib/libproc/common/Pcontrol.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr/src/lib/libproc/common/Pcontrol.c b/usr/src/lib/libproc/common/Pcontrol.c index 751c0c3f8a..3b6ef35709 100644 --- a/usr/src/lib/libproc/common/Pcontrol.c +++ b/usr/src/lib/libproc/common/Pcontrol.c @@ -26,6 +26,7 @@ * Portions Copyright 2007 Chad Mynhier * Copyright 2012 DEY Storage Systems, Inc. All rights reserved. * Copyright (c) 2013 by Delphix. All rights reserved. + * Copyright 2015, Joyent, Inc. */ #include <assert.h> @@ -1320,6 +1321,13 @@ Pldt(struct ps_prochandle *P, struct ssd *pldt, int nldt) } #endif /* __i386 */ +/* ARGSUSED */ +void +Ppriv_free(struct ps_prochandle *P, prpriv_t *prv) +{ + free(prv); +} + /* * Return a malloced process privilege structure in *pprv. */ |