aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linprocfs
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* linprocfs: Add net/route.John Grafton2022-10-221-1/+1
| | | | | | | PR: 266482 Reviewed by: melifaro, me Differential revision: https://reviews.freebsd.org/D36949 MFC after: 1 week
* Add warning to the Linuxulator makefiles that building it outside of aDmitry Chagin2019-05-131-0/+4
| | | | | | | | | | | kernel does not make sence. PR: 222861 MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D20179 Notes: svn path=/head/; revision=347540
* sys/modules: normalize .CURDIR-relative paths to SRCTOPEnji Cooper2017-03-041-1/+1
| | | | | | | | | | | This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314651
* Introduce a new module linux_common.ko which is intended for theDmitry Chagin2015-05-241-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | following primary purposes: 1. Remove the dependency of linsysfs and linprocfs modules from linux.ko, which will be architecture specific on amd64. 2. Incorporate into linux_common.ko general code for platforms on which we'll support two Linuxulator modules (for both instruction set - 32 & 64 bit). 3. Move malloc(9) declaration to linux_common.ko, to enable getting memory usage statistics properly. Currently linux_common.ko incorporates a code from linux_mib.c and linux_util.c and linprocfs, linsysfs and linux kernel modules depend on linux_common.ko. Temporarily remove dtrace garbage from linux_mib.c and linux_util.c Differential Revision: https://reviews.freebsd.org/D1072 In collaboration with: Vassilis Laganakos. Reviewed by: trasz Notes: svn path=/head/; revision=283421
* MFtbemd:Warner Losh2010-08-231-1/+1
| | | | | | | | | | | | 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... Notes: svn path=/head/; revision=211690
* After r193232 rt_tables in vnet.h are no longer indirectly dependent onBjoern A. Zeeb2009-06-081-2/+1
| | | | | | | | | | | | the ROUTETABLES kernel option thus there is no need to include opt_route.h anymore in all consumers of vnet.h and no longer depend on it for module builds. Remove the hidden include in flowtable.h as well and leave the two explicit #includes in ip_input.c and ip_output.c. Notes: svn path=/head/; revision=193744
* Add stuff to support upcoming BMC/IPMI flashing of newer Dell machineDoug Ambrisko2009-03-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | via the Linux tool. - Add Linux shim to ipmi(4) - Create a partitions file to linprocfs to make Linux fdisk see disks. This file is dynamic so we can see disks come and go. - Convert msdosfs to vfat in mtab since Linux uses that for msdosfs. - In the Linux mount path convert vfat passed in to msdosfs so Linux mount works on FreeBSD. Note that tasting works so that if da0 is a msdos file system /compat/linux/bin/mount /dev/da0 /mnt works. - fix a 64it bug for l_off_t. Grabing sh, mount, fdisk, df from Linux, creating a symlink of mtab to /compat/linux/etc/mtab and then some careful unpacking of the Linux bmc update tool and hacking makes it work on newer Dell boxes. Note, probably if you can't figure out how to do this, then you probably shouldn't be doing it :-) Notes: svn path=/head/; revision=190445
* Rather than using hidden includes (with cicular dependencies),Bjoern A. Zeeb2008-12-021-1/+2
| | | | | | | | | | | | | | directly include only the header files needed. This reduces the unneeded spamming of various headers into lots of files. For now, this leaves us with very few modules including vnet.h and thus needing to depend on opt_route.h. Reviewed by: brooks, gnn, des, zec, imp Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=185571
* - Add the new files to the linux module.Alexander Leidinger2006-08-151-0/+4
| | | | | | | | | | | | - Prepare the modules for build on amd64, but don't build them there as part of the kernel build yet. The code for the missing symbols on amd64 isn't committed and it may be solved differently. Sponsored by: Google SoC 2006 Submitted by: rdivacky Notes: svn path=/head/; revision=161312
* Let kmod.mk touch opt_*.h files as needed.Ruslan Ermilov2004-09-041-3/+0
| | | | | | | Inspired by: imp's email Notes: svn path=/head/; revision=134748
* Build a dummy opt_compat.h header since linprocfs.c now requires it.Tim J. Robbins2004-08-181-1/+5
| | | | Notes: svn path=/head/; revision=133954
* o Remove @- from the ln and change it to a -sf. This was bogus, andWarner Losh2003-11-191-1/+0
| | | | | | | | | | | | | | | regocnized as such at the time. Now that the other bogons in the tree have been fixed, we can remove this ugly kludge. o Remove stale/bogus opt_foo.h files. These are left over from by-gone resources. And they point to the need, yet again, to improve the build system so meta information is only in one place. Submitted by: ru Reviewed by: bde Approved by: re@ (jhb) Notes: svn path=/head/; revision=122894
* Move the pseudofs, procfs and linprocfs modules out from the fs directory.Dag-Erling Smørgrav2002-02-041-0/+10
| | | | | | | | 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. Notes: svn path=/head/; revision=90223
* Disconnect linprocfs prior to moving it.Dag-Erling Smørgrav2001-06-101-20/+0
| | | | Notes: svn path=/head/; revision=78023
* Remove some cruftPeter Wemm2001-02-271-3/+0
| | | | Notes: svn path=/head/; revision=73129
* Use a consistent style and one much closer to the rest of /usr/srcDavid E. O'Brien2001-01-061-2/+4
| | | | Notes: svn path=/head/; revision=70711
* The linprocfs sources have moved to sys/compat/linprocfs.Dag-Erling Smørgrav2000-12-121-1/+11
| | | | Notes: svn path=/head/; revision=69931
* Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead ofPeter Wemm2000-05-271-1/+1
| | | | | | | encoding the relative path. Notes: svn path=/head/; revision=60966
* Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.Peter Wemm2000-05-041-1/+1
| | | | | | | | | | 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. Notes: svn path=/head/; revision=59951
* Point to the new location of the sources under the i386 linux compatibilityMike Smith2000-04-201-1/+1
| | | | | | | code. Notes: svn path=/head/; revision=59413
* Linux /proc filesystem.Dag-Erling Smørgrav2000-03-251-0/+11
Submitted by: pb Notes: svn path=/head/; revision=58556