head	1.36;
access;
symbols
	RELENG_8_4:1.36.0.2
	RELENG_9_1_0_RELEASE:1.35.2.1.4.2
	RELENG_9_1:1.35.2.1.0.4
	RELENG_9_1_BP:1.35.2.1
	RELENG_8_3_0_RELEASE:1.32.10.3.6.1
	RELENG_8_3:1.32.10.3.0.6
	RELENG_8_3_BP:1.32.10.3
	RELENG_9_0_0_RELEASE:1.35.2.1.2.1
	RELENG_9_0:1.35.2.1.0.2
	RELENG_9_0_BP:1.35.2.1
	RELENG_9:1.35.0.2
	RELENG_9_BP:1.35
	RELENG_7_4_0_RELEASE:1.32.14.1
	RELENG_8_2_0_RELEASE:1.32.10.3.4.1
	RELENG_7_4:1.32.0.14
	RELENG_7_4_BP:1.32
	RELENG_8_2:1.32.10.3.0.4
	RELENG_8_2_BP:1.32.10.3
	RELENG_8_1_0_RELEASE:1.32.10.3.2.1
	RELENG_8_1:1.32.10.3.0.2
	RELENG_8_1_BP:1.32.10.3
	RELENG_7_3_0_RELEASE:1.32.12.1
	RELENG_7_3:1.32.0.12
	RELENG_7_3_BP:1.32
	RELENG_8_0_0_RELEASE:1.32.10.1.2.1
	RELENG_8_0:1.32.10.1.0.2
	RELENG_8_0_BP:1.32.10.1
	RELENG_8:1.32.0.10
	RELENG_8_BP:1.32
	RELENG_7_2_0_RELEASE:1.32.8.1
	RELENG_7_2:1.32.0.8
	RELENG_7_2_BP:1.32
	RELENG_7_1_0_RELEASE:1.32.6.1
	RELENG_6_4_0_RELEASE:1.28.14.1.10.1
	RELENG_7_1:1.32.0.6
	RELENG_7_1_BP:1.32
	RELENG_6_4:1.28.14.1.0.10
	RELENG_6_4_BP:1.28.14.1
	RELENG_7_0_0_RELEASE:1.32
	RELENG_6_3_0_RELEASE:1.28.14.1
	RELENG_7_0:1.32.0.4
	RELENG_7_0_BP:1.32
	RELENG_6_3:1.28.14.1.0.8
	RELENG_6_3_BP:1.28.14.1
	RELENG_7:1.32.0.2
	RELENG_7_BP:1.32
	RELENG_6_2_0_RELEASE:1.28.14.1
	RELENG_6_2:1.28.14.1.0.6
	RELENG_6_2_BP:1.28.14.1
	RELENG_5_5_0_RELEASE:1.28
	RELENG_5_5:1.28.0.16
	RELENG_5_5_BP:1.28
	RELENG_6_1_0_RELEASE:1.28.14.1
	RELENG_6_1:1.28.14.1.0.4
	RELENG_6_1_BP:1.28.14.1
	RELENG_6_0_0_RELEASE:1.28.14.1
	RELENG_6_0:1.28.14.1.0.2
	RELENG_6_0_BP:1.28.14.1
	RELENG_6:1.28.0.14
	RELENG_6_BP:1.28
	RELENG_5_4_0_RELEASE:1.28
	RELENG_5_4:1.28.0.12
	RELENG_5_4_BP:1.28
	RELENG_4_11_0_RELEASE:1.18
	RELENG_4_11:1.18.0.20
	RELENG_4_11_BP:1.18
	RELENG_5_3_0_RELEASE:1.28
	RELENG_5_3:1.28.0.10
	RELENG_5_3_BP:1.28
	RELENG_5:1.28.0.8
	RELENG_5_BP:1.28
	RELENG_4_10_0_RELEASE:1.18
	RELENG_4_10:1.18.0.18
	RELENG_4_10_BP:1.18
	RELENG_5_2_1_RELEASE:1.28
	RELENG_5_2_0_RELEASE:1.28
	RELENG_5_2:1.28.0.6
	RELENG_5_2_BP:1.28
	RELENG_4_9_0_RELEASE:1.18
	RELENG_4_9:1.18.0.16
	RELENG_4_9_BP:1.18
	RELENG_5_1_0_RELEASE:1.28
	RELENG_5_1:1.28.0.4
	RELENG_5_1_BP:1.28
	RELENG_4_8_0_RELEASE:1.18
	RELENG_4_8:1.18.0.14
	RELENG_4_8_BP:1.18
	RELENG_5_0_0_RELEASE:1.28
	RELENG_5_0:1.28.0.2
	RELENG_5_0_BP:1.28
	RELENG_4_7_0_RELEASE:1.18
	RELENG_4_7:1.18.0.12
	RELENG_4_7_BP:1.18
	RELENG_4_6_2_RELEASE:1.18
	RELENG_4_6_1_RELEASE:1.18
	RELENG_4_6_0_RELEASE:1.18
	RELENG_4_6:1.18.0.10
	RELENG_4_6_BP:1.18
	RELENG_4_5_0_RELEASE:1.18
	RELENG_4_5:1.18.0.8
	RELENG_4_5_BP:1.18
	RELENG_4_4_0_RELEASE:1.18
	RELENG_4_4:1.18.0.6
	RELENG_4_4_BP:1.18
	KSE_MILESTONE_2:1.23
	KSE_PRE_MILESTONE_2:1.23
	RELENG_4_3_0_RELEASE:1.18
	RELENG_4_3:1.18.0.4
	RELENG_4_3_BP:1.18
	RELENG_4_2_0_RELEASE:1.18
	RELENG_4_1_1_RELEASE:1.18
	PRE_SMPNG:1.20
	RELENG_4_1_0_RELEASE:1.18
	RELENG_3_5_0_RELEASE:1.13.2.1
	RELENG_4_0_0_RELEASE:1.18
	RELENG_4:1.18.0.2
	RELENG_4_BP:1.18
	RELENG_3_4_0_RELEASE:1.13.2.1
	RELENG_3_3_0_RELEASE:1.13.2.1
	RELENG_3_2_PAO:1.13.0.4
	RELENG_3_2_PAO_BP:1.13
	RELENG_3_2_0_RELEASE:1.13
	POST_VFS_BIO_NFS_PATCH:1.13
	PRE_VFS_BIO_NFS_PATCH:1.13
	POST_SMP_VMSHARE:1.13
	PRE_SMP_VMSHARE:1.13
	POST_NEWBUS:1.13
	PRE_NEWBUS:1.13
	RELENG_3_1_0_RELEASE:1.13
	RELENG_3:1.13.0.2
	RELENG_3_BP:1.13
	RELENG_3_0_0_RELEASE:1.13
	old_RELENG_2_2_7_RELEASE:1.3
	old_RELENG_2_2_6_RELEASE:1.3
	old_RELENG_2_2_5_RELEASE:1.3
	old_RELENG_2_2_2_RELEASE:1.3
	old_RELENG_2_2_1_RELEASE:1.3
	old_RELENG_2_2_0_RELEASE:1.3
	old_RELENG_2_1_7_RELEASE:1.1
	old_RELENG_2_1_6_1_RELEASE:1.1
	old_RELENG_2_1_6_RELEASE:1.1
	old_RELENG_2_2:1.3.0.2
	old_RELENG_2_2_BP:1.3
	old_RELENG_2_1_5_RELEASE:1.1
	old_RELENG_2_1_0_RELEASE:1.1
	old_RELENG_2_1_0:1.1.0.6
	old_RELENG_2_1_0_BP:1.1
	old_RELENG_2_0_5_RELEASE:1.1
	old_RELENG_2_0_5:1.1.0.4
	old_RELENG_2_0_5_BP:1.1
	old_RELENG_2_0_5_ALPHA:1.1
	old_RELEASE_2_0:1.1
	old_BETA_2_0:1.1
	old_ALPHA_2_0:1.1.0.2;
locks; strict;
comment	@# @;


1.36
date	2012.11.17.01.52.59;	author svnexp;	state Exp;
branches
	1.36.2.1;
next	1.35;

1.35
date	2010.08.23.06.13.29;	author imp;	state Exp;
branches
	1.35.2.1;
next	1.34;

1.34
date	2010.03.11.14.49.06;	author nwhitehorn;	state Exp;
branches;
next	1.33;

1.33
date	2009.09.23.12.08.08;	author kib;	state Exp;
branches;
next	1.32;

1.32
date	2006.09.27.19.57.01;	author ru;	state Exp;
branches
	1.32.2.1
	1.32.6.1
	1.32.8.1
	1.32.10.1
	1.32.12.1
	1.32.14.1;
next	1.31;

1.31
date	2005.08.18.14.50.08;	author yar;	state Exp;
branches;
next	1.30;

1.30
date	2005.08.18.14.28.20;	author yar;	state Exp;
branches;
next	1.29;

1.29
date	2005.08.11.14.45.10;	author yar;	state Exp;
branches;
next	1.28;

1.28
date	2002.10.26.14.38.22;	author rwatson;	state Exp;
branches
	1.28.14.1;
next	1.27;

1.27
date	2002.08.01.02.03.20;	author rwatson;	state Exp;
branches;
next	1.26;

1.26
date	2002.02.06.10.23.02;	author des;	state Exp;
branches;
next	1.25;

1.25
date	2002.02.04.20.16.50;	author des;	state Exp;
branches;
next	1.24;

1.24
date	2001.12.04.01.34.38;	author des;	state dead;
branches;
next	1.23;

1.23
date	2001.05.23.09.42.27;	author ru;	state Exp;
branches;
next	1.22;

1.22
date	2001.01.06.14.00.11;	author obrien;	state Exp;
branches;
next	1.21;

1.21
date	2000.12.09.13.17.35;	author des;	state Exp;
branches;
next	1.20;

1.20
date	2000.05.27.01.14.09;	author peter;	state Exp;
branches;
next	1.19;

1.19
date	2000.05.04.12.08.11;	author peter;	state Exp;
branches;
next	1.18;

1.18
date	99.12.12.20.34.10;	author peter;	state Exp;
branches
	1.18.2.1;
next	1.17;

1.17
date	99.12.12.16.47.32;	author peter;	state Exp;
branches;
next	1.16;

1.16
date	99.11.28.18.53.15;	author bde;	state Exp;
branches;
next	1.15;

1.15
date	99.08.28.00.47.33;	author peter;	state Exp;
branches;
next	1.14;

1.14
date	99.05.04.21.08.58;	author billf;	state Exp;
branches;
next	1.13;

1.13
date	98.10.16.04.30.48;	author peter;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	98.07.27.01.07.00;	author alex;	state Exp;
branches;
next	1.11;

1.11
date	98.07.25.15.52.43;	author alex;	state Exp;
branches;
next	1.10;

1.10
date	98.07.01.17.02.57;	author bde;	state Exp;
branches;
next	1.9;

1.9
date	98.06.30.16.09.28;	author sos;	state Exp;
branches;
next	1.8;

1.8
date	98.06.30.11.28.06;	author jmg;	state Exp;
branches;
next	1.7;

1.7
date	98.02.06.23.54.27;	author eivind;	state Exp;
branches;
next	1.6;

1.6
date	98.02.04.21.56.39;	author eivind;	state Exp;
branches;
next	1.5;

1.5
date	97.02.22.12.48.49;	author peter;	state Exp;
branches;
next	1.4;

1.4
date	97.01.14.06.22.18;	author jkh;	state Exp;
branches;
next	1.3;

1.3
date	96.06.18.16.58.44;	author ache;	state Exp;
branches;
next	1.2;

1.2
date	96.01.24.19.34.49;	author peter;	state Exp;
branches;
next	1.1;

1.1
date	94.09.21.23.27.13;	author wollman;	state Exp;
branches;
next	;

1.36.2.1
date	2012.11.17.01.52.59;	author svnexp;	state dead;
branches;
next	1.36.2.2;

1.36.2.2
date	2013.03.28.13.05.23;	author svnexp;	state Exp;
branches;
next	;

1.35.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.35.2.1.2.1
	1.35.2.1.4.1;
next	1.35.2.2;

1.35.2.2
date	2012.11.17.11.37.18;	author svnexp;	state Exp;
branches;
next	;

1.35.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.35.2.1.2.2;

1.35.2.1.2.2
date	2012.11.17.08.37.14;	author svnexp;	state Exp;
branches;
next	;

1.35.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.35.2.1.4.2;

1.35.2.1.4.2
date	2012.11.17.08.48.05;	author svnexp;	state Exp;
branches;
next	;

1.32.2.1
date	2012.11.17.08.06.55;	author svnexp;	state Exp;
branches;
next	;

1.32.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.32.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.32.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.32.10.1.2.1;
next	1.32.10.2;

1.32.10.2
date	2009.10.29.16.19.58;	author kib;	state Exp;
branches;
next	1.32.10.3;

1.32.10.3
date	2010.04.07.02.24.41;	author nwhitehorn;	state Exp;
branches
	1.32.10.3.2.1
	1.32.10.3.4.1
	1.32.10.3.6.1;
next	1.32.10.4;

1.32.10.4
date	2012.11.17.10.36.58;	author svnexp;	state Exp;
branches;
next	;

1.32.10.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.32.10.3.2.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.32.10.3.4.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.32.10.3.6.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.32.10.3.6.2;

1.32.10.3.6.2
date	2012.11.17.08.25.33;	author svnexp;	state Exp;
branches;
next	;

1.32.12.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.32.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.32.14.2;

1.32.14.2
date	2012.11.17.08.17.27;	author svnexp;	state Exp;
branches;
next	;

1.28.14.1
date	2005.08.20.08.05.01;	author yar;	state Exp;
branches
	1.28.14.1.10.1;
next	1.28.14.2;

1.28.14.2
date	2012.11.17.07.44.24;	author svnexp;	state Exp;
branches;
next	;

1.28.14.1.10.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.18.2.1
date	2012.11.17.07.26.34;	author svnexp;	state Exp;
branches;
next	;

1.13.2.1
date	99.08.29.16.27.35;	author peter;	state Exp;
branches;
next	;


desc
@@


1.36
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/sys/modules/procfs/Makefile 211690 2010-08-23 06:13:29Z imp $

.PATH: ${.CURDIR}/../../fs/procfs

KMOD=		procfs
SRCS=
SRCS+=		opt_compat.h
SRCS+=		vnode_if.h
SRCS+=		procfs_ctl.c
SRCS+=		procfs_dbregs.c
SRCS+=		procfs_fpregs.c
SRCS+=		procfs_ioctl.c
SRCS+=		procfs_map.c
SRCS+=		procfs_mem.c
SRCS+=		procfs_note.c
SRCS+=		procfs_osrel.c
SRCS+=		procfs_regs.c
SRCS+=		procfs_rlimit.c
SRCS+=		procfs_status.c
SRCS+=		procfs_type.c
SRCS+=		procfs.c

EXPORT_SYMS=
EXPORT_SYMS+=	procfs_attr
EXPORT_SYMS+=	procfs_candebug
EXPORT_SYMS+=	procfs_docurproc
EXPORT_SYMS+=	procfs_doprocfile
EXPORT_SYMS+=	procfs_doprocmem
EXPORT_SYMS+=	procfs_notsystem

.if !defined(KERNBUILDDIR)
opt_compat.h:
	echo "#define COMPAT_43 1" > ${.TARGET}
	echo "#define COMPAT_FREEBSD4 1" >> ${.TARGET}
	echo "#define COMPAT_FREEBSD5 1" >> ${.TARGET}
	echo "#define COMPAT_FREEBSD6 1" >> ${.TARGET}
.if ${MACHINE_CPUARCH} == "amd64"
	echo "#define COMPAT_FREEBSD32 1" >> ${.TARGET}
	echo "#define COMPAT_LINUX32 1" >> ${.TARGET}
.endif
.endif

.include <bsd.kmod.mk>
@


1.36.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:05:23 +0000
@
text
@d1 43
@


1.36.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 43
# $FreeBSD: releng/8.4/sys/modules/procfs/Makefile 206336 2010-04-07 02:24:41Z nwhitehorn $

.PATH: ${.CURDIR}/../../fs/procfs

KMOD=		procfs
SRCS=
SRCS+=		opt_compat.h
SRCS+=		vnode_if.h
SRCS+=		procfs_ctl.c
SRCS+=		procfs_dbregs.c
SRCS+=		procfs_fpregs.c
SRCS+=		procfs_ioctl.c
SRCS+=		procfs_map.c
SRCS+=		procfs_mem.c
SRCS+=		procfs_note.c
SRCS+=		procfs_osrel.c
SRCS+=		procfs_regs.c
SRCS+=		procfs_rlimit.c
SRCS+=		procfs_status.c
SRCS+=		procfs_type.c
SRCS+=		procfs.c

EXPORT_SYMS=
EXPORT_SYMS+=	procfs_attr
EXPORT_SYMS+=	procfs_candebug
EXPORT_SYMS+=	procfs_docurproc
EXPORT_SYMS+=	procfs_doprocfile
EXPORT_SYMS+=	procfs_doprocmem
EXPORT_SYMS+=	procfs_notsystem

.if !defined(KERNBUILDDIR)
opt_compat.h:
	echo "#define COMPAT_43 1" > ${.TARGET}
	echo "#define COMPAT_FREEBSD4 1" >> ${.TARGET}
	echo "#define COMPAT_FREEBSD5 1" >> ${.TARGET}
	echo "#define COMPAT_FREEBSD6 1" >> ${.TARGET}
.if ${MACHINE_ARCH} == "amd64"
	echo "#define COMPAT_FREEBSD32 1" >> ${.TARGET}
	echo "#define COMPAT_LINUX32 1" >> ${.TARGET}
.endif
.endif

.include <bsd.kmod.mk>
@


1.35
log
@SVN rev 211690 on 2010-08-23 06:13:29Z by imp

MFtbemd:

Use MACHINE_CPUARCH in preference to MACHINE_ARCH.  The former is the
source code location of the machine, the latter the binary output.  In
general, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unless
we're tesitng for a specific target.  The isn't even moot for
i386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86,
although a specific cleanup for that likely would be needed...
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.35.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.35.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/sys/modules/procfs/Makefile 211690 2010-08-23 06:13:29Z imp $
@


1.35.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.35.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/sys/modules/procfs/Makefile 211690 2010-08-23 06:13:29Z imp $
@


1.35.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.35.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/sys/modules/procfs/Makefile 211690 2010-08-23 06:13:29Z imp $
@


1.34
log
@SVN rev 205014 on 2010-03-11 14:49:06Z by nwhitehorn

Provide groundwork for 32-bit binary compatibility on non-x86 platforms,
for upcoming 64-bit PowerPC and MIPS support. This renames the COMPAT_IA32
option to COMPAT_FREEBSD32, removes some IA32-specific code from MI parts
of the kernel and enhances the freebsd32 compatibility code to support
big-endian platforms.

Reviewed by:	kib, jhb
@
text
@d37 1
a37 1
.if ${MACHINE_ARCH} == "amd64"
@


1.33
log
@SVN rev 197428 on 2009-09-23 12:08:08Z by kib

Add per-process osrel node to the procfs, to allow read and set p_osrel
value for the process.

Approved by:	des (procfs maintainer)
MFC after:	3 weeks
@
text
@d38 1
a38 1
	echo "#define COMPAT_IA32 1" >> ${.TARGET}
@


1.32
log
@Fix our ioctl(2) implementation when the argument is "int".  New
ioctls passing integer arguments should use the _IOWINT() macro.
This fixes a lot of ioctl's not working on sparc64, most notable
being keyboard/syscons ioctls.

Full ABI compatibility is provided, with the bonus of fixing the
handling of old ioctls on sparc64.

Reviewed by:	bde (with contributions)
Tested by:	emax, marius
MFC after:	1 week
@
text
@d16 1
@


1.32.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sys/modules/procfs/Makefile 162711 2006-09-27 19:57:02Z ru $
@


1.32.14.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.32.14.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sys/modules/procfs/Makefile 162711 2006-09-27 19:57:02Z ru $
@


1.32.12.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.32.10.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.32.10.2
log
@SVN rev 198611 on 2009-10-29 16:19:58Z by kib

MFC r197428:
Add per-process osrel node to the procfs, to allow read and set p_osrel
value for the process.
@
text
@a15 1
SRCS+=		procfs_osrel.c
@


1.32.10.3
log
@SVN rev 206336 on 2010-04-07 02:24:41Z by nwhitehorn

MFC r205014,205015:

Provide groundwork for 32-bit binary compatibility on non-x86 platforms,
for upcoming 64-bit PowerPC and MIPS support. This renames the COMPAT_IA32
option to COMPAT_FREEBSD32, removes some IA32-specific code from MI parts
of the kernel and enhances the freebsd32 compatibility code to support
big-endian platforms.

This MFC is required for MFCs of later changes to the freebsd32
compatibility from HEAD.

Requested by:	kib
@
text
@d38 1
a38 1
	echo "#define COMPAT_FREEBSD32 1" >> ${.TARGET}
@


1.32.10.4
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/sys/modules/procfs/Makefile 206336 2010-04-07 02:24:41Z nwhitehorn $
@


1.32.10.3.6.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.32.10.3.6.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/sys/modules/procfs/Makefile 206336 2010-04-07 02:24:41Z nwhitehorn $
@


1.32.10.3.4.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.32.10.3.2.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.32.10.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.32.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.32.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.31
log
@Define the target for opt_compat.h only if KERNBUILDDIR
is not defined, so that the module will get the
compatibility options from the current kernel configuration
if built with the latter, not with the world.
[Some other modules seem in need of fixing WRT this, too.]

Add more compatibility options found in GENERIC to the default
opt_compat.h.  While not all of them are used in the procfs code,
we can't tell for sure if the system .h files don't need them either,
so let's stay on the safe side.

Submitted by:	kensmith
Reviewed by:	ru
@
text
@d35 1
@


1.30
log
@Don't break local style.
@
text
@d30 1
d33 2
d37 2
@


1.29
log
@Fix stand-alone (or MODULES_WITH_WORLD=1) build of
the procfs module by creating opt_compat.h with
appropriate compatibility options: COMPAT_43 on all
arch's and COMPAT_IA32 in addition on amd64.

Pointy hat to:	peter
MFC after:	3 days
@
text
@d6 2
a7 1
SRCS=		opt_compat.h
@


1.28
log
@Slightly change the semantics of vnode labels for MAC: rather than
"refreshing" the label on the vnode before use, just get the label
right from inception.  For single-label file systems, set the label
in the generic VFS getnewvnode() code; for multi-label file systems,
leave the labeling up to the file system.  With UFS1/2, this means
reading the extended attribute during vfs_vget() as the inode is
pulled off disk, rather than hitting the extended attributes
frequently during operations later, improving performance.  This
also corrects sematics for shared vnode locks, which were not
previously present in the system.  This chances the cache
coherrency properties WRT out-of-band access to label data, but in
an acceptable form.  With UFS1, there is a small race condition
during automatic extended attribute start -- this is not present
with UFS2, and occurs because EAs aren't available at vnode
inception.  We'll introduce a work around for this shortly.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
@
text
@d6 1
a6 1
SRCS=
d29 6
@


1.28.14.1
log
@MFC rev. 1.29-1.31:

Make the procfs module buildable again in the MODULES_WITH_WORLD case.
This means defining a target for default opt_compat.h, but only if we
are not building the modules along with the kernel.

Approved by:	re (kensmith)
@
text
@a6 1
SRCS+=		opt_compat.h
a28 11
.if !defined(KERNBUILDDIR)
opt_compat.h:
	echo "#define COMPAT_43 1" > ${.TARGET}
	echo "#define COMPAT_FREEBSD4 1" >> ${.TARGET}
	echo "#define COMPAT_FREEBSD5 1" >> ${.TARGET}
.if ${MACHINE_ARCH} == "amd64"
	echo "#define COMPAT_IA32 1" >> ${.TARGET}
	echo "#define COMPAT_LINUX32 1" >> ${.TARGET}
.endif
.endif

@


1.28.14.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/modules/procfs/Makefile 149314 2005-08-20 08:05:01Z yar $
@


1.28.14.1.10.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.27
log
@Introduce support for Mandatory Access Control and extensible
kernel access control.

Modify procfs so that (when mounted multilabel) it exports process MAC
labels as the vnode labels of procfs vnodes associated with processes.

Approved by:	des
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
@
text
@a6 1
SRCS+=		opt_mac.h
a11 1
SRCS+=		procfs_mac.c
@


1.26
log
@Forced commit.  Previous commit was in response to:

PR:		kern/33583
@
text
@d7 1
d13 1
@


1.25
log
@Move the pseudofs, procfs and linprocfs modules out from the fs directory.
Keeping them there seemed like a good idea at the time, but it annoys bde
and confuses people who do not understand how MODULES_OVERRIDE works.
@
text
@@


1.24
log
@Pseudofsize procfs(5).
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/procfs/Makefile,v 1.23 2001/05/23 09:42:27 ru Exp $
d5 23
a27 16
KMOD=	procfs
SRCS=	vnode_if.h \
	procfs_ctl.c \
	procfs_dbregs.c \
	procfs_fpregs.c \
	procfs_map.c \
	procfs_mem.c \
	procfs_note.c \
	procfs_regs.c \
	procfs_rlimit.c \
	procfs_status.c \
	procfs_subr.c \
	procfs_type.c \
	procfs_vfsops.c \
	procfs_vnops.c
NOMAN=
@


1.23
log
@- FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file
  systems were repo-copied from sys/miscfs to sys/fs.

- Renamed the following file systems and their modules:
  fdesc -> fdescfs, portal -> portalfs, union -> unionfs.

- Renamed corresponding kernel options:
  FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS.

- Install header files for the above file systems.

- Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland
  Makefiles.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/procfs/Makefile,v 1.22 2001/01/06 14:00:11 obrien Exp $
@


1.22
log
@Use a consistent style and one much closer to the rest of /usr/src
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/procfs/Makefile,v 1.21 2000/12/09 13:17:35 des Exp $
d3 1
a3 1
.PATH: ${.CURDIR}/../../miscfs/procfs
@


1.21
log
@Add four missing source files.
@
text
@d1 3
a3 1
# $FreeBSD: src/sys/modules/procfs/Makefile,v 1.20 2000/05/27 01:14:09 peter Exp $
a4 1
.PATH:	${.CURDIR}/../../miscfs/procfs
@


1.20
log
@Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead of
encoding the relative path.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/procfs/Makefile,v 1.19 2000/05/04 12:08:11 peter Exp $
d6 12
a17 2
	procfs_ctl.c procfs_map.c procfs_note.c procfs_rlimit.c \
	procfs_status.c procfs_subr.c procfs_type.c procfs_vfsops.c \
@


1.19
log
@Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.
This means that the kernel can be totally self contained now and is not
dependent on the last buildworld to update /usr/share/mk.  This might
also make it easier to build 5.x kernels on 4.0 boxes etc, assuming
gensetdefs and config(8) are updated.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/procfs/Makefile,v 1.18 1999/12/12 20:34:10 peter Exp $
d11 1
a11 1
.include "${.CURDIR}/../../conf/kmod.mk"
@


1.18
log
@Remove a whole bunch of "CFLAGS+= -DFSNAME" cruft.  It hasn't been
needed for ages, but keeps getting cut/pasted into new Makefiles.
(Once apon a time it was used to activate mount arguments in
 <sys/mount.h>, but that was killed with extreme prejudice long ago)
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/procfs/Makefile,v 1.17 1999/12/12 16:47:32 peter Exp $
d11 1
a11 1
.include <bsd.kmod.mk>
@


1.18.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sys/modules/procfs/Makefile 54508 1999-12-12 20:34:11Z peter $
@


1.17
log
@Bring these more into line with other modules that have .h files generated
on the fly.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/procfs/Makefile,v 1.16 1999/11/28 18:53:15 bde Exp $
d5 1
a5 1
SRCS=	vnode_if.h opt_vmpage.h \
a9 2
CFLAGS+= -DPROCFS
CLEANFILES+=	opt_vmpage.h
@


1.16
log
@Removed special rules for building and cleaning device interface files
and empty options files.  The rules are now generated automatically in
bsd.kmod.mk.  Cleaned up related things ($S and ${CLEANFILES}).
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/procfs/Makefile,v 1.15 1999/08/28 00:47:33 peter Exp $
d5 2
a6 1
SRCS=	opt_vmpage.h procfs_ctl.c procfs_map.c procfs_note.c procfs_rlimit.c \
a9 1
VFS_KLD=
d11 1
@


1.15
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
a10 4
CLEANFILES+= opt_vmpage.h

opt_vmpage.h:
	touch ${.TARGET}
@


1.14
log
@Add procfs_rlimit.c so the kernel actually compiles.

PR:		kern/11497
Submitted by:	Jos Backus <jos.backus@@nl.origin-it.com> (misordered patch)
Pointy Hat:	phk, adrian
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.13 1998/10/16 04:30:48 peter Exp $
@


1.13
log
@Sample initial set of kld-ified modules.  Not all have been completely
converted yet.  These are more of a starting point.  This is NOT connected
to the parent Makefile.

OK'ed by jkh (who is ever so patiently waiting)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.12 1998/07/27 01:07:00 alex Exp $
d5 3
a7 2
SRCS=	opt_vmpage.h procfs_ctl.c procfs_map.c procfs_note.c procfs_status.c \
	procfs_subr.c procfs_type.c procfs_vfsops.c procfs_vnops.c
@


1.13.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.12
log
@A better solution to the rm_at_exit problem: Register the exit function
during first mount.  Unregister the exit function at last unmount.

Concept by:	sef
Reviewed by:	sef
Implemented by:	alex
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.11 1998/07/25 15:52:43 alex Exp $
d3 2
a4 2
.PATH:	${.CURDIR}/../../sys/miscfs/procfs
KMOD=	procfs_mod
d8 1
a8 1
VFS_LKM=
@


1.11
log
@Override the default VFS LKM dispatch functions so that a module
unload function can be provided (this is necessary to unregister
the at_exit handler).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.10 1998/07/01 17:02:57 bde Exp $
d9 1
a9 1
CFLAGS+= -DPROCFS -DVFS_LKM_NO_DEFAULT_DISPATCH
@


1.10
log
@Added opt_vmpage.h to SRCS so that it actually gets created.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9 1998/06/30 16:09:28 sos Exp $
d9 1
a9 1
CFLAGS+= -DPROCFS
@


1.9
log
@Leading whitespace in Makefile are TABS not spaces....
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.8 1998/06/30 11:28:06 jmg Exp $
d5 2
a6 2
SRCS=   procfs_ctl.c procfs_map.c procfs_note.c procfs_status.c procfs_subr.c \
	procfs_type.c procfs_vfsops.c procfs_vnops.c
d10 1
a10 1
CLEANFILES+=    opt_vmpage.h
d13 1
a13 1
	touch opt_vmpage.h
@


1.8
log
@fix more of my breakage... :(

create opt_vmpage.h
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.7 1998/02/06 23:54:27 eivind Exp $
d13 1
a13 1
        touch opt_vmpage.h
@


1.7
log
@Back out opt_diagnostic.h changes.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.6 1998/02/04 21:56:39 eivind Exp $
d10 4
@


1.6
log
@Make the LKMs handle DIAGNOSTIC as a new-style option.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.5 1997/02/22 12:48:49 peter Exp $
d6 1
a6 1
	procfs_type.c procfs_vfsops.c procfs_vnops.c opt_diagnostic.h
a9 4
CLEANFILES+=opt_diagnostic.h

opt_diagnostic.h:
	touch opt_diagnostic.h
@


1.5
log
@Revert $FreeBSD$ back to $Id$
@
text
@d1 1
a1 1
#	$Id$
d6 1
a6 1
	procfs_type.c procfs_vfsops.c procfs_vnops.c
d10 4
@


1.4
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d1 1
a1 1
#	$FreeBSD$
@


1.3
log
@Add new parts, kernel not booted in other case
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.2 1996/01/24 19:34:49 peter Exp $
@


1.2
log
@Attempt to fix the procfs LKM after making some of the procfs
code shared with ptrace and "standard" in the config.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.1 1994/09/21 23:27:13 wollman Exp $
d5 2
a6 2
SRCS=	procfs_ctl.c procfs_note.c procfs_status.c procfs_subr.c \
	procfs_vfsops.c procfs_vnops.c
@


1.1
log
@Build LKMs for all ``easy'' filesystems.  (lfs can be done, but it's more
work; ditto NFS and it's even more work.)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
d3 1
a3 2
.PATH:	${.CURDIR}/../../sys/miscfs/procfs \
	${.CURDIR}/../../sys/${MACHINE}/${MACHINE}
d5 1
a5 2
SRCS=	procfs_machdep.c procfs_ctl.c procfs_fpregs.c procfs_mem.c \
	procfs_note.c procfs_regs.c procfs_status.c procfs_subr.c \
@
