Commit Graph

134212 Commits

Author SHA1 Message Date
briggs
9ca4305a3b Add spr.h. 2005-02-17 02:14:52 +00:00
briggs
7e9ffb8e19 Install spr.h 2005-02-17 02:14:23 +00:00
simonb
6c20b6dd04 Fix formatting problems with previous change. 2005-02-17 00:53:45 +00:00
reinoud
cc0a2a8fbb Add the KERNEL-only flag FKIOCTL (like its named in Solaris) to be passed
as extra flag to VOP_IOCTL() calls to indicate that addresses/data blocks
specified in the ioctl paramter like an address to a datablock to be filled
is for kernel use and not for userland.

The few ioctl calls that have this kind of variable-length parameter
passing can then decide if they ought to use copyout() or to use memcpy()
depending on this FKIOCTL flag.

Name and patch discussed on tech-kern.
2005-02-16 23:34:05 +00:00
yamt
e931d47c16 update status of yamt-km. 2005-02-16 22:13:31 +00:00
chs
d67b9b2ff2 undo the part of rev. 1.93 that turned the past-EOF check into an assertion.
read() can't request pages past EOF, but mmap() can.  apparently I had
disengaged the brain when I said that was ok.
2005-02-16 15:25:33 +00:00
christos
63fca13660 PR/29203, PR/29204: Max Okumoto: KNF changes to make [no functional changes] 2005-02-16 15:11:52 +00:00
briggs
da725d663a Initialize snd_high as part of tcp_sendseqinit().
From Kentaro A. Kurahone.
2005-02-16 15:00:47 +00:00
briggs
a825f3e77c Initialize t_partialacks in the tcpcb template.
From Kentaro A. Kurahone.
2005-02-16 14:59:40 +00:00
jwise
4cf2ccf6dc Wording fix. Comment still not entirely clear. 2005-02-16 14:47:46 +00:00
wiz
ae55db70ab file-4.13 is out. 2005-02-16 12:04:10 +00:00
agc
2d2a9f331d Also display package name when having trouble displaying package
information with show_index().
2005-02-16 08:35:26 +00:00
martin
9ba6d74025 Add SUNTAC U-Cable type A4 support,
from yamajun at ofug dot net, in PR kern/29397.
2005-02-16 07:52:47 +00:00
elric
48f369dafd Put Kerberos configuration options back into client config parsing
routines.
2005-02-16 05:04:05 +00:00
hubertf
756c7041c0 Add "df" display to give information about filesystems, available diskspace
and used disk capacity, similar to df(1):

Filesystem        Avail   Capacity
                         /0%  /10% /20% /30% /40% /50% /60% /70% /80% /90% /100%
/                  359M |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
/tmp               180M |
/home              146G |XXXXXXXXXXXXXXXX
2005-02-16 03:45:41 +00:00
elric
e6e79dacef The API for ksyms_getval_from_kernel changed. 2005-02-16 00:30:28 +00:00
kleink
58e3cc3d46 Add COW, FCS, GCR, ZFOD. 2005-02-16 00:04:23 +00:00
cube
a3536fa4ff Welcome to 2.99.16 [fdclone and ksyms_getval changes]. 2005-02-15 21:11:01 +00:00
cube
9367bbf87b The way I handled /dev/ksyms requests vs. kernel requests was completely
broken.  Inside the kernel, we always have to use the real values of the
st_name fields, and only do the math when the request comes from userland.

No need for ksyms_getval_from{kernel,userland} hack anymore.  However, a
different version will be asked for pull-up in -2{,-0}, one that doesn't
break the API, that is.

Fixes PR#29133 from Jens Kessmeier.
2005-02-15 21:09:57 +00:00
jwise
5af43e174b FFS_SNAPSHOT does not need to be here _twice_, once on, once off. Obviously,
we keep the one that's on, so as not to change meaning.
2005-02-15 21:07:37 +00:00
reed
ff1c165d76 Document the environment variables for if you need to override or
manually select your compilers.
(And regen BUILDING from doc/BUILDING.mdoc.)
2005-02-15 18:41:18 +00:00
he
e4afa5eb28 A sig_atomic_t isn't necessarily compatible with a %d printf format;
on evbsh5 sig_atomic_t is an __int64_t.  Since this only stores a
signal number, cast to int before printing.
2005-02-15 16:22:12 +00:00
christos
0ed5e83fbf Don't always increment i, because when we reach the end of the array we'll
die.
2005-02-15 16:10:02 +00:00
jsm
58b3287ba1 Don't presume phantasia's internal bool (char) is the same as that in
curses.h: define phbool and use it where necessary to avoid declaring
functions with one bool and defining them with the other.

Reviewed by <hubertf>.
2005-02-15 12:58:21 +00:00
jsm
b91a81ab9f Cast last argument of execl to (char *).
Reviewed by <hubertf>.
2005-02-15 12:56:20 +00:00
jsm
2773e864bb Avoid arrays of incomplete types (required to build with GCC 4).
Reviewed by <hubertf>.
2005-02-15 12:54:50 +00:00
briggs
2847fb818d Be more verbose at attachment. Display kernel revision and add
the monitor revision and adapter serial number at a "verbose" level.
Add the total adapter RAM at "normal" level.
2005-02-15 12:29:33 +00:00
briggs
10a93c41d6 Allow MAXPHYS-sized instead of IDEDMA_BYTE_COUNT_MAX-sized transfers
to be described by a transfer table.
2005-02-15 12:20:37 +00:00
wiz
0a718347c7 Bump date for ENABLEDMA -> DISABLEDMA. 2005-02-15 08:15:17 +00:00
lukem
b088f0cb30 Add some more stripe sizes observed in the field.
Add "JBOD" to twe_table_unittype[].
2005-02-15 05:56:34 +00:00
briggs
419d76c6a9 Identify Intel 80303 cpu variant. 2005-02-15 04:49:31 +00:00
briggs
f5218aad0f Move the definition of NIDEDMA_TABLES from pciidereg.h to be closer to
its only user in pciide_common.c.  Also redefine NIDEDMA_TABLES to match
the max DMA transfer size specified in the call to bus_dmamap_create()
(IDEDMA_BYTE_COUNT_MAX instead of MAXPHYS).
The macro is also redefined to handle devices that have a PAGE_SIZE greater
than sc_dma_maxsegsz (buggy revision of satalink 3112 on ibm4xx).
2005-02-15 03:18:22 +00:00
he
b4d3212ec4 Use a compact list for the supported controller types.
I'm guessing this doesn't warrant bumping the date on the man page.
2005-02-14 22:53:23 +00:00
peter
41ea7e91a7 Merge in a fix from OPENBSD_3_6.
ok yamt@

> MFC:
> Fix by dhartmei@
>
> replace finer-grained spl locking in pfioctl() with a single broad lock
> around the entire body. this resolves the (misleading) panics in
> pf_tag_packet() during heavy ioctl operations (like when using authpf)
> that occur because softclock can interrupt ioctl on i386 since SMP.
> patch from camield@.
2005-02-14 21:28:33 +00:00
peter
1b4e743b06 Merge in a fix from OPENBSD_3_6.
ok yamt@

> MFC:
> Fix by dhartmei@
>
> ICMP state entries use the ICMP ID as port for the unique state key. When
> checking for a usable key, construct the key in the same way. Otherwise,
> a colliding key might be missed or a state insertion might be refused even
> though it could be inserted. The second case triggers the endless loop
> fixed by 1.474, possibly allowing a NATed LAN client to lock up the kernel.
> Report and test data by Srebrenko Sehic.
2005-02-14 21:27:26 +00:00
dsl
f712e70aee expbackq() was incorrectly backing up a temporary buffer when removing \n
from the end of output of commands inside $(...) substitutions.
If the program output is n*128+1 bytes long (ending in a \n) then the code
checks buf[-1] for another \n - looking an uninitialised stack.
On a big-endian system an integer of value 10 will satisfy this (unlikely
on little endian) and can happen depending on the last code path to use
a lot of stack!
This caused the problem with newvers.sh on sparc64 after ', 2005' was
added to the date list.
Fixed PR/28852
2005-02-14 20:46:26 +00:00
briggs
a3b97e0765 twe doesn't get a block device. 2005-02-14 18:17:41 +00:00
fredb
556db3aecb Expand the description of "reboot" slightly: add cross-references to
reboot(2) and reboot(8), and especially document RB_DUMP -- which is,
in fact, documented in reboot(2), if you'd only known to look there.
2005-02-14 18:14:27 +00:00
agc
26747df972 Make show_file() take an extra argument, that of the package name, and
display the package name with every warning message when displaying the
contents of metadata files.

Whilst I'm here, correct the function name in another warning message.
2005-02-14 16:16:24 +00:00
is
f6988587d3 Document status of newarp branch. 2005-02-14 16:08:23 +00:00
fredb
cc046a4771 Delete a superfluous comma. 2005-02-14 13:29:03 +00:00
fredb
6849b2fd34 Clarify that controls affecting both playback and recording should also
be placed in the AudioCinputs class.
2005-02-14 13:28:24 +00:00
skrll
2c796d32fc Correct reference to uio_resid. PR 29355. 2005-02-14 12:44:15 +00:00
chs
9cc4bd69b2 fix typoe in previous. 2005-02-14 02:22:48 +00:00
chs
589a29e548 fix an off-by-on in pmap_check_wiring(): we increment the PTP refcount
before calling this, so it's ok to see the max value here.
2005-02-14 02:15:43 +00:00
fredb
e4ad980fcd "output.source" on the Ensoniq 1371 really should be "input.source". Making
it so lets the audio(4) interface -- play.port and play.gain -- attach
properly.  Analysis and patch provided by Joachim Kuebart in PR kern/29178.
2005-02-13 23:58:38 +00:00
fredb
380c7a5d1e For the "record.port", choose "record.source" over "inputs.source" if the
former exists.  Partial fix for PR kern/29178.
2005-02-13 23:53:20 +00:00
fredb
fec463c4fe Comment as to why we run through the devinfo list twice, in audioattach(). 2005-02-13 23:50:22 +00:00
christos
0f037c7626 - Add depency ob ligssapi and the required c-file(s).
- Reorder libkafs so its possible to build w/o kerberos4
From Love.
2005-02-13 22:48:01 +00:00
christos
1b9aa59ad8 Add depency on libgssapi and add the required c-file(s)
From Love.
2005-02-13 22:44:07 +00:00