History log of /openbsd-src/sys/kern/exec_elf.c (Results 101 – 125 of 191)
Revision Date Author Comments
# 2f360485 28-Mar-2013 deraadt <deraadt@openbsd.org>

do not include machine/cpu.h from a .c file; it is the responsibility of
.h files to pull it in, if needed
ok tedu


# 957e8d41 15-Jan-2013 deraadt <deraadt@openbsd.org>

Slice & dice coredump write requests into MAXPHYS blocks, and
yield between operations. Re-grab the vnode every operation,
so that multiple coredumps can be saved at the same time.
ok guenther beck

Slice & dice coredump write requests into MAXPHYS blocks, and
yield between operations. Re-grab the vnode every operation,
so that multiple coredumps can be saved at the same time.
ok guenther beck etc

show more ...


# 2b84c1b3 17-Sep-2012 matthew <matthew@openbsd.org>

Recognize executables tagged with ELFOSABI_OPENBSD (such as generated
by the Go linker) as native executables even if they don't contain an
OpenBSD PT_NOTE segment.

Confirmed to fix Go by sthen
ok k

Recognize executables tagged with ELFOSABI_OPENBSD (such as generated
by the Go linker) as native executables even if they don't contain an
OpenBSD PT_NOTE segment.

Confirmed to fix Go by sthen
ok kettenis, deraadt

show more ...


# 2cf794e2 11-Sep-2012 deraadt <deraadt@openbsd.org>

Remove the 'OLF method' used for the transition from a.out to ELF and
for all the compat layers which are now gone. Linux compat still works
because it always used another method in any case, and no

Remove the 'OLF method' used for the transition from a.out to ELF and
for all the compat layers which are now gone. Linux compat still works
because it always used another method in any case, and nothing looks at
p_os anymore.
ok jsing

show more ...


# 5f706690 20-Aug-2012 matthew <matthew@openbsd.org>

Add support for .openbsd.randomdata sections and PT_OPENBSD_RANDOMIZE
segments to the kernel, ld (2.15), and ld.so. Tested on alpha, amd64,
i386, macppc, and sparc64 (thanks naddy, mpi, and okan!).

Add support for .openbsd.randomdata sections and PT_OPENBSD_RANDOMIZE
segments to the kernel, ld (2.15), and ld.so. Tested on alpha, amd64,
i386, macppc, and sparc64 (thanks naddy, mpi, and okan!).

Idea discussed for some time; committing now for further testing.
ok deraadt

show more ...


# 181c6205 09-Mar-2012 ariane <ariane@openbsd.org>

New vmmap implementation.

no oks (it is really a pain to review properly)
extensively tested, I'm confident it'll be stable
'now is the time' from several icb inhabitants

Diff provides:
- ability t

New vmmap implementation.

no oks (it is really a pain to review properly)
extensively tested, I'm confident it'll be stable
'now is the time' from several icb inhabitants

Diff provides:
- ability to specify different allocators for different regions/maps
- a simpler implementation of the current allocator
- currently in compatibility mode: it will generate similar addresses
as the old allocator

show more ...


# 2725dadd 05-Jul-2011 guenther <guenther@openbsd.org>

Recommit the reverted sigacts change now that the NFS use-after-free
problem has been tracked down. This fixes the sharing of the signal
handling state: shared bits go in sigacts, per-rthread bits g

Recommit the reverted sigacts change now that the NFS use-after-free
problem has been tracked down. This fixes the sharing of the signal
handling state: shared bits go in sigacts, per-rthread bits goes in
struct proc.

ok deraadt@

show more ...


# cc4aab98 04-Jul-2011 tedu <tedu@openbsd.org>

remove compat_svr4 support. ok deraadt


# 97581e8a 06-Jun-2011 ariane <ariane@openbsd.org>

Backout vmmap in order to repair virtual address selection algorithms
outside the tree.


# 4e3da9ea 24-May-2011 ariane <ariane@openbsd.org>

Reimplement uvm/uvm_map.

vmmap is designed to perform address space randomized allocations,
without letting fragmentation of the address space go through the roof.

Some highlights:
- kernel address

Reimplement uvm/uvm_map.

vmmap is designed to perform address space randomized allocations,
without letting fragmentation of the address space go through the roof.

Some highlights:
- kernel address space randomization
- proper implementation of guardpages
- roughly 10% system time reduction during kernel build

Tested by alot of people on tech@ and developers.
Theo's machines are still happy.

show more ...


# 80b87c50 18-Apr-2011 guenther <guenther@openbsd.org>

Revert the sigacts diff: NFS can apparently retain pointers to processes
until they're zombies and then send them signals (for intr mounts). Until
that is untangled, the sigacts change is unsafe. s

Revert the sigacts diff: NFS can apparently retain pointers to processes
until they're zombies and then send them signals (for intr mounts). Until
that is untangled, the sigacts change is unsafe. sthen@ was the victim
for this one

show more ...


# 4dec2d3c 15-Apr-2011 guenther <guenther@openbsd.org>

Correct the sharing of the signal handling state: stuff that should
be shared (p_sigignore, p_sigcatch, P_NOCLDSTOP, P_NOCLDWAIT) moves
to struct sigacts, wihle stuff that should be per rthread (ps_o

Correct the sharing of the signal handling state: stuff that should
be shared (p_sigignore, p_sigcatch, P_NOCLDSTOP, P_NOCLDWAIT) moves
to struct sigacts, wihle stuff that should be per rthread (ps_oldmask,
SAS_OLDMASK, ps_sigstk) moves to struct proc. Treat the coredumping
state bits (ps_sig, ps_code, ps_type, ps_sigval) as per-rthread
until our locking around coredumping is better.

Oh, and remove the old SunOS-compat ps_usertramp member.

"I like the sound of this" tedu@

show more ...


# f837f6ec 05-Apr-2011 guenther <guenther@openbsd.org>

Push COMPAT_FREEBSD in front of a whale. Buggy, out of date, no
one has been weeding it, and it makes life harder.

Toasts of Brennivin for its passing from many; diff ok henning@


# 44e2407a 15-Dec-2010 tedu <tedu@openbsd.org>

add a BRKSIZ define and use it for the heap gap constant, decoupling
heap gap from max data size. nothing else changes yet. ok deraadt


# dc5410f1 17-Sep-2010 mikeb <mikeb@openbsd.org>

don't forget to free program header sections when writing
core files. fixes a local DoS that can be carried out by
an unprivileged user.

ok kettenis


# 207e4b38 26-Jul-2010 guenther <guenther@openbsd.org>

Correct the links between threads, processes, pgrps, and sessions,
so that the process-level stuff is to/from struct process and not
struct proc. This fixes a bunch of problem cases in rthreads.
Bas

Correct the links between threads, processes, pgrps, and sessions,
so that the process-level stuff is to/from struct process and not
struct proc. This fixes a bunch of problem cases in rthreads.
Based on earlier work by blambert and myself, but mostly written
at c2k10.

Tested by many: deraadt, sthen, krw, ray, and in snapshots

show more ...


# 9efd8640 24-Jul-2010 guenther <guenther@openbsd.org>

struct emul's e_arglen member is expected to count in units of
sizeof(char *), not in bytes, so we've been allocating and copying around
four or eight times as many bytes as we needed to

ok kettenis

struct emul's e_arglen member is expected to count in units of
sizeof(char *), not in bytes, so we've been allocating and copying around
four or eight times as many bytes as we needed to

ok kettenis@ deraadt@

show more ...


# 351c20c5 29-Jun-2010 tedu <tedu@openbsd.org>

Eliminate RTHREADS kernel option in favor of a sysctl. The actual status
(not done) hasn't changed, but now it's less work to test things.
ok art deraadt


# 885b52e9 02-May-2010 kettenis <kettenis@openbsd.org>

Use intermediate vaddr_t cast when casting a pointer to off_t. Prevents
gcc4 from complaining about casting a pointer to an integer type of different
size.

ok guenther@, jsg@


# a3c911ba 14-Jan-2010 schwarze <schwarze@openbsd.org>

fix typos in comments, no code changes;
from Brad Tilley <brad at 16systems dot com>;
ok oga@


# f0aaac10 19-Nov-2009 guenther <guenther@openbsd.org>

Dell's SVR4 apparently mapped page zero to the executable. We don't
do that and, given the security issues it exacerbates, never will.
So document it and delete the disabled support.

ok deraadt@ te

Dell's SVR4 apparently mapped page zero to the executable. We don't
do that and, given the security issues it exacerbates, never will.
So document it and delete the disabled support.

ok deraadt@ tedu@

show more ...


# 930f9cdf 06-Jun-2009 deraadt <deraadt@openbsd.org>

We need miod's no-coredumps-on-ramdisks diff, because we have grown the
media just a wee bit too much.


# fd1f83ac 08-Mar-2009 kettenis <kettenis@openbsd.org>

If a session leader exists s_leader is set to NULL, so don't dereference it
unconditionally.

ok miod@


# 217c6e6e 05-Mar-2009 kettenis <kettenis@openbsd.org>

Make ELF platforms generate ELF core dumps. Somewhat based on code from
NetBSD.

ok kurt@, drahn@, miod@


# 310c3073 10-Nov-2008 deraadt <deraadt@openbsd.org>

vm_map_lock() around calls to uvm_map_findspace(); ok tedu


12345678