Commit Graph

138908 Commits

Author SHA1 Message Date
gdt e25f2a0d87 Restore to working order; this has apparently been nonworking since
the decapsulator dispatch changes in 2001.  Problems found and fixed
by Christine Jones of BBN.  Specifically:

Check for a packet's protocol to be ENCAP_PROTO, not AF_INET.

Remove one-back cache for last vif, because vif_encapcheck is called
for each vif, rather than being expected to find the appropriate vif.
The cache usage caused packets to be input on the wrong vif and hence
usually dropped.

In vif_encapcheck, verify the local source as well.  While mrouted
endeavors not to create multiple tunnels with a peer, a packet
arriving with the wrong local address is still wrong and should not be
accepted.  (This is a correctness nit, not a security issue.)  Order
checks to fail quickly for packets being checked to see if they match
a vif other than the one they belong on (essentially, check peer
source address in outer header first).

Claim 69 bits of match (32 each from outer src/dst and 5 from checking
that inner dst is within 224/5).  This should result in the vif having
a higher priority for multicast packets compared to a parallel gif(4)
tunnel, and that both seems appropriate if both are configured and
seems to match the semantics expected by the decapsulator dispatch
machinery.

(These changes were made in 2.99.15 and about a dozen nodes are
running them with many vifs.  ip_mroute.c has not changed
significantly since then (February 2005) and the changes applied
cleanly to current and compile cleanly.)
2005-08-03 18:20:11 +00:00
elad 5b5c5125f4 Change how we handle duplicates in the signatures file.
Just give collision information (filename, device, inode, old and new
entry type and algorithm, and note if the fingerprint is the same or not.
2005-08-03 18:05:16 +00:00
shige 9bc1bf15c8 Add md-kernel for installation: INSTALL_OPENBLOCKS266. 2005-08-03 14:55:37 +00:00
christos 262f96a2f6 Fix reversed test; from Gerry Swislow 2005-08-03 13:41:38 +00:00
onoe 5c08c84474 Fix mbuf leak in nfssvc_nfsd(). 2005-08-03 06:25:11 +00:00
elad a6ac91e102 Sync with reality.
- We now support multiple entry types and not just one
- We care for kern.veriexec.strict, not securelevel
- Add sysctl(3) to SEE ALSO
2005-08-02 18:54:53 +00:00
elad 42735a8747 Sync with reality.
- Verified Exec -> Veriexec
- pseudo-device is `veriexec'
- veriexec.conf -> signatures, and mention /etc/signatures as the default
  location
- We use veriexec's strict level, not the system securelevel
- Mention the `direct' option
- Mention that the signatures file can have multiple options in a single
  entry, comma-separated
- Mention that both `direct' and `indirect' access modes are implied
  if no access modes are explicitly mention in the options
- Bump date
2005-08-02 18:06:14 +00:00
elad 6e4a854552 Support multiple entry types. Direct, indirect, and file can now be
combined in the signatures file using commas.
2005-08-02 16:14:10 +00:00
rpaulo 2310089ccf Fix typos found by Giorgos Keramid and Steve Kargl on freebsd-arch mailing
list. They were found on libc x86_64 MD code, but I noticed that they are
present on i386 too.
2005-08-02 14:25:40 +00:00
rpaulo 270bc85b33 Fix typos found by Giorgos Keramid and Steve Kargl on freebsd-arch mailing
list.
2005-08-02 14:20:49 +00:00
kent 969266b7d7 * azalia_mixer_init()
set AUDIO_MAX_GAIN/2 to all of volume items.
2005-08-02 13:20:50 +00:00
christos 68d7e34555 On a fatal error, we want to stop processing the macro buffers. 2005-08-02 12:11:14 +00:00
kent 98532e5e3e - handle widgets without `format override' or `amp param override'
- support for volume knob
2005-08-02 11:17:56 +00:00
tron 4e72290930 Add missing second argument to another call of ch_reset(). 2005-08-02 10:20:33 +00:00
macallan af63a6798e fix a stupid typo 2005-08-02 01:35:05 +00:00
macallan ddb036e135 disable mmap()ing the framebuffer at offset 0 on sparc64 because some ATI
firmware likes to put PCI memory resources into this range, notably a Rage
IIc which puts the 2nd register aperture to 0x2000.
This should allow a few graphics chips to work with XFree86 which previously
failed with something like this:
(WW) ATI:  PCI/AGP Mach64 in slot 2:5:0 could not be detected!
No devices to configure.  Configuration failed.

Thanks to Florian Stoehr for doing most of the work tracking this down.
2005-08-02 01:32:13 +00:00
christos 0895008a17 Don't reset the macro strings each time we enter el_gets(), otherwise
el_push() is unusable programmatically.
2005-08-01 23:00:15 +00:00
christos 5ef1593468 Cleanup and make the arrays dynamically resizable. This will help for
only version 3, because version 2 is still artificially limited to MAXUSERS.
2005-08-01 21:08:34 +00:00
skrll cbdc27bb6a - Match more product ids.
- Don't initialise ic_phytype twice and do initialise ic_state.
- announce available rates.
- mark interface down if firmware crashes for the radio transmitter
  gets turned off.
2005-08-01 15:14:54 +00:00
skrll 8f0372bc09 Debug code tidy up. 2005-08-01 15:00:24 +00:00
christos ee399edc73 Don't forget to initialize h_del; from Julien Torres. 2005-08-01 14:34:06 +00:00
shige 2583f14538 Remove all IDE controllers except for hptide. 2005-08-01 13:02:00 +00:00
wiz 4b9a77db2a Remove another outdated variable. 2005-08-01 11:38:30 +00:00
xtraeme 5057789f26 Don't show ptyfs in the display, it's useless. 2005-08-01 02:38:03 +00:00
christos b6a232217f Pass lint and get/setprogname. 2005-07-31 20:19:40 +00:00
christos bce5269120 Move extern kernel variable declarations, into a _KERNEL protected session
so that the don't pollute userland's namespace.
2005-07-31 20:18:32 +00:00
xtraeme c99f08c80d typo 2005-07-31 19:40:50 +00:00
xtraeme 016ad35975 Add scan_lfs(8), utility to find LFS partitions on disk, useful
to recover lost disklabels.
2005-07-31 19:26:06 +00:00
skrll feea7c2127 Add ucycom(4). 2005-07-31 18:55:08 +00:00
christos 102bb7e88c - eliminate a goto.
- cast more returns to void.
- use waitpid instead of wait() to wait for our process, not accidentally
  wait for other children.
- return exitstatus only if exited, and return the termination signal otherwise.
2005-07-31 17:52:01 +00:00
augustss c3723e17d4 Add ucycom.4 2005-07-31 13:31:07 +00:00
kent b5db3a23de - make sure the power state of a node is D0
- ignore unsoliticited responses
2005-07-31 06:48:15 +00:00
yamt 852a558e35 revert 1.286 for now. (VMSWAP) 2005-07-31 04:13:20 +00:00
yamt 97d20debb1 regen. 2005-07-31 04:05:25 +00:00
yamt 38ca5312d2 revert "defflag VMSWAP" changes for now.
there seems to be far more people who don't want to edit
their kernel config files than i thought.
2005-07-31 04:04:30 +00:00
nakayama a658c6f937 Add missing name and date in previous commit. 2005-07-31 01:34:20 +00:00
nakayama d3dd7ae56b hpcmips: Add teliosio(4) driver for the Sharp Telios LCD screen and
Battery unit.
2005-07-31 01:11:07 +00:00
yamt 39df1811b1 document VMSWAP. 2005-07-31 01:07:02 +00:00
wiz b4c2f91b37 Add an article. 2005-07-31 00:25:58 +00:00
wiz f140dc629e Add /usr/share/man/{cat,html,man}4/hpcmips. 2005-07-31 00:22:55 +00:00
wiz c8110a6e00 Add some articles. 2005-07-31 00:21:09 +00:00
nakayama 69b6d49897 Add man page for teliosio(4). 2005-07-31 00:12:16 +00:00
nakayama 588f33c33a Get AC/battery state via config_hook_call if hooks are registered. 2005-07-30 22:51:42 +00:00
nakayama 8ff59f4fc0 Add LCD brightness control keymaps and correct some key assigns for
Sharp Telios series.
2005-07-30 22:45:13 +00:00
nakayama 2911078947 Add LCD and battery control support for Sharp Telios series. 2005-07-30 22:40:33 +00:00
christos 5fc171f88e Partially fix. Now it comes up, associates with wep, but something is wrong
with tcp since it crashes in wep encryption when I cvs update.
2005-07-30 21:15:51 +00:00
mhitch 7bf06e6ec1 The handler for the periodic ENQUIRY command was not unmapping the ccb
data buffer, which left stale flags which caused Alpha ES40 crashes.  Add
the mlx_ccb_unmap() call and the ES40 now runs with > 1GB memory.
2005-07-30 17:37:11 +00:00
mhitch 2e8c0b59d2 Check for stale flags in the DMA map. This was causing crashes on an ES40
with more than 1GB of memory due to a bug in one of the drivers.  From
Jason Thorpe.
2005-07-30 17:25:51 +00:00
rpaulo 056ff58f97 Since bpf is now a clonable device, remove references to /dev/bpfX.
Update the structs so that they match bpf.h and bpfdesc.h.
Bump date.

ok christos@
2005-07-30 16:37:36 +00:00
yamt 6cae8c8d70 as swap is now optional, ENXIO on /dev/drum is normal. 2005-07-30 16:32:29 +00:00