History log of /freebsd/sys/compat/linprocfs/linprocfs.c (Results 501 – 517 of 517)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# ec447af1 23-Jan-2001 John Baldwin <jhb@FreeBSD.org>

- Proc locking.
- Use queue macros.
- Use NULL instead of 0 for pointers.

Reviewed by: des


# 549f00c7 10-Jan-2001 Jake Burkholder <jake@FreeBSD.org>

Protect proc.p_pptr with the proctree lock.


# 6e66bfac 13-Dec-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Use kinfo_proc instead of eproc (which Kirk deep-sixed earlier this week)

Generate a version string that looks just like a real Linux one - almost :)

Use sbufs everywhere instead of sprintf(). Note

Use kinfo_proc instead of eproc (which Kirk deep-sixed earlier this week)

Generate a version string that looks just like a real Linux one - almost :)

Use sbufs everywhere instead of sprintf(). Note that this is still imperfect,
as the code does not check whether the sbuf overflowed - but it'll still
work better than before, since if the sbuf overflows, the code now simply
copies out 0 bytes instead of causing a trap (or worse, corrupting kernel
structures)

show more ...


# 96e37d17 12-Dec-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Point #includes at compat/linprocfs instead of i386/linux/linprocfs.


# f786d43a 09-Dec-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

A bunch of fixes that have been rotting in my tree for a month or two
waiting for procfs to get fixed:

- Use fill_eproc() to obtain correct VM stats. Attempt to compute VmLib.

- Fill some more

A bunch of fixes that have been rotting in my tree for a month or two
waiting for procfs to get fixed:

- Use fill_eproc() to obtain correct VM stats. Attempt to compute VmLib.

- Fill some more fields in proc/<pid>/stat, and add four (unimplemented)
fields after studying a recent Linux kernel.

- Compute CPU frequency only once instead of twice.

- Fix some comments that were OBE.

- Fix indentation except where it makes the code less readable.

show more ...


# 0de7d1da 01-Dec-2000 John Baldwin <jhb@FreeBSD.org>

Protect access to p_stat with sched_lock.


# fbbd9aeb 27-Nov-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Add bogomips to cpuinfo (set it equal to the CPU frequency, which is bogus
but not more so than Linux' definition).
This should get the IBM JDK 1.3 working again.

Prompted by: sobomax


Revision tags: release/4.2.0
# fd9f3240 06-Nov-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Check that p->p_pptr is not NULL - kernel processes have no parents!


# f8c05e50 26-Oct-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Bring cpuinfo closer to what it looks like in Linux 2.2.

Submitted by: R Bradford Jones <brad@kazrak.com>


# 886a6f6f 26-Oct-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Add /proc/<pid>/status and /proc/<pid>/stat (the latter being mostly
zeroes for the time being).

Prompted by: Nathan Boeger <nathan@khmere.com>


Revision tags: release/4.1.1_cvs
# fecfecfb 09-Sep-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove unused variables.


# ddc0b992 09-Sep-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Add stat, uptime and version.
Note that version currently returns the first line of the version string
from vers.c, which is not quite what a Linux system would return.


# 81dc16f6 07-Sep-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Pierre Beyssac originally derived linprocfs from procfs, and I've made (and
will keep making) significant modifications, so I'm adding both our copyrights
to the top of these files.


# c6e4d7c5 12-Aug-2000 Bruce Evans <bde@FreeBSD.org>

Fixed null pointer panic for accessing "meminfo" when there is no swap.


Revision tags: release/4.1.0, release/3.5.0_cvs
# ce4e34c8 24-May-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Make exe a symlink.


# ce0cdebe 21-Apr-2000 Mike Smith <msmith@FreeBSD.org>

Fix include paths so that this builds correctly.

Submitted by: Mike Pritchard <mpp@mppsystems.com>


# 06ab4b95 20-Apr-2000 Mike Smith <msmith@FreeBSD.org>

Move the linprocfs bits under the rest of the i386 linux compatibility
code.


1...<<21