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:
parent
999d5a34e7
commit
bc2d137acb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348156
@ -3409,7 +3409,7 @@ xlate_fflags(int fflags)
|
||||
}
|
||||
|
||||
/* Trim unused data from kf_path by truncating the structure size. */
|
||||
static void
|
||||
void
|
||||
pack_kinfo(struct kinfo_file *kif)
|
||||
{
|
||||
|
||||
|
@ -608,6 +608,7 @@ int kern_proc_vmmap_out(struct proc *p, struct sbuf *sb, ssize_t maxlen,
|
||||
int flags);
|
||||
|
||||
int vntype_to_kinfo(int vtype);
|
||||
void pack_kinfo(struct kinfo_file *kif);
|
||||
#endif /* !_KERNEL */
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user