History log of /netbsd-src/sys/miscfs/procfs/procfs_map.c (Results 1 – 25 of 47)
Revision Date Author Comments
# 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.


# 0726b418 17-Oct-2014 christos <christos@NetBSD.org>

Maps don't change that frequently between reads, so don't give up and
do what linux does (support reading from an offset).


# 6cb10275 18-Mar-2014 riastradh <riastradh@NetBSD.org>

Merge riastradh-drm2 to HEAD.


# b0a2ff86 18-Jul-2013 ryo <ryo@NetBSD.org>

PR/48048: Add a missing vm_map_unlock_read() and uvmspace_free() to the ENOMEM error case in procfs_domap()d


# 3a2a43f2 06-May-2012 christos <christos@NetBSD.org>

- match format with the linux map printing
- fix PK_32 map printing for linux processes
should fix 32 bit java stack guard setting.


# 96173126 16-Oct-2011 hannken <hannken@NetBSD.org>

VOP_GETATTR() needs a shared lock at least.


# cead2083 26-Jul-2011 yamt <yamt@NetBSD.org>

fix a botch in PRIxVADDR change (rev.1.38)


# b8a78853 15-Sep-2010 jym <jym@NetBSD.org>

Use PRIxVADDR to print vaddr_t elements. Wrap lines.


# 1f7c2351 14-Dec-2009 uebayasi <uebayasi@NetBSD.org>

gimpy invented PRIxVADDR format specifier.


# 461a86f9 11-Jan-2009 christos <christos@NetBSD.org>

merge christos-time_t


# b00559d0 25-Jul-2008 christos <christos@NetBSD.org>

use bufsize instead of BUFFERSIZE


# 3bccc0f7 25-Jul-2008 christos <christos@NetBSD.org>

Handle files with a large number of mappings gracefully. Reported by Nicholas
Joly.


# 177940c7 15-Dec-2007 christos <christos@NetBSD.org>

use vnode_to_path.


# 61e8303e 26-Nov-2007 pooka <pooka@NetBSD.org>

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start. In case the calling lwp is desired, curlwp shoul

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start. In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

show more ...


# a97de7b9 21-Jul-2007 pooka <pooka@NetBSD.org>

nuke homegrown getcwd_common() decl


# a7761fd2 01-Apr-2007 christos <christos@NetBSD.org>

Instead of reading and writing little by little, allocate memory and
write the whole map in one shot so that we don't have to deal with the
map changing under us. Fixes the linux emulated jdk-1.6 whe

Instead of reading and writing little by little, allocate memory and
write the whole map in one shot so that we don't have to deal with the
map changing under us. Fixes the linux emulated jdk-1.6 where it was
losing the last map entry and could not find the stack on startup.

show more ...


# 42a7dff4 18-Feb-2007 ad <ad@NetBSD.org>

procfs_map():

- Drop the target's vm_map lock before calling uiomove(). We could
deadlock if inspecting /proc/curproc/map.
- If the vm_map might have changed, restart the operation, but give
up

procfs_map():

- Drop the target's vm_map lock before calling uiomove(). We could
deadlock if inspecting /proc/curproc/map.
- If the vm_map might have changed, restart the operation, but give
up after 250 retries if the map keeps changing. XXX This is not
ideal.

show more ...


# 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.


# 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


# f474dceb 23-Jul-2006 ad <ad@NetBSD.org>

Use the LWP cached credentials where sane.


# fc9422c9 14-May-2006 elad <elad@NetBSD.org>

integrate kauth.


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

merge ktrace-lwp.


12