head	1.11;
access;
symbols
	RELENG_9_1_0_RELEASE:1.5.2.1.4.2
	RELENG_9_1:1.5.2.1.0.4
	RELENG_9_1_BP:1.5.2.1
	RELENG_9_0_0_RELEASE:1.5.2.1.2.1
	RELENG_9_0:1.5.2.1.0.2
	RELENG_9_0_BP:1.5.2.1
	RELENG_9:1.5.0.2
	RELENG_9_BP:1.5;
locks; strict;
comment	@# @;


1.11
date	2013.06.29.00.40.28;	author svnexp;	state Exp;
branches;
next	1.10;

1.10
date	2013.04.21.00.26.50;	author svnexp;	state Exp;
branches;
next	1.9;

1.9
date	2012.11.17.01.49.59;	author svnexp;	state Exp;
branches;
next	1.8;

1.8
date	2012.10.18.12.04.56;	author attilio;	state Exp;
branches;
next	1.7;

1.7
date	2012.10.17.11.30.00;	author attilio;	state Exp;
branches;
next	1.6;

1.6
date	2012.10.17.11.16.17;	author attilio;	state Exp;
branches;
next	1.5;

1.5
date	2011.07.12.13.46.13;	author pluknet;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	2011.06.25.11.21.23;	author pluknet;	state Exp;
branches;
next	1.3;

1.3
date	2011.05.14.22.15.38;	author stas;	state Exp;
branches;
next	1.2;

1.2
date	2011.05.12.22.21.39;	author stas;	state Exp;
branches;
next	1.1;

1.1
date	2011.05.12.10.11.39;	author stas;	state Exp;
branches;
next	;

1.5.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.5.2.1.2.1
	1.5.2.1.4.1;
next	1.5.2.2;

1.5.2.2
date	2012.11.17.11.36.25;	author svnexp;	state Exp;
branches;
next	1.5.2.3;

1.5.2.3
date	2013.05.21.20.01.44;	author svnexp;	state Exp;
branches;
next	;

1.5.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.5.2.1.2.2;

1.5.2.1.2.2
date	2012.11.17.08.36.26;	author svnexp;	state Exp;
branches;
next	;

1.5.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.5.2.1.4.2;

1.5.2.1.4.2
date	2012.11.17.08.47.15;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.11
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/252356
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/lib/libprocstat/Makefile 252356 2013-06-28 21:00:08Z davide $

.include <bsd.own.mk>

LIB=	procstat

SRCS=	cd9660.c	\
	common_kvm.c	\
	core.c		\
	libprocstat.c	\
        msdosfs.c	\
	smbfs.c		\
	udf.c

VERSION_DEF=	${.CURDIR}/Versions.def
SYMBOL_MAPS=	${.CURDIR}/Symbol.map

INCS=		libprocstat.h
CFLAGS+=	-I. -I${.CURDIR} -D_KVM_VNODE
SHLIB_MAJOR=	1

DPADD=		${LIBELF} ${LIBKVM} ${LIBUTIL}
LDADD=		-lelf -lkvm -lutil

MAN=		libprocstat.3

# XXX This is a hack.
.if ${MK_CDDL} != "no"
CFLAGS+=	-DLIBPROCSTAT_ZFS
OBJS+=	zfs/zfs.o
SOBJS+=	zfs/zfs.So
POBJS+=	zfs/zfs.po
SUBDIR=	zfs
zfs/zfs.o: .PHONY
	@@cd ${.CURDIR}/zfs && ${MAKE} zfs.o
zfs/zfs.So: .PHONY
	@@cd ${.CURDIR}/zfs && ${MAKE} zfs.So
zfs/zfs.po: .PHONY
	@@cd ${.CURDIR}/zfs && ${MAKE} zfs.po
.endif

.include <bsd.lib.mk>
@


1.10
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/249666
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/libprocstat/Makefile 249666 2013-04-20 07:47:26Z trociny $
d12 1
@


1.9
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/libprocstat/Makefile 241680 2012-10-18 12:04:56Z attilio $
d9 1
d21 2
a22 2
DPADD=		${LIBKVM} ${LIBUTIL}
LDADD=		-lkvm -lutil
@


1.8
log
@SVN rev 241680 on 2012-10-18 12:04:56Z by attilio

Disconnect non-MPSAFE SMBFS from the build in preparation for dropping
GIANT from VFS. In addition, disconnect also netsmb, which is a base
requirement for SMBFS.

In the while SMBFS regular users can use FUSE interface and smbnetfs
port to work with their SMBFS partitions.

Also, there are ongoing efforts by vendor to support in-kernel smbfs,
so there are good chances that it will get relinked once properly locked.

This is not targeted for MFC.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.7
log
@SVN rev 241636 on 2012-10-17 11:30:00Z by attilio

Disconnect non-MPSAFE NTFS from the build in preparation for dropping
GIANT from VFS. This code is particulary broken and fragile and other
in-kernel implementations around, found in other operating systems,
don't really seem clean and solid enough to be imported at all.
If someone wants to reconsider in-kernel NTFS implementation for
inclusion again, a fair effort for completely fixing and cleaning it
up is expected.

In the while NTFS regular users can use FUSE interface and ntfs-3g
port to work with their NTFS partitions.

This is not targeted for MFC.
@
text
@a10 1
	smbfs.c		\
@


1.6
log
@SVN rev 241629 on 2012-10-17 11:16:17Z by attilio

Disconnect non-MPSAFE NWFS from the build in preparation for dropping
GIANT from VFS. In addition, disconnect also netncp, which is a base
requirement for NWFS.

In the possibility of a future maintenance of the code and later
readd to the FreeBSD base, maybe we should think about a better location
for netncp. I'm not entirely sure the / top location is actually right,
however I will let network people to comment on that more specifically.

This is not targeted for MFC.
@
text
@a10 1
	ntfs.c		\
@


1.5
log
@SVN rev 223953 on 2011-07-12 13:46:13Z by pluknet

Provide a simple manual page for libprocstat(3).

Reviewed by:	jilles, gjb
@
text
@a26 5
.if ${MK_NCP} != "no"
CFLAGS+=	-DLIBPROCSTAT_NWFS
SRCS+=	nwfs.c
.endif

@


1.5.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.5.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/lib/libprocstat/Makefile 223953 2011-07-12 13:46:13Z pluknet $
@


1.5.2.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/250870
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/lib/libprocstat/Makefile 250870 2013-05-21 19:04:16Z trociny $
a8 1
	core.c		\
d22 2
a23 2
DPADD=		${LIBELF} ${LIBKVM} ${LIBUTIL}
LDADD=		-lelf -lkvm -lutil
@


1.5.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.5.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/lib/libprocstat/Makefile 223953 2011-07-12 13:46:13Z pluknet $
@


1.5.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.5.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/lib/libprocstat/Makefile 223953 2011-07-12 13:46:13Z pluknet $
@


1.4
log
@SVN rev 223532 on 2011-06-25 11:21:23Z by pluknet

Add missing libkvm and libutil dependencies.
Now libprocstat takes care of its own dependencies and does not
require applications to specify them.

Reviewed by:	stas, jilles
@
text
@d18 1
a18 1
INCS=	libprocstat.h
d21 1
a21 1
WITHOUT_MAN=	yes
d25 2
@


1.3
log
@SVN rev 221931 on 2011-05-14 22:15:38Z by stas

- Add symbol versioning to libprocstat.

Suggested by:	kib
@
text
@d22 2
@


1.2
log
@SVN rev 221824 on 2011-05-12 22:21:39Z by stas

- Don't try to build NWFS support module if NCP/IPX is disabled in the build.
- Rename ZFS definition to LIBPROCSTAT_ZFS to be consistent with NWFS and to
  prevent possible collisions.

Reported by:	many
@
text
@d15 3
@


1.1
log
@SVN rev 221807 on 2011-05-12 10:11:39Z by stas

- Commit work from libprocstat project.  These patches add support for runtime
  file and processes information retrieval from the running kernel via sysctl
  in the form of new library, libprocstat.  The library also supports KVM backend
  for analyzing memory crash dumps.  Both procstat(1) and fstat(1) utilities have
  been modified to take advantage of the library (as the bonus point the fstat(1)
  utility no longer need superuser privileges to operate), and the procstat(1)
  utility is now able to display information from memory dumps as well.

  The newly introduced fuser(1) utility also uses this library and able to operate
  via sysctl and kvm backends.

  The library is by no means complete (e.g. KVM backend is missing vnode name
  resolution routines, and there're no manpages for the library itself) so I
  plan to improve it further.  I'm commiting it so it will get wider exposure
  and review.

  We won't be able to MFC this work as it relies on changes in HEAD, which
  was introduced some time ago, that break kernel ABI.  OTOH we may be able
  to merge the library with KVM backend if we really need it there.

Discussed with:	rwatson
@
text
@a11 1
	nwfs.c		\
d20 5
d27 1
a27 1
CFLAGS+=	-DZFS
@

