1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

Make pack_kinfo() available for external callers.

Reviewed by:	jilles, tmunro
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D20258
This commit is contained in:
Konstantin Belousov 2019-05-23 12:25:03 +00:00
parent 999d5a34e7
commit bc2d137acb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348156
2 changed files with 2 additions and 1 deletions

View File

@ -3409,7 +3409,7 @@ xlate_fflags(int fflags)
} }
/* Trim unused data from kf_path by truncating the structure size. */ /* Trim unused data from kf_path by truncating the structure size. */
static void void
pack_kinfo(struct kinfo_file *kif) pack_kinfo(struct kinfo_file *kif)
{ {

View File

@ -608,6 +608,7 @@ int kern_proc_vmmap_out(struct proc *p, struct sbuf *sb, ssize_t maxlen,
int flags); int flags);
int vntype_to_kinfo(int vtype); int vntype_to_kinfo(int vtype);
void pack_kinfo(struct kinfo_file *kif);
#endif /* !_KERNEL */ #endif /* !_KERNEL */
#endif #endif