art
dc849cf36a
Use the correct sizeof for the _ca.
...
"obviously correct" kettenis@
2008-11-10 16:50:13 +00:00
gilles
65630bc4b3
- remove last occurences of the atomic api in store.c, smtpd no longer uses
...
atomic api when dealing with files but uses stdio instead
2008-11-10 16:33:07 +00:00
cnst
5282ec72da
remove unused variable 'error' from two functions; llvm/clang; ok dlg
2008-11-10 15:55:06 +00:00
mglocker
e1963f3277
Remove 17 unused vars from uvideo_softc.
2008-11-10 13:15:51 +00:00
mglocker
ef4f396993
One more replacement; 2 -> UVIDEO_SH_MIN_LEN
2008-11-10 11:54:39 +00:00
pedro
54f98a3fcb
Fix typo in comment, okay jmc@.
2008-11-10 11:53:16 +00:00
espie
f16224d672
missing static
2008-11-10 10:48:43 +00:00
espie
4918fa9df6
adjust comment to reflect reality (CompatRunCommand is gone)
2008-11-10 09:22:18 +00:00
cnst
6f74b51c57
don't assign ifp to ifp; llvm/clang; ok jsg
2008-11-10 07:23:43 +00:00
cnst
dc50e0df92
remove some dead code and fix a comment; llvm/clang; ok jsg
2008-11-10 07:22:47 +00:00
mglocker
a2d63a444b
Add eMPIA Technology 2761 (ASUS EeePC 701 Notebooks) chipset which
...
works since BULK xfers are supported.
Reminded by deraadt@
2008-11-10 05:52:25 +00:00
cnst
a0148e891d
uninitialised value caused some lmenv(4) fans to never appear sometimes;
...
the bug was reported long time ago by Simon Slaytor with adm9240;
the eyes were cleared today by LLVM/Clang Static Analyser; ok deraadt
2008-11-10 05:19:48 +00:00
deraadt
310c3073a2
vm_map_lock() around calls to uvm_map_findspace(); ok tedu
2008-11-10 03:56:16 +00:00
tedu
f15dc49bf6
last character in line is at len - 1. ok gilles
2008-11-10 03:55:36 +00:00
tedu
e7fccdfc42
insertion sort is faster than bubble sort. ok gilles
2008-11-10 03:54:08 +00:00
gilles
7edaf9bab0
- simplify the passing of ssl cert/key during ssl configuration,
...
from Jacek Masiulaniec <jacekm@dobremiasto.net>
2008-11-10 03:41:53 +00:00
deraadt
e3d940ecee
same vmspace song and dance as in kern_sysctl.c 1.167; ok kurt
2008-11-10 03:38:53 +00:00
gilles
15f44de017
- in queue, do not use the atomic api when dealing with real files
...
change based on a comment from deraadt@
- in queue_register_submission(), if an envelope cannot be fully written
because of some error (ie: disk full), not only return error but
also remove the partial envelope from file system. this prevents
the queue process from trying (failing) to reload it over and
over.
2008-11-10 03:16:02 +00:00
gilles
63686c38be
- plug a descriptor leak when session is aborted by a server error instead
...
of a client QUIT or client timeout
2008-11-10 02:34:50 +00:00
gilles
9d4d4fe1f6
- move '=>' into the lex loop, requested by and with help from deraadt@
2008-11-10 02:13:40 +00:00
djm
95fc70d4d9
PuTTY supports AES CTR modes, so interop test against them too
2008-11-10 02:06:35 +00:00
gilles
abe7d6f45e
- in queue_load_submissions(), if queue_message_from_id() fails for some
...
reason just warn instead of aborting the whole smtpd.
2008-11-10 01:14:05 +00:00
gilles
a748992204
- snprintf() can return -1, make sure every call is checked properly
2008-11-10 00:57:35 +00:00
gilles
21677b49c1
- recognize '=>' as one token instead of trying to match '=' and '>'. this
...
prevents: "foo = > bar" from being valid
2008-11-10 00:29:33 +00:00
gilles
998e671521
- make READ_BUF_SIZE a power of 2
2008-11-10 00:22:05 +00:00
deraadt
3fde226a77
the extra kget() macro just befuddles the things we need to replace with a sysctl mechanism later
2008-11-09 23:00:56 +00:00
espie
57faf8220e
protect against .orig files resulting from a patch.
2008-11-09 23:00:42 +00:00
oga
fc89fda03c
correct device name.
2008-11-09 22:54:01 +00:00
oga
7fc680fe9f
Don't attach to the agp bridges on amd64 machines. They have a different
...
interface (which is currently used by iommu(4) on amd64). I have a
driver for that interface, but it would currently conflict with iommu
and as such has not been commited.
2008-11-09 22:47:54 +00:00
mglocker
34070ee752
Make own struct for the stream header instead saving the data in single
...
variables.
2008-11-09 21:24:55 +00:00
mglocker
94e1c81b73
Add BULK xfer support.
...
Thanks to Carlos Valiente for donating an EeePC 701 where this has been
developed and tested.
2008-11-09 20:14:06 +00:00
naddy
b9b724f162
typos; ok ratchov@ jmc@
2008-11-09 19:49:10 +00:00
deraadt
cc9b62cad0
workaround lack of struct proc. this whole mess must be cleaned out.
...
userland processes should not see all the kernel components.
2008-11-09 17:01:10 +00:00
ratchov
baead350f5
make aucat(1) stop automatically the audio(1) device if it's idle. This
...
way, when in server mode, it consumes no CPU if there are no clients.
Later, this will allow to start aucat(1) at session or system startup.
2008-11-09 16:26:07 +00:00
chl
9ce410402f
add missing header needed by getpagesize().
...
ok millert@
2008-11-09 15:54:54 +00:00
ratchov
927f485d7d
if the device is not started, make sio_pollfd() pass 0 events bitmap
...
to the backend to avoid reporing the device as writable when it's
stopped. Solves 100% CPU usage of apps poll()ing a stopped device.
2008-11-09 15:32:50 +00:00
oga
8f6e6e826a
Rework that way that agp attaches.
...
previously, we had a static list of pcidevs and which agp driver would
be interanlly attached. Instead, split the agp drivers so they work like
audio(4), where we attach a driver, which sets up some callbacks and
initial state, then attaches the interface (agp(4)). Since this allows
us to attach different drivers in different places, and give them
/proper/ probe functions move most of the drivers back to attaching at
pchb, where they should, and intagp (formerly agp_i810) stays attaching
at vga, since it's part of the intel integrated graphics chips.
Diff shrinks the kernel slightly, gets rid of the annoying "no integrated
graphics" warning, and allows more cleanup later.
Tested by many. fix for alpha build (the only other vga_pci.c consumer)
suggested by miod.
2008-11-09 15:11:18 +00:00
naddy
9b986731d4
Introduce bpf_mtap_ether(), which for the benefit of bpf listeners
...
creates the VLAN encapsulation from the tag stored in the mbuf
header. Idea from FreeBSD, input from claudio@ and canacar@.
Switch all hardware VLAN enabled drivers to the new function.
ok claudio@
2008-11-09 15:08:25 +00:00
tobias
7c635cc475
typo fixed (overriden -> overridden)
...
ok espie, jmc
2008-11-09 12:34:46 +00:00
ratchov
14dcb8d437
sio_revents() should return 0 poll events if the device isn't started
2008-11-09 12:22:27 +00:00
damien
fa43bc10bb
rework the rate coding code to get rid of the ugly {wpi,iwn}_plcp_signal()
...
function. will be required for future MCS support in iwn.
2008-11-09 10:00:17 +00:00
chl
f78aebaaba
uninitialized value, caused by a typo.
...
Found by LLVM/Clang Static Analyzer.
ok damien@
2008-11-09 09:55:42 +00:00
jmc
bc498ed507
tweak previous;
2008-11-09 09:00:28 +00:00
tobias
7a347c71a9
Removed unneeded conversion from RCSNUM to string in rcs_rev_setlog.
...
oki joris@
2008-11-09 08:51:43 +00:00
ckuethe
dbbe37168b
remove reference to POOL_DIAGNOSTIC which hasn't existed for nearly a year.
...
ok tedu@
2008-11-09 07:41:27 +00:00
deraadt
c8b205f6df
systrace activation happens in the middle of a rather sensitive piece of
...
fork(), i worry about it a lot but cannot prove yet that sleeping there
is bad. Anyways, this change makes us never sleep in that area -- the
memory needed is allocated ealier like the ptrace state. tested by many
developers.
2008-11-09 05:13:53 +00:00
pedro
1314c0da83
Use atop() and ptoa() in buf_free_pages() to make it consistent with
...
the rest of the code, okay art@.
2008-11-08 23:20:50 +00:00
deraadt
2e695df2e4
sync
2008-11-08 20:29:42 +00:00
kettenis
e911002b52
Get rid of va-ppc.h.
...
ok miod@
2008-11-08 19:49:24 +00:00
damien
df640bf3c5
when defragmenting an mbuf chain, do not call M_DUP_PKTHDR.
...
this is an overkill in this case as it duplicates mbuf tags etc...
following a discussion with kettenis@ a few months ago about gem(4)
did some cleanup while i was there.
2008-11-08 18:42:49 +00:00