dholland
6e8d2b936b
y2038 fixes: time_t != long.
2008-03-04 03:05:00 +00:00
dholland
c6b9477692
'struct timezone' belongs in the dustbin of history.
2008-03-04 02:57:33 +00:00
dholland
769bcbf94c
fix typo in comment
2008-03-04 02:45:01 +00:00
christos
a23f0e5f81
PR/38142: YAMAMOTO Takashi: lint -S complains on variable length arrays
2008-03-04 02:41:46 +00:00
dholland
6c41aa55b8
Sort includes, removing duplicate <time.h>.
2008-03-04 02:34:27 +00:00
mrg
2e2c24f48c
merge bozohttpd 20080303
2008-03-03 22:30:34 +00:00
mrg
707281a285
merge bozohttpd 20080303
2008-03-03 22:15:08 +00:00
mrg
e1e74f372d
import latest bozohttpd. changes include:
...
o fix some cgi header processing, from <thelsdj@gmail.com>
o add simple Range: header processing, from <bad@bsd.de>
o man page fixes, from NetBSD
o clean up various parts, from NetBSD
o prefix some function names with "bozo"
o align directory indexing <hr> markers
o clean up some code GCC4 grumbled about
2008-03-03 22:03:08 +00:00
christos
cc8760f4cb
fix example (from anon ymous)
2008-03-03 19:11:45 +00:00
matt
a2ce1f327a
Make kernlib depend on assym.h
2008-03-03 18:48:26 +00:00
phx
50ea3aad0b
Removed the check for device_type==display in rascons_cnattach(). It is not
...
required, because this function will be called for display-consoles only,
and it allows SmartFirmware to attach a rascons console.
Approved by garbled.
2008-03-03 17:15:57 +00:00
xtraeme
133f451fc4
Typo in previous.
2008-03-03 16:13:34 +00:00
xtraeme
89550ec143
Improve usage() and manpage commands/args.
2008-03-03 16:10:48 +00:00
xtraeme
1ab13cc1f4
Add some notes for RAID 1/1+0 volumes and scsictl(8).
2008-03-03 15:35:22 +00:00
tsutsui
a9ae1f2955
Use xlat_mbr_fstype() so that we can mount FAT removable media properly.
2008-03-03 15:22:01 +00:00
xtraeme
0dd978c139
Detect and initialize correctly RAID 1+0 levels.
2008-03-03 14:57:22 +00:00
xtraeme
e54494308e
- Fix total user specified and free disk size based on the RAID level.
...
- Adapt for BIOC_SVOL_RAID01 and BIOC_SVOL_RAID10 levels.
2008-03-03 14:55:39 +00:00
xtraeme
0be3e346a7
Add definitions to specify RAID 0+1/1+0 levels.
2008-03-03 13:43:19 +00:00
tsutsui
54de16529a
Explicitly include <sys/device.h> for device_t.
2008-03-03 12:30:57 +00:00
drochner
fce349e672
update for pmf_device_register1() and the "boothowto" argument to
...
shutdown handlers
2008-03-03 11:43:18 +00:00
xtraeme
81b07a3d7a
Set D_OTHER | D_MPSAFE to d_flag for the cdevsw methods.
2008-03-03 09:48:28 +00:00
xtraeme
b1700faaf8
Pass D_MPSAFE to d_flag in the cdevsw struct, so that the kernel_lock
...
is not taken in the driver methods.
I've been running with this for some days without any effect.
2008-03-03 09:38:49 +00:00
dholland
65900038ce
Add a comment noting that the definition of __errno is now replicated in
...
signal.h. Per request of joerg@
2008-03-03 06:57:48 +00:00
lukem
ba936e32d4
Set linker warnings to be fatal if ${WARNS} > 0.
2008-03-03 06:33:17 +00:00
lukem
57d60ef891
Use mkstemp(3) (in a hokey manner) instead of mktemp(3).
...
XXX: still not 100% "safe", except that we're in a protected directory.
XXX: arguably we should keep the fds open and fdopen(3) dup()s,
XXX: but we're in a protected directory so it shouldn't matter.
2008-03-03 05:07:43 +00:00
dyoung
dadd24f2b8
Fix a typo that could lead to a panic when I suspend elanpar(4).
2008-03-03 04:16:26 +00:00
mrg
9240578f89
use BUILDSYMLINKS to not have to rename bozohttpd.8 while still
...
having this manual installed as httpd.8. now updates from my
repo to bozohttpd.8 will appear in this file.
2008-03-03 03:10:53 +00:00
martin
54c5277e8e
Make ddb's "mach cpu" command do the right thing: run ddb on the requested
...
cpu. There is a tiny bit of cheating involved, but I assume we won't run
parallel + recursive ddb scripts to play towers of hanoi.
This fixes the wrong prompt, and (more importantly) makes things like
"mach dtlb" display the registers of the right MMU.
2008-03-02 22:01:38 +00:00
dsl
1b00238d8c
When printing non-random integers, add 0.5 to get 'schoolboy' rounding.
...
This makes 'jot - 9 - -.5' generate 9 9 8 8 etc again.
When printing random numbers generate a sane range when ender < begin.
For random integers we must use random()/2^31 since we don't want the
value above generated should random() return 2^31-1.
2008-03-02 21:33:42 +00:00
tron
634457e76e
Print out a message explaining why the system is rebooting if the root
...
filesystem is modified by fsck(8).
2008-03-02 21:31:30 +00:00
dholland
b3c3a0fd7d
CFV (call for votes), RFD (request for discussion)
2008-03-02 19:59:46 +00:00
plunky
7296c96ad8
NVM never mind
2008-03-02 17:42:08 +00:00
elad
fb57fc51da
Forgot this file in the previous commit.
...
Backend for the newly added KAUTH_NETWORK_NFS action.
Spotted by Paul Goyette on current-users@, thanks!
2008-03-02 16:16:34 +00:00
jwise
6d94a6eac7
Don't try to build these tests as part of a MKPIC=no build, they won't build.
2008-03-02 16:01:14 +00:00
nakayama
7817256e3e
Fix previous.
...
sc_rsel and sc_wsel are in bpp_softc, not in lsi64854_softc.
2008-03-02 15:54:58 +00:00
nakayama
29dbeb72e1
- make interrupt pending list per-CPU.
...
- make tickintr() MP-safe.
- remove unused port-sparc derived interrupt code.
Ok by martin@.
2008-03-02 15:28:26 +00:00
nakayama
9543ae7d83
Correct TSTATE_KERN and TSTATE_USER macros.
2008-03-02 15:07:02 +00:00
lukem
1f09f2e309
Use mkstemp() instead of mktemp().
...
Use snprintf() instead of sprintf().
Improve error reporting.
2008-03-02 12:51:59 +00:00
yamt
59a00111af
pool_do_put: remove pa_starved_p check for now as it seems to cause
...
more problems than it solves. PR/37993 from Greg A. Woods.
2008-03-02 12:19:58 +00:00
nakayama
7cf297723e
Don't get IPI handler argument (from bogus address), and ack IRQ twice.
2008-03-02 12:19:00 +00:00
jmmv
f51186f572
Fix build of tests when USETOOLS=no. Reported by veego@ in current-users
...
and notified to me by martin@.
2008-03-02 11:31:42 +00:00
jmmv
a099cd28dc
Add the new t_modload test program.
2008-03-02 11:23:49 +00:00
jmmv
256b5bd1a9
Add tests for load-time parameter passing to modules, both at the syscall
...
level through modctl(2) and at the user level through the modload(8)
utility.
2008-03-02 11:22:10 +00:00
jmmv
9e8fd365e9
Add the ability to specify load-time properties for modules. This adds
...
three new flags to the new modload utility: -b, -i and -s, which are used
to pass boolean, integer and string parameters respectively.
2008-03-02 11:20:59 +00:00
jmmv
c062e07376
Add an example on how to handle the incoming properties during module load.
2008-03-02 11:19:30 +00:00
jmmv
3fd8e29a11
Add support for load-time parameters for modules, which are passed through
...
a dictionary. As discussed in tech-kern@.
2008-03-02 11:18:43 +00:00
bjs
9edaf4a46f
Fix bus_dmamem_free() call to provide 'segs' as the second argument.
...
While here, add DRM_PCI_DMAADDR macro so that we set handle->busaddr
in a portable way.
Next is the more difficult [annoying] part: use bus_dma(9) with
scatter/gather buffers.
2008-03-02 07:12:15 +00:00
tsutsui
590ed564a8
WARNSfy
2008-03-02 06:17:41 +00:00
macallan
b14b0caf09
allow userland to map all video memory, not just the visible part
2008-03-02 00:54:25 +00:00
rmind
2fd89ef88a
Rename selrecord(9) man page to select(9). Sync selnotify() with reality,
...
remove selwakeup(), add and explain the usage of selinit() and seldestroy().
Reviewed by <ad>.
2008-03-02 00:30:21 +00:00