Commit Graph

131325 Commits

Author SHA1 Message Date
dsl
9ab983c04a Add (unsigned char) cast to ctype function 2004-10-29 19:04:39 +00:00
dsl
09993d7a4e Rewrite getdisklabelpart() to avoid problems with isdigit(*ch_ptr) and
an incorrect check for a (probably impossible) empty string.
Add comments to avoid confusion...
2004-10-29 19:02:17 +00:00
dsl
e6bc82d904 Add (unsigned char) cast to ctype function
Fix check for device name ending in [0-9a-h] (strchr(dev, 0) doesn't ever
return NULL - which is fortunate because the () were wrong as well!)
2004-10-29 17:37:30 +00:00
kent
2027395f9c * uaudio_chan_open()
Call uaudio_set_speed() if and only if the selected Audio Streaming
interface supports multiple sampling rates.
  Address PR#27237
2004-10-29 17:12:53 +00:00
kent
acac7b4b51 replace printf() inside UAUDIO_DEBUG with logprintf() 2004-10-29 16:42:47 +00:00
hannken
3404c7af50 Move the inclusion of <sys/bufq.h> from fss.c to fssvar.h to make
an FSS-enabled kernel compile again.
2004-10-29 15:39:38 +00:00
yamt
18f717bb90 constify audio_hw_if, midi_hw_if, and radio_hw_if. 2004-10-29 12:57:15 +00:00
dan
0613074a7e put back uax, as obsolete 2004-10-29 08:26:16 +00:00
lukem
c49e808721 #include "reentrant.h" instead of <threadlib.h> 2004-10-29 06:32:08 +00:00
dsl
1793b7dd69 Use (unsigned char) cast to sanitise arguments to ctype functions. 2004-10-28 21:14:52 +00:00
dsl
31d993f26a Use (unsigned char) not & 0xff on args to ctype functions 2004-10-28 20:52:20 +00:00
dsl
076dc10086 Another (unsigned char) cast - for ldconfig 2004-10-28 20:18:48 +00:00
dsl
4b6e82d128 Add (unsigned char) cast to isdigit call 2004-10-28 20:17:19 +00:00
dsl
7f5b5f6c04 Add (unsigned char) casts to tolower/toupper and iscntrl calls.
Fixes PR 27593
2004-10-28 20:15:36 +00:00
bouyer
2bdbaab58f Call xfer->c_start() with the channel from the xfer, not the one from the
thread. They may be different if we have a shared queue.
2004-10-28 20:11:41 +00:00
dsl
57030cf931 More isdigit() calls that need (unsigned char) cast 2004-10-28 20:10:29 +00:00
heas
3114eb2be3 Postpone initial setting of the alarm timer until after the call to daemon(),
as the timer would be cleared by daemon's fork().
2004-10-28 20:04:24 +00:00
dsl
750ce43a65 Add (unsigned char) to isdigit() call 2004-10-28 19:59:09 +00:00
dsl
25b17683bd Add (unsigned char) to isdigit() calls 2004-10-28 19:48:41 +00:00
dsl
7e4021e835 Add (unsigned char) to isdigit() 2004-10-28 19:43:29 +00:00
dsl
28793e3d2c Add (unsigned char) to isdidgit call 2004-10-28 19:40:47 +00:00
christos
28c9afd120 Complete check for packet length, and add verbose errors for malformed
packets.
2004-10-28 17:07:27 +00:00
wiz
a53714cd69 Bump date for Dell PERC 4/SC support. 2004-10-28 10:05:14 +00:00
itojun
e2426ca020 re-enable a length check which was commented out (why?).
http://www.securitylab.ru/49043.html
2004-10-28 07:50:34 +00:00
itojun
981eb66521 cbcp option length is too long, stop parsing.
http://www.securitylab.ru/49043.html
2004-10-28 07:45:21 +00:00
cube
cce3c2a9eb Add support for the BCM575x variants. They're close to the 5705 one, with
some special cases for the PCI-Express versions.  As there is no
documentation available, all of this is inspired from Linux or taken from
FreeBSD (itself inspired from Linux).  There are a lot of magic numbers.

Tested on two BCM5751 devices as found in newer Dell computers.
2004-10-28 07:36:05 +00:00
martti
05e2eaf818 Regen for Dell PERC 4/SC 2004-10-28 07:29:07 +00:00
cube
64b1795875 Add support for the PHY found with BCM575x chips. Beware the magic
numbers!

From FreeBSD.
2004-10-28 07:26:17 +00:00
martti
ac15c84040 Align all SYMBIOS entries 2004-10-28 07:26:09 +00:00
cube
d3f031a415 Regen. 2004-10-28 07:23:24 +00:00
cube
69295b9741 Add an entry for the PHY found with BCM575x chips. 2004-10-28 07:23:00 +00:00
martti
0ae886cb1b Added Dell PERC 4/SC 2004-10-28 07:22:23 +00:00
yamt
05f25dcc2a move buffer queue related stuffs from buf.h to their own header, bufq.h. 2004-10-28 07:07:35 +00:00
yamt
043a545875 hide bufq_state from userland. 2004-10-28 06:59:18 +00:00
itojun
bc559f51c6 remove extra code mistakenly committed 2004-10-27 23:16:56 +00:00
jonathan
2bee2ad85f Fix missing break; Emmanuel Dreyfus.
C.f. sys/netinet6/ipsec.c rev 1.97 -> 1.98, but does not include the
gratutious change for a case which (the comment says) should not occur.
2004-10-27 23:10:13 +00:00
itojun
70fc307de9 missing break; Emmanuel Dreyfus 2004-10-27 22:26:50 +00:00
dsl
0cb35e8cae Mask 'char' arguments to ctype functions with 0xff, an (int) cast doesn't
solve the problem of charcter codes 0x80..0xff
2004-10-27 20:26:26 +00:00
dsl
d349cd6749 Fix a load of international alphabet problems with isxxx() and toupper()
Change isspace(*char_ptr) to isspace(*char_ptr & 0xff) so that the correct
piece of memory is looked at for the bit mask.
gcc optimises out the '& 0xff' (on i386 at least).
Fixes problems found by gcc when the splurious (int) cast is removed
from the #defines in ctype.h
2004-10-27 19:59:24 +00:00
peter
0d5d8e993a Fix a typo in a comment. 2004-10-27 19:36:31 +00:00
david
d7d15131bb Bounds check syscall arguments where appropriate 2004-10-27 19:29:57 +00:00
david
a710461910 Log Msg was corrected, Nov 6th, 2004. Whitespace cleanup 2004-10-27 19:29:56 +00:00
david
090b8be8f9 Bounds check syscall arguments where appropriate 2004-10-27 19:29:56 +00:00
peter
76767beb4a Use DENYNONE to give unixy semantics of permitting everything not forbidden
by permissions.  Ie denial is up to server with clients/openers needing to use
advisory locks for further control.  From FreeBSD.

Fixes file access problem when the file is already open on the server.
Problem reported by George Abdelmalik <gabdelmalik at avdat dot com dot au>

Reviewed by jdolecek.
2004-10-27 19:17:13 +00:00
dsl
d6329c55cd Implement strtok() in terms of strtok_r() 2004-10-27 19:12:31 +00:00
christos
fc23d32c7d Call check_sender with NULL atime, meaning no strict checking. 2004-10-27 17:49:19 +00:00
christos
74c9d10c58 make the atime and msgok optional. If we did not request atime, then we
don't want strict checking and in this case if the tty is not found we
don't exit. write calls this with atime != NULL and wall calls this with
atime == NULL.
2004-10-27 17:48:47 +00:00
kent
15afb616fc add "hw.auichN.ac97rate" sysctl MIB to specify AC'97 link rate.
It is needed because automatic calibration by auich_calibrate() is not
so precise.

- Why not ioctl?
  It is not good idea to add a new ioctl operation to MI audio for
a specific audio device.
- Why not mixerctl item?
  AC'97 linke rate is not related to audio mixing.
2004-10-27 13:26:43 +00:00
augustss
3f877f0787 Regen. 2004-10-27 07:03:16 +00:00
augustss
a546123041 Add some products from FreeBSD. 2004-10-27 07:02:47 +00:00