Commit Graph

140212 Commits

Author SHA1 Message Date
christos
2cbe95f3ac Regen. 2005-09-26 03:04:46 +00:00
christos
65a3ca6215 some of the extattr syscalls return ssize_t not int. 2005-09-26 03:02:19 +00:00
christos
6db303aa6b The weak alias macros can only work before namespace.h gets included because
when the strings get expanded we gain an _ from namespace.h. So define a
macro to point to the appropriate include file for the hash function, and
include the hash function later, from the .c file we always include. This
allows us to eliminate the hack of including namespace.h twice as well as
nbtool_config.h.
2005-09-26 03:01:41 +00:00
christos
8a17871865 Add missing SHA384_Transform. XXX: Is that correct? 2005-09-26 02:59:29 +00:00
christos
14f3214d1a the sha2 functions have an _. 2005-09-26 02:12:24 +00:00
rpaulo
4e47c694c9 Sync prototypes with reality. 2005-09-26 01:04:34 +00:00
yamt
58e607b974 tmpfs_rename: fix lock/unlock mismatch. 2005-09-26 00:46:59 +00:00
dyoung
2e6630457d De-lint: assign MALLOC's argument, size, to a temporary unsigned
long, __size, before using it.  This quiets complaints when the
caller passes a 16-bit or 8-bit size---for example, in
ieee80211_node_attach, where it calls MALLOC(..., ic->ic_tim_len,
...).  I could not get any number of casts to quiet the complaint.
2005-09-26 00:12:23 +00:00
uwe
300c8b0563 Move new bus space methods to be with the rest of the bus space
related functions.
2005-09-25 23:14:06 +00:00
uwe
76a5b67165 Use mspcic_read_stream_N to access error addresses. They don't need
to be byteswapped.
2005-09-25 22:52:30 +00:00
uwe
b98b97fe7f Stream versions of mspcic_read/write_N. 2005-09-25 22:50:57 +00:00
elad
da7e4f7332 Fix weak aliasing after recent changes.
Inspired by comments from christos@, xtraeme@, mlelstv@, mhitch@, mrg@,
and uwe@; all the bugs are mine.
2005-09-25 22:20:59 +00:00
jmmv
3955cf65f9 Add some COMPAT_30 code to let old mountd binaries work after the NFS
exports rototill.
2005-09-25 21:57:40 +00:00
uwe
cfe232b1e4 G/c msiiep_swap_endian, it's no longer used now that we run without
byteswapping in the PCIC.
2005-09-25 21:57:02 +00:00
jmmv
9ba32cead7 Follow compat naming tradition: rename compat_export_args to export_args30. 2005-09-25 21:17:05 +00:00
uwe
94e8dfaa23 G/c unused variable. 2005-09-25 20:49:43 +00:00
christos
1c208b995b ttyname_r returns int. 2005-09-25 20:43:54 +00:00
christos
2b46305054 ttyname_r returns int. 2005-09-25 20:28:56 +00:00
christos
395c3f1569 getenv_r and ttyname_r 2005-09-25 20:11:03 +00:00
christos
e86a6cb1b4 Add getenv_r and ttyname_r 2005-09-25 20:08:15 +00:00
christos
cc85a7cfd9 add getenv_r and ttyname_r 2005-09-25 20:08:01 +00:00
oster
96ba5552fa Re-work the handling of incoming I/O in RAIDframe:
- introduce rf_buf_queue_check() which checks to see if there
is work to do in the incoming buffer queue
- rf_RaidIOThread() is now responsible for calling raidstart(), and is
also now the only place that calls raidstart()
- raidstrategy() now just queues requests in buf_queue
and signals rf_RaidIOThread() that work has arrived

Hopefully addresses PR#30233
2005-09-25 19:47:17 +00:00
jmmv
dee202322b Implement the getargs option. I knew the code in the kernel had to be of
some use...
2005-09-25 19:04:49 +00:00
rpaulo
124876d613 Fixing showmount was easier than I thought.. 2005-09-25 18:59:50 +00:00
rpaulo
b04eff3537 ANSIfy. de-P(). Syle nits. 2005-09-25 18:56:33 +00:00
jmmv
ff29f0196f Fix some type mismatch issues (gid_t and uid_t are unsigned); pointed out
by chs@.
2005-09-25 18:55:51 +00:00
rpaulo
ff2bab1c59 tcp_callrpc(): bring in the FreeBSD version of this call. It uses the
"new" rpc functions and works with IPv6.
2005-09-25 18:50:28 +00:00
jmmv
63fb4d1c52 Kill reference to tmpfs(9). Noticed by "pancake". 2005-09-25 18:27:30 +00:00
rpaulo
7f0e10fba7 Add entry about showmount IPv6 support. 2005-09-25 17:53:33 +00:00
jmmv
c690718c37 Only consider valid flags in the root mode's parameter given by the user.
I doubt the unchecked value could bring us problems, but better to be safe
than sorry.
2005-09-25 16:34:42 +00:00
jmmv
b35a89f13c Sanity check negative values in the maximum size and number of nodes
arguments to avoid a crash while mounting a tmpfs file system.  Add a
regression test for this too.  Noticed by chs@.
2005-09-25 16:28:43 +00:00
skrll
a626c5afb2 Whitespace and change a comment slightly. 2005-09-25 15:29:37 +00:00
skrll
443f1937a0 Don't try to bus_dmamem_alloc everytime we want to load the firmware as
it can fail all too easily. Instead bus_dmamap_load the cached copy and
create the command blocks for the device to load it accordingly.

Thanks to scw and mrg for reviewing this.

Closes PR 29892 (I hope).
2005-09-25 15:18:21 +00:00
elad
851adad0b8 Use crypto/rmd160.h. 2005-09-25 14:34:54 +00:00
elad
1831cf63ac New home for rmd160.h. 2005-09-25 14:27:26 +00:00
isaki
ff87e380de Correct typo in a comment. ok'ed by wiz@. 2005-09-25 12:50:14 +00:00
tron
d8706f77dd Correct typo in last commit to fix compilation error. 2005-09-25 12:49:09 +00:00
skrll
1d01574af3 Support hidden ESSID APs.
Use the newer scan command as this one doesn't crash the firmware when
scanning 802.11a channels.

Thanks to scw and blymn for testing.

Closes PR 31295.
2005-09-25 11:55:05 +00:00
jmmv
50f3dc6f20 Fix two typos in ubc_alloc. 2005-09-25 09:01:21 +00:00
jmmv
25d775ba47 Change two variables from size_t to long as they are used with long
values (strtol).  Silences a warning from lint.
2005-09-25 08:15:30 +00:00
jmmv
c23e2abdd5 Ignore case of trailing unit specifiers in size measures to remove confusion. 2005-09-25 08:11:50 +00:00
jmmv
847bd3696d Inherit owner, group and mode of the mount directory so that mounting a
tmpfs over, e.g., /tmp, is trivial.
2005-09-25 08:08:12 +00:00
skrll
b453f6ca4f Resolve conflicts. 2005-09-25 06:49:54 +00:00
isaki
9265690c77 It needs the braceexpand option for PD KSH, regardless of
whether the host system is OpenBSD.
from Wim Lewis. reviewed by sjg@.
2005-09-25 05:34:21 +00:00
elad
f9faf32a34 Use crypto/rmd160.h. 2005-09-25 04:16:22 +00:00
christos
c5dae239cc Add missing TIMEDOUT and IO errors. 2005-09-25 02:48:40 +00:00
xtraeme
af4a812af1 Add missing prototype for the MD5FileChunk() function. (hi elad!) 2005-09-25 00:48:21 +00:00
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