Commit Graph

140245 Commits

Author SHA1 Message Date
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
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