History log of /netbsd-src/sys/kern/kern_exec.c (Results 201 – 225 of 525)
Revision Date Author Comments
# 1501db31 26-Aug-2011 jmcneill <jmcneill@NetBSD.org>

defflag DEBUG_EXEC


# 6051688a 26-Aug-2011 jmcneill <jmcneill@NetBSD.org>

Fix a typo in r1.243: test for STACKALIGN not STACKLALIGN:

"If STACKALIGN is defined, use it instead of ALIGN. Some arches need a
stack more aligned that ALIGN will give."


# a6fda0ea 26-Aug-2011 reinoud <reinoud@NetBSD.org>

Provide a better fix for the checks


# a6debd8f 26-Aug-2011 reinoud <reinoud@NetBSD.org>

Change aprint_verbose() to a normal printf() surrounded by #ifdef DIAGNOSTIC


# e5fe2f45 26-Aug-2011 reinoud <reinoud@NetBSD.org>

Fix check for VM_MIN_ADDRESS since it doesn't need to be a constant


# 012b2b9c 26-Aug-2011 christos <christos@NetBSD.org>

fix compilation for VM_MIN_ADDRESS == 0


# 33698432 25-Aug-2011 reinoud <reinoud@NetBSD.org>

Move debug -> verbose


# f6a2add8 25-Aug-2011 reinoud <reinoud@NetBSD.org>

On a verbose kernel boot show why executables are denied due to their start
adresses. This will hardly ever occure in real-life.


# 9db30be4 08-Aug-2011 manu <manu@NetBSD.org>

First stage of support for Extended API set 2. Most of the think is
unimplemented, except enough of linkat(2) to hardlink to a symlink.

Everything new in headers is guarded #ifdef _INCOMPLETE_XOPEN_

First stage of support for Extended API set 2. Most of the think is
unimplemented, except enough of linkat(2) to hardlink to a symlink.

Everything new in headers is guarded #ifdef _INCOMPLETE_XOPEN_C063 since
some software (e.g.: xcvs in our own tree) will assume they can use openat(2)
when AT_FDCWD is defined. _INCOMPLETE_XOPEN_C063 will go away once support
will be completed.

show more ...


# f3c47d39 06-Jun-2011 matt <matt@NetBSD.org>

Add some more MI hook points for PCU. Discard the PCU state at lwp_exit and
at exec time. Before forking, save the PCU state so that cpu_lwp_fork
doesn't have. Remove MD code which did that before.


# a739efc5 01-Jun-2011 alnsn <alnsn@NetBSD.org>

kern/42030 - tracking of file descriptors by ktrace/kdump


# e9580633 26-Apr-2011 joerg <joerg@NetBSD.org>

Remove IRIX emulation


# ec9ba6e3 14-Mar-2011 jakllsch <jakllsch@NetBSD.org>

Make debugging code compile.


# 63a1920d 13-Mar-2011 christos <christos@NetBSD.org>

fix debugging printfs.


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


# 1428cd07 04-Mar-2011 christos <christos@NetBSD.org>

better debugging messages.


# 20a3edc3 01-Mar-2011 joerg <joerg@NetBSD.org>

Ensure that the LWP private area has a consistent value after exec.


# e820d9fe 21-Feb-2011 pooka <pooka@NetBSD.org>

Borrow the lwpctl data area from the parent for the vfork() child.
Otherwise the child will incorrectly see it is not running on any
CPU. Among other things, this fixes crashes from having
LD_PRELOA

Borrow the lwpctl data area from the parent for the vfork() child.
Otherwise the child will incorrectly see it is not running on any
CPU. Among other things, this fixes crashes from having
LD_PRELOAD=libpthread.so set in the env.

reviewed by tech-kern

show more ...


# ea8c5d9b 15-Feb-2011 pooka <pooka@NetBSD.org>

fix snafu


# 9b097994 15-Feb-2011 pooka <pooka@NetBSD.org>

Support FD_CLOEXEC in rump kernels.


# 748b8f0d 18-Jan-2011 matt <matt@NetBSD.org>

Add more detailed debug printfs (one for each error case).


# 11a35aed 18-Dec-2010 rmind <rmind@NetBSD.org>

- Fix a few possible locking issues in execve1() and exit1(). Add a note
that scheduler locks are special in this regard - adaptive locks cannot
be in the path due to turnstiles. Randomly spott

- Fix a few possible locking issues in execve1() and exit1(). Add a note
that scheduler locks are special in this regard - adaptive locks cannot
be in the path due to turnstiles. Randomly spotted/reported by uebayasi@.
- Remove unused lwp_relock() and replace lwp_lock_retry() by simplifying
lwp_lock() and sleepq_enter() a little.
- Give alllwp its own cache-line and mark lwp_cache pointer as read-mostly.

OK ad@

show more ...


# 14402d0f 30-Nov-2010 dholland <dholland@NetBSD.org>

Abolish the SAVENAME and HASBUF flags. There is now always a buffer,
so the path in a struct componentname is now always valid during VOP
calls.


# d4eb0539 30-Nov-2010 dholland <dholland@NetBSD.org>

Abolish struct componentname's cn_pnbuf. Use the path buffer in the
pathbuf object passed to namei as work space instead. (For now a pnbuf
pointer appears in struct nameidata, to support certain uncl

Abolish struct componentname's cn_pnbuf. Use the path buffer in the
pathbuf object passed to namei as work space instead. (For now a pnbuf
pointer appears in struct nameidata, to support certain unclean things
that haven't been fixed yet, but it will be going away in the future.)

This removes the need for the SAVENAME and HASBUF namei flags.

show more ...


# 8f6ed30d 19-Nov-2010 dholland <dholland@NetBSD.org>

Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string an

Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is
complete.

Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).

The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.

show more ...


12345678910>>...21