OpenBSD CVS

CVS log for src/sys/kern/Attic/exec_elf64.c


[BACK] Up to [local] / src / sys / kern

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.22, Wed Feb 8 05:09:25 2017 UTC (7 years, 4 months ago) by guenther
Branch: MAIN
CVS Tags: HEAD
Changes since 1.21: +1 -1 lines
FILE REMOVED

In exec_elf.c: expand ELFNAME(), ELFNAME2(), and ELFNAMEEND() except
leaving out the size, so that
	ELFNAME2(exec,makecmds)
becomes
	exec_elf_makecmds
instead of
	exec_elf{32,64}_makecmds
and then delete the ELFNAME2() and ELFNAMEEND() macros.

Move the prototypes for functions local to exec_elf.c to there from
exec_elf.h.

Simplify the SMALL_KERNEL conditionals around the ELF coredump code.

Change exec_conf.c to use the size-generic names and macros

Remove exec_elf{32,64}.c and just build exec_elf.c; delete the
_KERN_DO_ELF and _KERN_DO_ELF64 #defines.

ok jca@, encouragement from deraadt@ and tom@

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jan 20 04:41:01 2015 UTC (9 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.20: +1 -0 lines
Diff to previous 1.20 (colored)

Missing $OpenBSD$'s.

ok deraadt@

Revision 1.8.2.4 / (download) - annotate - [select for diffs], Tue Nov 13 23:04:23 2001 UTC (22 years, 7 months ago) by niklas
Branch: SMP
Changes since 1.8.2.3: +3 -0 lines
Diff to previous 1.8.2.3 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

merge in -current

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Wed Oct 31 03:26:28 2001 UTC (22 years, 7 months ago) by nate
Branch: SMP
Changes since 1.8.2.2: +3 -843 lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored)

Sync the SMP branch to something just after 3.0

Revision 1.20 / (download) - annotate - [select for diffs], Sat Oct 27 18:40:57 2001 UTC (22 years, 7 months ago) by art
Branch: MAIN
CVS Tags: UBC_SYNC_B, UBC_SYNC_A, UBC_BASE, UBC, SMP_SYNC_B, SMP_SYNC_A, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.19: +3 -0 lines
Diff to previous 1.19 (colored)

Every file must have a license blob, even if the blob is larger than the file.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Sep 19 13:28:43 2001 UTC (22 years, 8 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.18: +3 -839 lines
Diff to previous 1.18 (colored)

Unify elf32 and elf64 code with macros. This forced a renaming
of a few functions from elf32.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Aug 11 23:14:22 2001 UTC (22 years, 10 months ago) by art
Branch: MAIN
Changes since 1.17: +1 -3 lines
Diff to previous 1.17 (colored)

Why is it so popular to include <vm/*.h> everywhere?

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jul 30 11:56:39 2001 UTC (22 years, 10 months ago) by art
Branch: MAIN
Changes since 1.16: +8 -10 lines
Diff to previous 1.16 (colored)

Make the e_phnum check slightly cleaner.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jul 9 18:55:21 2001 UTC (22 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.15: +6 -6 lines
Diff to previous 1.15 (colored)

Make quad types on alpha be "long long" not "long".  This means that
printf's "%lld" can be used with a quad_t or int64_t without a bogus cast.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Wed Jul 4 10:48:12 2001 UTC (22 years, 11 months ago) by niklas
Branch: SMP
Changes since 1.8.2.1: +30 -32 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored)

Merge in -current from two days ago in the SMP branch.
As usual with merges, they do not indicate progress, so do not hold
your breath for working SMP, and do not mail me and ask about the
state of it.  It has not changed.  There is work ongoing, but very, very
slowly.  The commit is done in parts as to not lock up the tree in too
big chunks at a time.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 22 14:14:07 2001 UTC (22 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +30 -32 lines
Diff to previous 1.14 (colored)

KNF

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon May 14 22:32:38 2001 UTC (23 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.8: +26 -7 lines
Diff to previous 1.8 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 29 13:25:34 2001 UTC (23 years, 2 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.13: +10 -1 lines
Diff to previous 1.13 (colored)

Kludge around a problem where incorrect elf headers can cause
us to allocate too much memory in kmem_map and barf.
This solution is completly bogus but it is the best I can do right now.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Mar 7 00:56:30 2001 UTC (23 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

2nd bug on the road to shlibs on alpha:
Off by one page when loading.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Feb 3 23:32:13 2001 UTC (23 years, 4 months ago) by art
Branch: MAIN
Changes since 1.11: +9 -3 lines
Diff to previous 1.11 (colored)

Do a check for the OpenBSD note before doing any emulation probes.
This way OpenBSD will be explicitly treated first and not handled as a
fallback.
This should speed archs with many emulations.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jan 22 14:25:03 2001 UTC (23 years, 4 months ago) by art
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

NATIVE_ELF -> NATIVE_EXEC_ELF (just some leftovers)

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 16 15:46:20 2001 UTC (23 years, 4 months ago) by art
Branch: MAIN
Changes since 1.9: +5 -1 lines
Diff to previous 1.9 (colored)

Add a check for MNT_NOEXEC that was in exec_elf.c but not here.
I am not sure if it is necessary, but it will not hurt either.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 14 16:54:41 2000 UTC (23 years, 6 months ago) by art
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

NATIVE_ELF -> NATIVE_EXEC_ELF (this is what userland uses and
what is defined in machine/exec.h

Revision 1.8 / (download) - annotate - [select for diffs], Thu Nov 25 13:41:30 1999 UTC (24 years, 6 months ago) by art
Branch: MAIN
CVS Tags: kame_19991208, SMP_BASE, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Branch point for: SMP
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Use PAGE_SIZE instead of NBPG.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 27 11:10:30 1999 UTC (24 years, 8 months ago) by kstailey
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored)

do not attempt to run NetBSD binaries using native emul

Revision 1.6 / (download) - annotate - [select for diffs], Sat Sep 25 11:43:29 1999 UTC (24 years, 8 months ago) by kstailey
Branch: MAIN
Changes since 1.5: +6 -13 lines
Diff to previous 1.5 (colored)

clean up

Revision 1.5 / (download) - annotate - [select for diffs], Mon Sep 20 11:09:37 1999 UTC (24 years, 8 months ago) by kstailey
Branch: MAIN
Changes since 1.4: +8 -11 lines
Diff to previous 1.4 (colored)

clean up

Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 19 16:16:49 1999 UTC (24 years, 8 months ago) by kstailey
Branch: MAIN
Changes since 1.3: +72 -18 lines
Diff to previous 1.3 (colored)

improved OS brand PT_NOTE detection

Revision 1.3 / (download) - annotate - [select for diffs], Sun Sep 19 13:59:22 1999 UTC (24 years, 8 months ago) by kstailey
Branch: MAIN
Changes since 1.2: +27 -13 lines
Diff to previous 1.2 (colored)

use PT_NOTE to identify NetBSD ELF64 binaries

Revision 1.2 / (download) - annotate - [select for diffs], Sun Sep 12 14:15:17 1999 UTC (24 years, 9 months ago) by kstailey
Branch: MAIN
Changes since 1.1: +8 -1 lines
Diff to previous 1.1 (colored)

Add COMPAT_NETBSD.  Currently only works for ELF64.  Many missing system calls.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Sep 10 12:24:27 1999 UTC (24 years, 9 months ago) by kstailey
Branch: MAIN

ELF64

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.