History log of /openbsd-src/sys/kern/exec_script.c (Results 26 – 48 of 48)
Revision Date Author Comments
# a14a7e58 12-Nov-2005 jsg <jsg@openbsd.org>

ansi. No binary change.


# a792ab75 01-Aug-2005 art <art@openbsd.org>

- We shouldn't allocate MAXPATHLEN from the stack.
- Don't copy the pathbuf into kernel space unless we're systracing.
deraadt@ ok


# f5194861 07-Jul-2004 marius <marius@openbsd.org>

fix an issue when scripts are exec'd under systrace where
the argv[0] would be normalized, and hence break scripts
that depend on how they were called.

this fixes an issue in the ports builds.

ok p

fix an issue when scripts are exec'd under systrace where
the argv[0] would be normalized, and hence break scripts
that depend on how they were called.

this fixes an issue in the ports builds.

ok provos@ deraadt@; lots of testing during hackathon sturm@ naddy@

show more ...


# 5c025fc6 23-Jun-2004 marius <marius@openbsd.org>

a few fixes to systrace

- add an exec message so that whenever a set-uid/gid process
exec's a new image which we may control, the exec does not
go by unnoticed.

- take special care to check for

a few fixes to systrace

- add an exec message so that whenever a set-uid/gid process
exec's a new image which we may control, the exec does not
go by unnoticed.

- take special care to check for P_SUGIDEXEC as well as
P_SUGID, corresponding to the same changes that were made in
the ptrace code a while ago

ok niels@, sturm@; thanks to naddy for testing

show more ...


# dbe27ba0 14-May-2004 tedu <tedu@openbsd.org>

use pool for namei pathbuf. testing ok millert@ tdeval@


# 9e7a7754 03-May-2003 deraadt <deraadt@openbsd.org>

string fixes; tedu ok


# 3003b530 18-Sep-2002 art <art@openbsd.org>

We can jump to the fail: label before shellargp is initialized.
Make sure that we don't free random memory when that happens.
From <j at pureftpd.org>
deraadt@ ok


# d84dbf2e 22-Aug-2002 art <art@openbsd.org>

Change the vnode locking in exec to not keep the vnode locked almost all
the time.

This could lead to problems when a process wants to do an exec on the same
vnode it's being run from and needs to c

Change the vnode locking in exec to not keep the vnode locked almost all
the time.

This could lead to problems when a process wants to do an exec on the same
vnode it's being run from and needs to copy in arguments from an uncached
page in the data segment. When that happens uvm detects a vnode deadlock
and returns an error causing execve() return EFAULT.

This fixes the regress test in regress/sys/kern/exec_self

Also, initialize scriptvp early in exec_script because it could be
used uninitialized in a failure case.

show more ...


# 489e49f9 06-Nov-2001 miod <miod@openbsd.org>

Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.
(Look ma, I might have broken the tree)


# af97e5cf 26-Oct-2001 art <art@openbsd.org>

- every new fd created by falloc() is marked as larval and should not be used
any anyone. Every caller of falloc matures the fd when it's usable.
- Since every lookup in the fd table must now che

- every new fd created by falloc() is marked as larval and should not be used
any anyone. Every caller of falloc matures the fd when it's usable.
- Since every lookup in the fd table must now check this flag and all of
them do the same thing, move all the necessary checks into a function -
fd_getfile.

show more ...


# 7ad69040 22-Jun-2001 deraadt <deraadt@openbsd.org>

KNF


# cd3c9032 14-May-2001 art <art@openbsd.org>

ifdef FOO inside an ifdef FOO feels like overkill.


# 176819c2 26-Sep-2000 art <art@openbsd.org>

Don't use MALLOC/FREE on variable sized allocations.


# 95683528 01-Feb-2000 assar <assar@openbsd.org>

remove superflous declaration of vnops, it's now in <sys/file.h>


# 006447d4 18-Oct-1999 deraadt <deraadt@openbsd.org>

force FDSCRIPTS after include files are pulled in


# 30ada397 11-Jan-1999 millert <millert@openbsd.org>

panic prints a newline for you, don't do it in the panic string


# 07feb63c 06-Nov-1997 csapuntz <csapuntz@openbsd.org>

Updates for VFS Lite 2 + soft update.


# f6d35f95 06-Oct-1997 deraadt <deraadt@openbsd.org>

back out vfs lite2 till after 2.2


# 6e175d50 06-Oct-1997 csapuntz <csapuntz@openbsd.org>

VFS Lite2 Changes


# 0c75c278 20-Oct-1996 dm <dm@openbsd.org>

Make it build with -Wparentheses.


# 610e65f8 12-Jun-1996 deraadt <deraadt@openbsd.org>

warning: variable might be used uninitialized -- sucks


# 5ac46f4a 03-Mar-1996 niklas <niklas@openbsd.org>

From NetBSD: 960217 merge


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree


12