Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 2019 12:25:04 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r348156 - in head/sys: kern sys
Message-ID:  <201905231225.x4NCP4vK073854@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Thu May 23 12:25:03 2019
New Revision: 348156
URL: https://svnweb.freebsd.org/changeset/base/348156

Log:
  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

Modified:
  head/sys/kern/kern_descrip.c
  head/sys/sys/user.h

Modified: head/sys/kern/kern_descrip.c
==============================================================================
--- head/sys/kern/kern_descrip.c	Thu May 23 11:35:00 2019	(r348155)
+++ head/sys/kern/kern_descrip.c	Thu May 23 12:25:03 2019	(r348156)
@@ -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)
 {
 

Modified: head/sys/sys/user.h
==============================================================================
--- head/sys/sys/user.h	Thu May 23 11:35:00 2019	(r348155)
+++ head/sys/sys/user.h	Thu May 23 12:25:03 2019	(r348156)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905231225.x4NCP4vK073854>