Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2019 15:10:41 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r348423 - in stable/12/sys: kern sys
Message-ID:  <201905301510.x4UFAfIh020390@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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