Commit Graph

169854 Commits

Author SHA1 Message Date
dyoung
ed29145620 Get rid of sec2str() altogether. 2008-05-11 23:27:32 +00:00
dyoung
50a22265be Don't export in_alias(). Pass in_alias() a more useful template.
Misc. cosmetic changes.  Delete dead code.  Treat the address
preference as int16_t, since that is its real type.
2008-05-11 23:25:46 +00:00
cegger
79c3bfd61b remove one indent level. No functional change. 2008-05-11 23:05:45 +00:00
yamt
bf5accf9f6 tprof_backend_estimate_freq: ci_tsc_freq -> ci_data.cpu_cc_freq 2008-05-11 22:51:02 +00:00
dyoung
42c94b7768 In in6_alias(), instead of repeating the memset()/estrlcpy()/sockaddr_in6
assignment-dance, copy creq to ifr6 before each ioctl().
2008-05-11 22:30:07 +00:00
ad
31c3804afc - Decouple the APIC ID from cpu_info[].
- Probe TSC frequency on each AP when hatching.
2008-05-11 22:26:59 +00:00
dyoung
16f748ab9d Delete unused array sin6tab[]. Delete unnecessary casts. 2008-05-11 22:18:20 +00:00
ad
0dc71691a0 Fix the qemu (?) problem. 2008-05-11 22:18:08 +00:00
ad
bf21e0a741 Noisy printf. 2008-05-11 22:16:45 +00:00
dyoung
3df1d7792b Delete dead code in sec2str(). 2008-05-11 22:16:29 +00:00
dyoung
8ae5a779c6 Retire some code that in6_commit_address() replaces. 2008-05-11 22:12:04 +00:00
dyoung
503d41a97f Let the address family modules zero initialize their own ifreqs,
instead of zeroing them in commit_address().

Switch to in6_commit_address() from in6_getprefix() and in6_getaddr().

Temporarily add some debugging code to setia6eui64_impl().
2008-05-11 22:07:23 +00:00
ad
fff73dae94 splclock -> splhigh 2008-05-11 21:50:06 +00:00
ad
704c817f7a Use ci_cpumask. 2008-05-11 21:48:02 +00:00
cegger
c094da181a print L3 and TLB cache information for AMD Barcelona/Phenom 2008-05-11 21:19:17 +00:00
dyoung
9610e6f70b Bzero, Bcmp, and Bcopy are not used any more, so delete them. 2008-05-11 20:22:38 +00:00
dyoung
7d11951262 Use memcpy, memcmp, and memset instead of Bcopy, Bcmp, and Bzero,
respectively.
2008-05-11 20:20:27 +00:00
dyoung
323b0fda0c Compare route with NULL instead of testing truth. Where applicable,
s/0/NULL/.  s/u_char/uint8_t/.  Remove superfluous curly braces.
2008-05-11 20:19:44 +00:00
kardel
a70d0e6c97 keep dumpcdev and dumpdev consistent
allows savecore.c@1.72 to find the right dumpdev in case it was changed
from the default - hi ad@
2008-05-11 20:19:27 +00:00
dyoung
62c140415f Cosmetic: compare sa_family with AF_UNSPEC instead of testing truth.
Join a line.  Compare sa_len with 0 instead of testing truth.
2008-05-11 20:17:59 +00:00
dyoung
df0b11bb4e Use memset() instead of Bzero().
In arplookup1(), put the static sockaddr_inarp onto the stack, and
zero it before use.
2008-05-11 20:16:12 +00:00
dyoung
b9b961f930 Use memset, memmove, and memcmp instead of Bzero, Bcopy, and Bcmp,
respectively.
2008-05-11 20:14:41 +00:00
dyoung
c83464af65 Where applicable, s/0/NULL/, s/Bcmp/memcmp/. Remove a gratuitous
cast from a call to nd6_storelladdr().
2008-05-11 20:13:30 +00:00
he
f6ecc10553 Add -lprop, as ifconfig now needs it. 2008-05-11 19:21:02 +00:00
he
d1eb8042a4 Recursively bump the major version number of the shared libraries
which use libcrypto (and those which use those libraries again),
as libcrypto's major number was recently bumped.  The pam modules
share a major with libpam, so they are all bumped as well.
2008-05-11 19:17:06 +00:00
rmind
76db3ec4cd sys_shmget: fix an object leak in case of error. 2008-05-11 18:48:00 +00:00
tsutsui
f256c15ff3 Update intel_cpuid_cache_info as per Intel's application note:
"AP-485 Intel(R) Processor Identification and the CPUID Instruction"
http://www.intel.com/design/processor/applnots/241618.htm

XXX1: should sort by cai_index or cai_desc?
XXX2: should also check L3CACHE for coloring?
2008-05-11 18:29:42 +00:00
tsutsui
ce7c3e5d1c Fix an indent. 2008-05-11 18:21:28 +00:00
joerg
ad75cc2fc8 Add nbsvtool to the sets. 2008-05-11 18:01:46 +00:00
joerg
21edf88c1e Add nbsvtool to the build. 2008-05-11 17:58:45 +00:00
joerg
1762b349a6 Add nbsvtool, a simple and small program to create and verify detached
PKCS7 signatures. This was written by lha@ and discussed on
tech-security. I've slightly cleaned up the program and man page.
Contrary to the original version, this doesn't provide a default trust
anchor.
2008-05-11 17:58:09 +00:00
jmcneill
9e5e643a12 Pull in machine/cpufunc.h for wrmsr definition. 2008-05-11 17:13:43 +00:00
ad
9188c0738a Wrap stuff in #ifdef _KERNEL 2008-05-11 16:57:43 +00:00
christos
3083736b7e There are no vax assembly modules distributed by openssl, but give this one
a chance to work.
2008-05-11 16:45:19 +00:00
christos
f15eff55bf add sparc64 assembly. Unfortunately we cannot use any of it right now because
AES_set_{encrypt,decrypt}_key are not provided.
2008-05-11 16:35:28 +00:00
ad
a034c1c5e1 MP + apics are needed now so kill the #ifdefs 2008-05-11 16:26:56 +00:00
ad
bfff830416 Fix typo. 2008-05-11 16:25:46 +00:00
ad
b698c03c2c Don't reload LDTR unless a new value, which only happens for USER_LDT. 2008-05-11 16:23:05 +00:00
ad
5e605a64f7 Disable preemption across LDT mods. 2008-05-11 16:17:38 +00:00
ad
8250c8f097 Disable preemption over LDT modifications. 2008-05-11 16:13:34 +00:00
ad
3cd3c8ccbc Stop using APIC IDs to identify CPUs for software purposes. Allows for
APIC IDs beyond 31, which has been possible for some time now.
2008-05-11 15:59:50 +00:00
ad
f674d9678b Share cpu.h between the x86 ports. 2008-05-11 15:32:20 +00:00
ad
c5fb1571ad Update xen for identcpu changes. 2008-05-11 15:02:34 +00:00
ad
50d8ae9d14 Simplify x86 identcpu code, and share between i386/amd64. 2008-05-11 14:44:53 +00:00
ad
32c5d76875 Fix locking botch. Pointed out by kardel@. 2008-05-11 14:42:18 +00:00
ad
454ba0bbef Don't abuse ci_cpuid - in particular, ci_cpuid != ci_signature. 2008-05-11 14:39:49 +00:00
ad
107b551a56 Include machine/cputypes.h explicitly. 2008-05-11 14:25:48 +00:00
ad
f9a4f0750a Don't use ci_apicid to identify cpus in debug output. 2008-05-11 14:25:02 +00:00
he
e37d711d99 Manually break up the pci_activate() declaration, so that we avoid a
warning from nroff.
2008-05-11 14:15:53 +00:00
ad
058b47f572 Re-base the cpu types at 0 so they can be used as an array index. 2008-05-11 13:36:33 +00:00