openbsd
16 years agomake these compile cleanly
joris [Tue, 8 Jul 2008 12:54:13 +0000 (12:54 +0000)]
make these compile cleanly

16 years agouse cf->fd in cvs_remote_sendfile() instead of using a local
joris [Tue, 8 Jul 2008 12:29:58 +0000 (12:29 +0000)]
use cf->fd in cvs_remote_sendfile() instead of using a local
variable that is only used once, which is in this case.

16 years agobump version to 4.4
joris [Tue, 8 Jul 2008 12:25:47 +0000 (12:25 +0000)]
bump version to 4.4

16 years agothis makes the code in sdattach less dense by collapsing the flags we pass
dlg [Tue, 8 Jul 2008 12:17:48 +0000 (12:17 +0000)]
this makes the code in sdattach less dense by collapsing the flags we pass
to all the scsi midlayer code into a local variable.

ok krw@ marco@

16 years agoTypo in summarize output.
ajacoutot [Tue, 8 Jul 2008 11:04:28 +0000 (11:04 +0000)]
Typo in summarize output.

ok sthen@

16 years agoRemove the IDE_PCI_CLASS_OVERRIDE quirk flag for the Intel AHCI controllers
brad [Tue, 8 Jul 2008 05:59:39 +0000 (05:59 +0000)]
Remove the IDE_PCI_CLASS_OVERRIDE quirk flag for the Intel AHCI controllers
as they're of the subclass SATA and the SiI3512 SATA controller as it is of
the subclass MISC.

ok jsg@

16 years agovmt(4) is a kernel level implementation of the vmware tools.
dlg [Tue, 8 Jul 2008 05:21:59 +0000 (05:21 +0000)]
vmt(4) is a kernel level implementation of the vmware tools.

it only provides the hosts machines clock as a timedelta sensor so far.

getting it into the tree so people can work on it as suggested by fgsch@

16 years agoUpdate 2300 firmware from 3.01.20 (Dec 19, 2002) to 3.03.19 (Nov
krw [Tue, 8 Jul 2008 01:46:24 +0000 (01:46 +0000)]
Update 2300 firmware from 3.01.20 (Dec 19, 2002) to 3.03.19 (Nov
30, 2005). From mjacob via FreeBSD. No known code dependency, and
prepares ground for major isp update.

Tested on a 2312 by dlg@.

ok dlg@ deraadt@

16 years agoComment correction, actually -> actual
brad [Mon, 7 Jul 2008 23:41:58 +0000 (23:41 +0000)]
Comment correction, actually -> actual

ok henning@

16 years ago/*NOTREACHED*/ for lint warning:
stevesk [Mon, 7 Jul 2008 23:32:51 +0000 (23:32 +0000)]
/*NOTREACHED*/ for lint warning:
  warning: function key_equal falls off bottom without returning value
ok djm@

16 years agoMatch on XMITS (which is a PCI-X Schizo variant found on Sun Fire
kettenis [Mon, 7 Jul 2008 23:22:27 +0000 (23:22 +0000)]
Match on XMITS (which is a PCI-X Schizo variant found on Sun Fire
E2900/E4900/E6900/E20K/E25K systems).  There's a fairly good chance it'll
just work.

16 years agosync
deraadt [Mon, 7 Jul 2008 22:08:12 +0000 (22:08 +0000)]
sync

16 years ago- Improve negotation and fix some more DPRINTFs.
mglocker [Mon, 7 Jul 2008 18:07:51 +0000 (18:07 +0000)]
- Improve negotation and fix some more DPRINTFs.

16 years agobcachestats got bumbed too u_int64_t's and I forgot about
thib [Mon, 7 Jul 2008 17:16:27 +0000 (17:16 +0000)]
bcachestats got bumbed too u_int64_t's and I forgot about
munging systat to handle the field with;

pointed out by mickey

ok canacar@

16 years agoThe current drm_locked_task*() code sometimes tries to sleep in an
oga [Mon, 7 Jul 2008 16:29:57 +0000 (16:29 +0000)]
The current drm_locked_task*() code sometimes tries to sleep in an
interrupt handler.

This is bad and wrong. So change it so that if we can't immediately grab
the hardware lock, to just leave the task flagged so that we can run it
when we release the lock. The linux implementation uses a similar
scheme.

Tested by guenther@, landry@ and bernd@. Also tested by many a while
ago as part of a larger diff.

16 years agoRework the ntpd question to default to no, and ask for the NTP server only if user...
jdixon [Mon, 7 Jul 2008 15:53:15 +0000 (15:53 +0000)]
Rework the ntpd question to default to no, and ask for the NTP server only if user chooses yes.  Easier than the 3-part question and requires far fewer keystrokes to enable the 'default'.

ok krw@

16 years agoExtend sbbc(4) to provide a console driver for the v1280.
kettenis [Mon, 7 Jul 2008 14:46:18 +0000 (14:46 +0000)]
Extend sbbc(4) to provide a console driver for the v1280.

16 years agoFix typo in comment.
kettenis [Mon, 7 Jul 2008 14:38:42 +0000 (14:38 +0000)]
Fix typo in comment.

16 years agoUpdate to tzdata2008d from elsie.nci.nih.gov.
millert [Mon, 7 Jul 2008 14:24:14 +0000 (14:24 +0000)]
Update to tzdata2008d from elsie.nci.nih.gov.

16 years agoAdd an entry to report the bus clock on bernd's atom laptop.
jsg [Mon, 7 Jul 2008 13:41:59 +0000 (13:41 +0000)]
Add an entry to report the bus clock on bernd's atom laptop.
Intel don't publish the EST voltage tables, and they don't
even publish the MSRs for a shipping processor so we
can figure out how to do this in the backwards highest/lowest
way cleanly.

The mapping might look like the Core * one, but who really knows
for sure outside of a few guys at Intel.  Other machines with
Atom processors and a different bus clock will have to be added
one by one until this stupidity changes.

Tested by bernd, ok gwk

16 years agoUse bus_dmamap_load_mbuf() instead of bus_dmamap_load() when
thib [Mon, 7 Jul 2008 12:53:43 +0000 (12:53 +0000)]
Use bus_dmamap_load_mbuf() instead of bus_dmamap_load() when
we want too load an mbuf; remove a printf that fires in case
we can't load the mbuf (We do error handling and recovery).

ok brad@, dlg@

16 years agoShorten the sensor description and reserve room for optional characters
mbalmer [Mon, 7 Jul 2008 08:01:47 +0000 (08:01 +0000)]
Shorten the sensor description and reserve room for optional characters
only when they are needed.  Makes locations like -123d45m,-123d45m fit.

16 years agoAdd AGP and hostbridge support for the Intel 82945GME chipset.
bernd [Mon, 7 Jul 2008 07:54:48 +0000 (07:54 +0000)]
Add AGP and hostbridge support for the Intel 82945GME chipset.

ok jsg@

16 years agosync
bernd [Mon, 7 Jul 2008 07:40:54 +0000 (07:40 +0000)]
sync

16 years agoAdd Intel 82945GME Hostbridge and Video.
bernd [Mon, 7 Jul 2008 07:38:40 +0000 (07:38 +0000)]
Add Intel 82945GME Hostbridge and Video.

ok jsg@

16 years agoApplication-specified thread stacks didn't work with libpthread
guenther [Mon, 7 Jul 2008 04:59:22 +0000 (04:59 +0000)]
Application-specified thread stacks didn't work with libpthread
because it treated the supplied memory as holding an internal data
structure instead of as the stack space itself

ok kurt@, "looks ok" otto@, tested on hppa by kettenis@

16 years agotweak the alignment of the rx buffers so the headers in the frame are
dlg [Mon, 7 Jul 2008 00:42:34 +0000 (00:42 +0000)]
tweak the alignment of the rx buffers so the headers in the frame are
better aligned for fast access. i didnt bench, so maybe this does nothing.

16 years agowe don't need arg after the debug3() was removed. from lint.
stevesk [Mon, 7 Jul 2008 00:31:41 +0000 (00:31 +0000)]
we don't need arg after the debug3() was removed.  from lint.
ok djm@

16 years agooops, fix getpwent() use of wrong buffers
deraadt [Sun, 6 Jul 2008 22:19:39 +0000 (22:19 +0000)]
oops, fix getpwent() use of wrong buffers
found by alexander.schrijver

16 years agoAdd the position to the sensor description.
mbalmer [Sun, 6 Jul 2008 21:03:13 +0000 (21:03 +0000)]
Add the position to the sensor description.

discussed with otto, sthen, ckuethe.  ok otto

16 years agoremove #ifndef nolint goo
thib [Sun, 6 Jul 2008 16:54:48 +0000 (16:54 +0000)]
remove #ifndef nolint goo

ok blambert@

16 years agoDon't change the size of the partition being newfs'd when sectorsize,
krw [Sun, 6 Jul 2008 15:03:36 +0000 (15:03 +0000)]
Don't change the size of the partition being newfs'd when sectorsize,
either from the disklabel or via -S, is not 512 bytes. Disklabel
partition sizes are sectors and not 512 byte blocks. One less 'block
is 512 bytes' assumption. 2^32 or so to go.

ok otto@ millert@

16 years ago- no need for .Pp before or after .Sh
jmc [Sun, 6 Jul 2008 14:34:14 +0000 (14:34 +0000)]
- no need for .Pp before or after .Sh
- no comma for last SEE ALSO item

16 years agoMake 'dhcp' the initial default when configuring the network. This
krw [Sun, 6 Jul 2008 14:31:19 +0000 (14:31 +0000)]
Make 'dhcp' the initial default when configuring the network. This
makes one more answer <cr>'able during install without changing any
existing behaviour.

Change 'NTP server?' default answer from 'none' to 'default'.

Suggested by thib@, supported by marco@, jsing@, millert@

16 years agoWhen the device gets close switch back from alternate interface to
mglocker [Sun, 6 Jul 2008 13:50:36 +0000 (13:50 +0000)]
When the device gets close switch back from alternate interface to
default interface.  Nice side effect;  Turns off the cams LED again.

16 years agospacing.
sobrado [Sun, 6 Jul 2008 13:49:35 +0000 (13:49 +0000)]
spacing.

16 years agosync synopsis and usage.
sobrado [Sun, 6 Jul 2008 13:42:35 +0000 (13:42 +0000)]
sync synopsis and usage.

16 years agospacing.
sobrado [Sun, 6 Jul 2008 13:36:09 +0000 (13:36 +0000)]
spacing.

16 years agoZap redundant prototype for nfsrv_zapsock();
thib [Sun, 6 Jul 2008 13:33:54 +0000 (13:33 +0000)]
Zap redundant prototype for nfsrv_zapsock();

16 years agopciide_match() is a bit convoluted, we match anything claiming
jsg [Sun, 6 Jul 2008 10:38:52 +0000 (10:38 +0000)]
pciide_match() is a bit convoluted, we match anything claiming
to be MASS_STORAGE subclass IDE regardless of id, and other
ids depending on the subclass and a known id or a known id
and the override flag.

We really want to check the subclass so we don't attach
pciide to the wrong function of a chip, which happened
last time around before the additional subclasses were
checked in the non override case and the overrides were pulled.

A bunch of the override flags were pulled after some common
subclasses (SATA/RAID) were added.  So if we have a known
id and a SATA/RAID subclass we would match.  Turns out some
Silicon Image SATA devices claim to be of subclass MISC
so add that as well.  Unbreaks one of hennings machines
with 3114 SATA and likely quite a few other machines.

'seems safe enough to me' miod@

16 years agoUse UT_{READ|WRITE}_VENDOR_DEVICE instead of self defined values.
mbalmer [Sun, 6 Jul 2008 10:00:47 +0000 (10:00 +0000)]
Use UT_{READ|WRITE}_VENDOR_DEVICE instead of self defined values.

16 years agoAdjust SYNOPSIS.
kettenis [Sun, 6 Jul 2008 09:08:21 +0000 (09:08 +0000)]
Adjust SYNOPSIS.

16 years agossm(4)
kettenis [Sun, 6 Jul 2008 09:05:04 +0000 (09:05 +0000)]
ssm(4)

16 years agoEnable ssm(4) and remove hacks that worked around the fact that we didn't
kettenis [Sun, 6 Jul 2008 08:53:38 +0000 (08:53 +0000)]
Enable ssm(4) and remove hacks that worked around the fact that we didn't
have it.

16 years agoAdd ssm(4), a driver for the scalable shared memory device found on
kettenis [Sun, 6 Jul 2008 08:51:44 +0000 (08:51 +0000)]
Add ssm(4), a driver for the scalable shared memory device found on
Serengeti and Starcat systems.

16 years agoBump verson number now that the bootloader works on the v1280.
kettenis [Sun, 6 Jul 2008 08:47:02 +0000 (08:47 +0000)]
Bump verson number now that the bootloader works on the v1280.

16 years agosbbc(4)
kettenis [Sun, 6 Jul 2008 07:28:32 +0000 (07:28 +0000)]
sbbc(4)

16 years agoAdd sbbc(4), a driver for the BootBus controller on Serengeti and StarCat
kettenis [Sun, 6 Jul 2008 07:27:43 +0000 (07:27 +0000)]
Add sbbc(4), a driver for the BootBus controller on Serengeti and StarCat
systems that provides time of day services and (in the future) console
services.

16 years agoAdd missing include such that RAMDISK kernels compile again.
kettenis [Sun, 6 Jul 2008 07:25:04 +0000 (07:25 +0000)]
Add missing include such that RAMDISK kernels compile again.

16 years agosync
deraadt [Sun, 6 Jul 2008 04:57:57 +0000 (04:57 +0000)]
sync

16 years agoCopy OBP breakpoint vector from the PROM trap table into our own trap table.
kettenis [Sat, 5 Jul 2008 23:08:08 +0000 (23:08 +0000)]
Copy OBP breakpoint vector from the PROM trap table into our own trap table.
This makes the kernel properly enter the prom upon halt on the v1280.

16 years agoAdd function to read %tba.
kettenis [Sat, 5 Jul 2008 23:06:06 +0000 (23:06 +0000)]
Add function to read %tba.

16 years agoApparantly the "chain" OpenFirmware interface always fails so don't bother
kettenis [Sat, 5 Jul 2008 23:03:04 +0000 (23:03 +0000)]
Apparantly the "chain" OpenFirmware interface always fails so don't bother
with it.  Makes the bootloader work on the v1280 where the firmware breaks
into the firmware debugger instead of returning failure.

16 years agoRound up memory allocations to page size. Apparently sane firmware versions do
kettenis [Sat, 5 Jul 2008 22:59:14 +0000 (22:59 +0000)]
Round up memory allocations to page size.  Apparently sane firmware versions do
this automatically, but the braindead firmware on the v1280 doesn't do this
and makes the allocation fail.

16 years agoSpecify the correct number of arguments in prom call that sets the trap table
kettenis [Sat, 5 Jul 2008 22:17:21 +0000 (22:17 +0000)]
Specify the correct number of arguments in prom call that sets the trap table
(1 for sun4u, 2 for sun4v).

16 years agoCalculate the size of kernel text correctly if it spans multiple prom mapping
kettenis [Sat, 5 Jul 2008 21:20:48 +0000 (21:20 +0000)]
Calculate the size of kernel text correctly if it spans multiple prom mapping
entries.  This is necessary on the v1280 where the firmware mixes 4MB and 8KB
mappings to map kernel text.

tested by miod@ and nick@

16 years agoLink bootloader at 1MB (same a the Solaris bootloader) instead of 8MB (which
kettenis [Sat, 5 Jul 2008 21:17:28 +0000 (21:17 +0000)]
Link bootloader at 1MB (same a the Solaris bootloader) instead of 8MB (which
the firmware on the v1280 doesn't like).

tested by many

16 years agosynchronize usage of atactl commands with manual page.
sobrado [Sat, 5 Jul 2008 21:13:47 +0000 (21:13 +0000)]
synchronize usage of atactl commands with manual page.

ok millert@, (for the change) jmc@

16 years agoeach utility must have its own usage and an unique set of options.
sobrado [Sat, 5 Jul 2008 21:00:38 +0000 (21:00 +0000)]
each utility must have its own usage and an unique set of options.

diff written by millert based on a previous one by me;
millert's diff has a much better style and adds support for different
sets of options for each utility.

ok millert@

16 years agoeach utility must have its own usage and its own set of options;
sobrado [Sat, 5 Jul 2008 20:59:42 +0000 (20:59 +0000)]
each utility must have its own usage and its own set of options;
b64encode and b64decode are equivalent to running uuencode and uudecode
respectively with the -m flag specified, so this flag should not be
available in these utilities; while here, fix synopsis.

based on millert's diff for compress/gzip.

ok millert@

16 years agoThe firmware on the v1280 changes %wstate behind our back. Work around this
kettenis [Sat, 5 Jul 2008 20:53:33 +0000 (20:53 +0000)]
The firmware on the v1280 changes %wstate behind our back.  Work around this
problem by adopting the same encoding used by Solaris for the kernel windows.
Note that this involves rearranging the trap vector tables, both fur sun4u and
for sun4v.

16 years agoDon't play games with %cleanwin when spinning up secondary CPUs. The firmware
kettenis [Sat, 5 Jul 2008 19:30:44 +0000 (19:30 +0000)]
Don't play games with %cleanwin when spinning up secondary CPUs.  The firmware
on the v1280 doesn't like it if we change it behind its back.

16 years agoWhen waking an nfs daemon, use wakeup_one vice wakeup, as
blambert [Sat, 5 Jul 2008 18:28:08 +0000 (18:28 +0000)]
When waking an nfs daemon, use wakeup_one vice wakeup, as
a) we're attempting to wake a specific process which
b) sleeps on a unique address
which means that there's no need to continue traversing the sleep
queue once the process has been found and awakened.

"looks good too me" thib@

16 years agoregen
kettenis [Sat, 5 Jul 2008 18:22:26 +0000 (18:22 +0000)]
regen

16 years agoAdd Sun SBBC.
kettenis [Sat, 5 Jul 2008 18:21:47 +0000 (18:21 +0000)]
Add Sun SBBC.

16 years agoRemove R_GETONEREP and the code that checks if its set
thib [Sat, 5 Jul 2008 17:34:26 +0000 (17:34 +0000)]
Remove R_GETONEREP and the code that checks if its set
(its never set).

"please kill it" blambert@

16 years agoin pf_state_key_attach(), when there is already an existing state key that
david [Sat, 5 Jul 2008 16:57:50 +0000 (16:57 +0000)]
in pf_state_key_attach(), when there is already an existing state key that
can be used and we return the state key back to the pool, don't insert
state items into the tailq using that garbage state key.
this makes things much happier for me.
ok henning@

16 years agoWhen SCSIDEBUG'ing, print data about to be written (for commands
krw [Sat, 5 Jul 2008 16:07:01 +0000 (16:07 +0000)]
When SCSIDEBUG'ing, print data about to be written (for commands
flagged SCSI_DATA_OUT) and data that has been returned (for commands
flagged SCSI_DATA_IN). This is better than just printing the data
buffer before the command is issued since that does not include any
data that has been read. e.g. INQUIRY data, as thib@ and I discovered.

ok marco@

16 years agoFix a comment: Code defines FTDI_SIO_GET_STATUS, use that in
mbalmer [Sat, 5 Jul 2008 14:41:28 +0000 (14:41 +0000)]
Fix a comment:  Code defines FTDI_SIO_GET_STATUS, use that in
comments, not FTDI_SIO_GET_MODEM_STATUS which is not defined anywhere.
Also note that on newer devices like the FT232R the request is two
bytes, not one.

16 years agobumb the bcachestats and the nchstats counters from long
thib [Sat, 5 Jul 2008 12:56:52 +0000 (12:56 +0000)]
bumb the bcachestats and the nchstats counters from long
to u_int64_t's; add two new counters to nchstats that will
be used in the future.

ok art@, beck@

16 years agoClean up some old dead code, mostly nqnfs and kerberos leftovers
thib [Sat, 5 Jul 2008 12:51:04 +0000 (12:51 +0000)]
Clean up some old dead code, mostly nqnfs and kerberos leftovers
for uid goo, mostly zapping unused members from various structures.

ok blambert@

16 years agore-introduce vdrop() to signal a lost intrest in a vnode;
thib [Sat, 5 Jul 2008 12:48:03 +0000 (12:48 +0000)]
re-introduce vdrop() to signal a lost intrest in a vnode;

ok art@

16 years agouse m_freem() instead of MFREE() since we ignore the
thib [Sat, 5 Jul 2008 12:45:06 +0000 (12:45 +0000)]
use m_freem() instead of MFREE() since we ignore the
mbuf that points to the rest of the chain (if it is a
chain).

ok blambert@

16 years agoMention support for the Expert mouseCLOCK USB II and the lack of MSF
mbalmer [Sat, 5 Jul 2008 12:18:27 +0000 (12:18 +0000)]
Mention support for the Expert mouseCLOCK USB II and the lack of MSF
support.

16 years agoAdd support for the new Expert mouseCLOCK USB II that uses an FTDI
mbalmer [Sat, 5 Jul 2008 12:11:51 +0000 (12:11 +0000)]
Add support for the new Expert mouseCLOCK USB II that uses an FTDI
FT232R chip to interface the receiver (instead of the NetCologne
chip used on older models).  Only the DCF77 and HBG receivers are
supported.

A sidenote:  Gude ADS not only provides me with receivers and
documentation, but as a result of my feedback on their older receivers
the new ones now have proper USB product IDs to distinguish between
DCF77, HBG, and MSF.

16 years ago- correct .Dt for pthread_attr_setstack.3
jmc [Sat, 5 Jul 2008 10:43:07 +0000 (10:43 +0000)]
- correct .Dt for pthread_attr_setstack.3
- new sentence, new line

16 years agoAdd manpage for pthread_attr_[sg]etstack(3)
guenther [Sat, 5 Jul 2008 08:03:57 +0000 (08:03 +0000)]
Add manpage for pthread_attr_[sg]etstack(3)
Correct misnaming in STANDARDS section
ok brad@ otto@

16 years agoksh starting as root will refuse to import a PS1 prompt unless it
djm [Sat, 5 Jul 2008 07:25:18 +0000 (07:25 +0000)]
ksh starting as root will refuse to import a PS1 prompt unless it
contains a '#' character. Make it also accept the \$ PS1 sequence
(which is supposed to automagically be $ or # depending on the user
running the shell) unless ksh has been started in sh-compatibility
mode.

pointed out by millert@ when I asked why my SUDO_PS1 was not being
honoured; ok millert@

16 years agogrammar
djm [Sat, 5 Jul 2008 05:16:01 +0000 (05:16 +0000)]
grammar

16 years agoMake protocol 1 MaxAuthTries logic match protocol 2's.
djm [Fri, 4 Jul 2008 23:30:16 +0000 (23:30 +0000)]
Make protocol 1 MaxAuthTries logic match protocol 2's.

Do not treat the first protocol 2 authentication attempt as
a failure IFF it is for method "none".

Makes MaxAuthTries' user-visible behaviour identical for
protocol 1 vs 2.

ok dtucker@

16 years agohandle EINTR in packet_write_poll()l ok dtucker@
djm [Fri, 4 Jul 2008 23:08:25 +0000 (23:08 +0000)]
handle EINTR in packet_write_poll()l ok dtucker@

16 years agoAdd T_MON_BREAKPOINT, the trap vector used by OBP for breakpoints.
kettenis [Fri, 4 Jul 2008 22:04:37 +0000 (22:04 +0000)]
Add T_MON_BREAKPOINT, the trap vector used by OBP for breakpoints.

16 years agoChange trapbase from a pointer to a variable-length array such that it can
kettenis [Fri, 4 Jul 2008 22:03:30 +0000 (22:03 +0000)]
Change trapbase from a pointer to a variable-length array such that it can
actually be used to access trap vectors.

16 years agoAdd a little hack to recognize the boot device on the v1280.
kettenis [Fri, 4 Jul 2008 18:48:45 +0000 (18:48 +0000)]
Add a little hack to recognize the boot device on the v1280.

16 years agoMake debug code compile.
kettenis [Fri, 4 Jul 2008 17:40:25 +0000 (17:40 +0000)]
Make debug code compile.

16 years agoAdd support for ssm nodes as found on the v1280 and bigger machines. For now,
kettenis [Fri, 4 Jul 2008 17:20:27 +0000 (17:20 +0000)]
Add support for ssm nodes as found on the v1280 and bigger machines.  For now,
we pretend that ssm is mainbus.  Perhaps I'l turn it into a real bus driver
later.

16 years agoRemove unused NQNFS #define
blambert [Fri, 4 Jul 2008 16:49:28 +0000 (16:49 +0000)]
Remove unused NQNFS #define

ok thib@

16 years agoregen
yuo [Fri, 4 Jul 2008 15:07:44 +0000 (15:07 +0000)]
regen

ok jsg@

16 years agoadd new entries for 3G/3.5G modems
yuo [Fri, 4 Jul 2008 15:06:54 +0000 (15:06 +0000)]
add new entries for 3G/3.5G modems

16 years agoTeach sysmerge to retrieve {etc,xetc}*.tgz files from FTP/HTTP
sthen [Fri, 4 Jul 2008 15:03:45 +0000 (15:03 +0000)]
Teach sysmerge to retrieve {etc,xetc}*.tgz files from FTP/HTTP
paths using ftp(1). Thanks ajacoutot and jmc for suggestions.

ok ajacoutot jmc, no objection deraadt

16 years agoremove trailing whitespace;
jmc [Fri, 4 Jul 2008 14:55:59 +0000 (14:55 +0000)]
remove trailing whitespace;

16 years agoMake the proxy module work with https again by allowing the destination
mbalmer [Fri, 4 Jul 2008 14:39:37 +0000 (14:39 +0000)]
Make the proxy module work with https again by allowing the destination
port to be set in the config file instead of using HTTP_DEFAULT_PORT
in all cases.  Prevent a segfault that would happen when the SSL
connection from the proxy fails.

Problem found and analyzed by Mischa Diehm; fix by me.

16 years agofix compilation for !YP case; ok millert@
djm [Fri, 4 Jul 2008 12:50:23 +0000 (12:50 +0000)]
fix compilation for !YP case; ok millert@

16 years agono reason not to document that one can use ${WRKDIR}/bin to override
espie [Fri, 4 Jul 2008 10:55:55 +0000 (10:55 +0000)]
no reason not to document that one can use ${WRKDIR}/bin to override
nasty commands dependencies.

16 years agoclean up parser a bit, separating local/distant parts in a more reusable way,
espie [Fri, 4 Jul 2008 10:47:13 +0000 (10:47 +0000)]
clean up parser a bit, separating local/distant parts in a more reusable way,
and simplify file: parsing scheme (trying it with file:, then without is
a bit stupid once we have the pieces to put it back together directly).
Drop the restriction on urls from the man page, no need to finish stuff with /.

16 years agosome small text improvements; ok ajacoutot
jmc [Fri, 4 Jul 2008 10:23:56 +0000 (10:23 +0000)]
some small text improvements; ok ajacoutot

16 years agoMake debug a little clearer. ok djm@
dtucker [Fri, 4 Jul 2008 03:47:02 +0000 (03:47 +0000)]
Make debug a little clearer.  ok djm@

16 years agosupport negation of groups in "Match group" block (bz#1315); ok dtucker@
djm [Fri, 4 Jul 2008 03:44:59 +0000 (03:44 +0000)]
support negation of groups in "Match group" block (bz#1315); ok dtucker@

16 years agoin pf_state_key_attach(), when we find that there already is a state key
henning [Fri, 4 Jul 2008 00:56:48 +0000 (00:56 +0000)]
in pf_state_key_attach(), when we find that there already is a state key
that we can attach the state to, make sure to not overwrite the state key
pointer in the state that was just set to the existing state key with the
state key that was supplied with the state and just free'd (well, pool_put'd).
by the time we clean up the state and try to follow it to RB_REMOVE etc
we'd follow that garbage pointer to either an unrelated state key or the old
state key still sitting unused in the pool.
should fix the RB_REMOVE panics some people have been seeing.
"clearly ok, please commit" ryan

16 years agoremove prototype for nonexistant function
henning [Fri, 4 Jul 2008 00:09:31 +0000 (00:09 +0000)]
remove prototype for nonexistant function