History log of /netbsd-src/sys/miscfs/procfs/procfs_cmdline.c (Results 1 – 25 of 33)
Revision Date Author Comments
# 286a7597 18-May-2024 thorpej <thorpej@NetBSD.org>

Remove unnecessary include of <sys/malloc.h>.


# 37c269d9 27-Sep-2019 christos <christos@NetBSD.org>

Instead of casting to size_t, cast to uintmax_t to prevent truncation
(pointed out by chuq). In all these cases uio_offset can't be negative.


# 41d496bc 26-Sep-2019 christos <christos@NetBSD.org>

fix sign-compare issues: uio->uio_offset (off_t) is compared with (size_t):
cast the offset to size_t.


# 262138d2 31-Dec-2017 christos <christos@NetBSD.org>

rename some "cmdline" stuff now that it is used to print environment too


# 878c60d1 31-Dec-2017 christos <christos@NetBSD.org>

Add an environ node


# 48717cfc 04-Mar-2011 joerg <joerg@NetBSD.org>

Refactor ps_strings access. Based on PK_32, write either the normal
version or the 32bit compat layout in execve1. Introduce a new function
copyin_psstrings for reading it back from userland and conv

Refactor ps_strings access. Based on PK_32, write either the normal
version or the 32bit compat layout in execve1. Introduce a new function
copyin_psstrings for reading it back from userland and converting it to
the native layout. Refactor procfs to share most of the code with the
kern.proc_args sysctl handler.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

show more ...


# ce099b40 28-Apr-2008 martin <martin@NetBSD.org>

Remove clause 3 and 4 from TNF licenses


# 934634a1 17-Feb-2007 pavel <pavel@NetBSD.org>

Change the process/lwp flags seen by userland via sysctl back to the
P_*/L_* naming convention, and rename the in-kernel flags to avoid
conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LS

Change the process/lwp flags seen by userland via sysctl back to the
P_*/L_* naming convention, and rename the in-kernel flags to avoid
conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD
constant.

Restores source compatibility with pre-newlock2 tools like ps or top.

Reviewed by Andrew Doran.

show more ...


# b07ec3fc 09-Feb-2007 ad <ad@NetBSD.org>

Merge newlock2 to head.


# 5d2c44c7 28-Dec-2006 elad <elad@NetBSD.org>

PR/32877: Geoff C. Wing: mount_procfs(8) doesn't null-terminate cmdline
output

Patch applied, thanks!


# 168cd830 16-Nov-2006 christos <christos@NetBSD.org>

__unused removal on arguments; approved by core.


# 4d595fd7 12-Oct-2006 christos <christos@NetBSD.org>

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386


# ec5a9318 01-Mar-2006 yamt <yamt@NetBSD.org>

merge yamt-uio_vmspace branch.

- use vmspace rather than proc or lwp where appropriate.
the latter is more natural to specify an address space.
(and less likely to be abused for random purposes.

merge yamt-uio_vmspace branch.

- use vmspace rather than proc or lwp where appropriate.
the latter is more natural to specify an address space.
(and less likely to be abused for random purposes.)
- fix a swdmover race.

show more ...


# 95e1ffb1 11-Dec-2005 christos <christos@NetBSD.org>

merge ktrace-lwp.


# 477853c3 26-Feb-2005 perry <perry@NetBSD.org>

nuke trailing whitespace


# 8bcb745d 22-Apr-2004 itojun <itojun@NetBSD.org>

sprintf -> snprintf


# d5aece61 29-Jun-2003 fvdl <fvdl@NetBSD.org>

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.


# 960df3c8 28-Jun-2003 darrenr <darrenr@NetBSD.org>

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various fu

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

show more ...


# b7d2ca25 07-Nov-2002 thorpej <thorpej@NetBSD.org>

Fix signed/unsigned comparison warnings.


# f1f51aa2 09-May-2002 thorpej <thorpej@NetBSD.org>

Move code shared by procfs and the kernel proper out of procfs and
into the kernel proper (renaming functions from procfs_* to process_*).


# 25656462 15-Nov-2001 lukem <lukem@NetBSD.org>

don't need <sys/types.h> when including <sys/param.h>


# e4b00f43 10-Nov-2001 lukem <lukem@NetBSD.org>

add RCSIDs


# 1ecf6779 28-Sep-2000 eeh <eeh@NetBSD.org>

Add support for variable end of user stacks needed to support COMPAT_NETBSD32:

`struct vmspace' has a new field `vm_minsaddr' which is the user TOS.

PS_STRINGS is deprecated in favor of curproc->

Add support for variable end of user stacks needed to support COMPAT_NETBSD32:

`struct vmspace' has a new field `vm_minsaddr' which is the user TOS.

PS_STRINGS is deprecated in favor of curproc->p_pstr which is derived
from `vm_minsaddr'.

Bump the kernel version number.

show more ...


# 94a08f31 26-Sep-2000 thorpej <thorpej@NetBSD.org>

PHOLD/PRELE around uvm_io() to user address space is unnecessary. There
is nothing in the U-area that we need.


# 20515f28 28-Jun-2000 mrg <mrg@NetBSD.org>

<vm/vm.h> -> <uvm/uvm_extern.h>


12