svn commit: r348423 - in stable/12/sys: kern sys
Konstantin Belousov
kib at FreeBSD.org
Thu May 30 15:10:42 UTC 2019
Author: kib
Date: Thu May 30 15:10:41 2019
New Revision: 348423
URL: https://svnweb.freebsd.org/changeset/base/348423
Log:
MFC r348156:
Make pack_kinfo() available for external callers.
Modified:
stable/12/sys/kern/kern_descrip.c
stable/12/sys/sys/user.h
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/kern/kern_descrip.c
==============================================================================
--- stable/12/sys/kern/kern_descrip.c Thu May 30 15:07:39 2019 (r348422)
+++ stable/12/sys/kern/kern_descrip.c Thu May 30 15:10:41 2019 (r348423)
@@ -3426,7 +3426,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)
{
Modified: stable/12/sys/sys/user.h
==============================================================================
--- stable/12/sys/sys/user.h Thu May 30 15:07:39 2019 (r348422)
+++ stable/12/sys/sys/user.h Thu May 30 15:10:41 2019 (r348423)
@@ -608,6 +608,7 @@ int kern_proc_vmmap_out(struct proc *p, struct sbuf *s
int flags);
int vntype_to_kinfo(int vtype);
+void pack_kinfo(struct kinfo_file *kif);
#endif /* !_KERNEL */
#endif
More information about the svn-src-all
mailing list