Commit Graph

140465 Commits

Author SHA1 Message Date
christos a6ce8d7c4d Convert from nfs error values to regular errno's. Although most values of
nfs errors are chosen to be the same as errno, some of them are not and
it is better for portability to do the conversion anyway. Also a server
can return a bad error number that can cause the server to crash, because
it can have the high bits that are used internally set. This was the case
with amd. Finally nfs_request() should return a valid errno, because we
can return a bogus value to userland. Thanks to rpaulo for debugging this.
2005-09-25 00:20:38 +00:00
macallan 61f989aeaf Added comments about (ab)use of auxreg bits in SPARCbooks 2005-09-25 00:08:59 +00:00
macallan c4a1cd0ef7 Put the CPU to sleep when idle 2005-09-25 00:06:52 +00:00
macallan e98ce31365 Put the SPARCbook 3GX and 3GS CPU to sleep when idle 2005-09-25 00:06:13 +00:00
dyoung a66272d2ef Cosmetic: fix indentation. 2005-09-25 00:04:01 +00:00
dyoung 55977f0bc7 Reduce diffs from FreeBSD: remove a gratuitous temporary variable.
Also, remove redundant code that honors the "desired BSSID"
(ic_des_bssid), since FreeBSD already does that.
2005-09-25 00:03:06 +00:00
dyoung 92b58820b1 Reduce gratuitous differences from FreeBSD. 2005-09-24 23:57:12 +00:00
dyoung 5f9f2606fc Reduce diffs against FreeBSD by removing some redundant checks on
the BSSID and destination address.
2005-09-24 23:04:51 +00:00
oster feaabee0c2 This disk_detach() should be pseudo_disk_detach(). 2005-09-24 22:51:55 +00:00
christos e83e36d896 fix spelling from Liam Foy. 2005-09-24 22:45:51 +00:00
macallan 9d06f6badc add a function pointer to struct cpu_info:
void idlespin(struct cpu_info *)
which is called whenever the CPU is idle and uvm_pageidlezero() has nothing to
do
2005-09-24 22:44:44 +00:00
elad a375b7cdb7 Use crypto/rmd160.h. 2005-09-24 22:40:32 +00:00
macallan 9a8bbeeb14 Run the MicroSPARC IIep PCI bus without endianness translation.
This allows us to run X without any additional code changes.
2005-09-24 22:30:15 +00:00
elad c7f8eb7c46 Need namespace.h here too. 2005-09-24 22:09:07 +00:00
elad b8cc6b61c3 Fix prototype. 2005-09-24 22:08:30 +00:00
elad 345a69e003 Move rmd160.h to crypto/ to keep in sync with recent changes.
Noted by xtraeme@.
2005-09-24 21:58:36 +00:00
jmmv 20ac358c50 Instead of trying to clear ufs_args' export member, zero the whole
structure so that we don't rely on that (renamed) field.  Should fix
the build.  Found by he@.
2005-09-24 21:44:15 +00:00
christos a30629f4bf need compat/sys/signfo.h 2005-09-24 21:34:59 +00:00
christos a5d6ab9188 need compat/sys/socket.h 2005-09-24 21:34:35 +00:00
elad 836d7d24f9 Define MD5_DIGEST_STRING_LENGTH. 2005-09-24 21:34:32 +00:00
christos 91e84b20b0 make the siginfo converters static and comment out the one that is not used. 2005-09-24 21:34:18 +00:00
christos 6c8e87cff8 add struct forwards. 2005-09-24 21:33:48 +00:00
elad e3da29a5ac SHA1_DIGEST_STRING_LENGTH is 41, including the terminating NUL. 2005-09-24 21:32:24 +00:00
elad e0d3e1c5ea RMD160_DIGEST_STRING_LENGTH is 41, including the terminating NUL. 2005-09-24 21:31:53 +00:00
elad 8b546d68f7 Define MD2_DIGEST_LENGTH and MD2_DIGEST_STRING_LENGTH.
Noted by xtraeme@.
2005-09-24 21:30:38 +00:00
elad 3fcecfe373 Sync with recent MD2 changes. 2005-09-24 20:52:22 +00:00
elad b387889f76 Put public domain MD2 implementation in libc/hash/md2. 2005-09-24 20:51:14 +00:00
oster 5593466f1b Remove an RF_ASSERT that is just plain wrong. 2005-09-24 20:24:11 +00:00
elad b0efb83c3e Use crypto/rmd160.h. 2005-09-24 19:33:52 +00:00
elad 40a18454f9 Fix NetBSD CVS tag, put all code under #ifdef HASH_ALGORITHM. 2005-09-24 19:30:06 +00:00
elad 7e426d2f8a Need namespace.h. 2005-09-24 19:25:23 +00:00
elad e9795d9851 Add man-pages forgotten in previous commit. 2005-09-24 19:07:00 +00:00
elad efa664c42a Sync with recent changes. 2005-09-24 19:06:20 +00:00
elad 767c8fdd86 Organize hashing in libc. 2005-09-24 19:04:52 +00:00
elad feab3b262a Use common code from hash.c. 2005-09-24 18:49:18 +00:00
elad d4e0b307f7 Add skeleton file for helper routines that will be used by MD2, MD4, MD5,
SHA1, SHA2, and RMD160.
2005-09-24 18:47:37 +00:00
elad 4b106eec1a Use RMD160 implementation by Markus Friedl, the same one we use in the
kernel.
2005-09-24 18:43:17 +00:00
elad 8c28d108b5 Use new location.
XXX This is left here for backwards compatibility.
2005-09-24 18:35:42 +00:00
elad b6c7f93fa8 Install rmd160.h to /usr/include/crypto. 2005-09-24 18:34:59 +00:00
christos bc249013c1 Add the TOG copyright. 2005-09-24 18:22:22 +00:00
elad 7b86a01b16 Add SHA1FileChunk(). 2005-09-24 18:13:09 +00:00
elad ad7f55858f RMD160File() gets const char *, add RMD160FileChunk(). 2005-09-24 18:12:35 +00:00
christos a1d16cb7f4 no rcsid's in headers. 2005-09-24 17:47:34 +00:00
elad 138b399207 Define RMD160_DIGEST_STRING_LENGTH. 2005-09-24 17:39:15 +00:00
christos b9301b48d0 fix typos. 2005-09-24 17:34:17 +00:00
christos dd40a9f6f6 include new compat siginfo header. 2005-09-24 17:29:47 +00:00
christos 714b6fd870 more nits. 2005-09-24 17:29:10 +00:00
christos 9255e4c0ab Remove compat32 stuff. 2005-09-24 17:28:39 +00:00
christos 5c03cd2255 more header cleanup. 2005-09-24 17:27:44 +00:00
elad 191a7f711e SHA1File() receives a const char * for filename. 2005-09-24 17:19:56 +00:00