diff options
| author | 2010-06-29 00:28:14 +0000 | |
|---|---|---|
| committer | 2010-06-29 00:28:14 +0000 | |
| commit | 351c20c593075aab5a3342f59ad7ce1e96b7b1ad (patch) | |
| tree | 6b9506388289e1163b5f5d4dfbb65903555678a4 /sys/kern/exec_elf.c | |
| parent | Clean up iterface stats handling: (diff) | |
| download | wireguard-openbsd-351c20c593075aab5a3342f59ad7ce1e96b7b1ad.tar.xz wireguard-openbsd-351c20c593075aab5a3342f59ad7ce1e96b7b1ad.zip | |
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
Diffstat (limited to 'sys/kern/exec_elf.c')
| -rw-r--r-- | sys/kern/exec_elf.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/kern/exec_elf.c b/sys/kern/exec_elf.c index 882bbd12f4b..7c827e07d60 100644 --- a/sys/kern/exec_elf.c +++ b/sys/kern/exec_elf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_elf.c,v 1.73 2010/05/02 11:15:29 kettenis Exp $ */ +/* $OpenBSD: exec_elf.c,v 1.74 2010/06/29 00:28:14 tedu Exp $ */ /* * Copyright (c) 1996 Per Fogelstrom @@ -1137,9 +1137,7 @@ ELFNAMEEND(coredump_notes)(struct proc *p, void *iocookie, size_t *sizep) struct uio uio; struct elfcore_procinfo cpi; Elf_Note nhdr; -#ifdef RTHREADS struct proc *q; -#endif size_t size, notesize; int error; @@ -1260,7 +1258,6 @@ ELFNAMEEND(coredump_notes)(struct proc *p, void *iocookie, size_t *sizep) return (error); size += notesize; -#ifdef RTHREADS /* * Now, for each thread, write the register info and any other * per-thread notes. Since we're dumping core, we don't bother @@ -1274,7 +1271,6 @@ ELFNAMEEND(coredump_notes)(struct proc *p, void *iocookie, size_t *sizep) return (error); size += notesize; } -#endif *sizep = size; #endif |
