aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Strengthen some of the language concerning attacks on MD5, in light of theColin Percival2009-01-061-8/+16
| | | | | | | | | | | recent demonstration of a forged SSL certificate. Add text pointing out that SHA-1 is at least theoretically broken. Add a recommendation that new applications use SHA-256. MFC after: 1 month Notes: svn path=/head/; revision=186836
* - Backout latest changes (follow symlinks: r186496, r186518).Florent Thoumie2009-01-062-61/+24
| | | | | | | - Bump PKG_INSTALL_VER to 20090106. Notes: svn path=/head/; revision=186835
* Document the special loopback address behaviour of jails.Bjoern A. Zeeb2009-01-061-1/+7
| | | | | | | | | | PR: kern/103464 Submitted by: brueffer (correct markup) Reviewed by: brueffer MFC after: 2 weeks Notes: svn path=/head/; revision=186834
* Change the way I2C bus attachment works to allow firmware-assisted busNathan Whitehorn2009-01-067-8/+10
| | | | | | | | | | | | subclasses as are available with PCI. Changes I2C device drivers without real probe logic to return BUS_PROBE_NOWILDWARD to avoid interference with firmware bus enumeration, and reduces the probe priority of the iicbus base driver to allow subclass attachment at higher priority. Discussed on: freebsd-arch Notes: svn path=/head/; revision=186833
* Note that r186713 also contained a change to VarAdd where we propagate theDavid E. O'Brien2009-01-061-2/+1
| | | | | | | | newly created 'Var' back to the caller. Also, back out an accidentally commented WIP comment. Notes: svn path=/head/; revision=186831
* Add a reference to the "env" kernel config option in the GENERIC file,Luigi Rizzo2009-01-061-0/+6
| | | | | | | | | | as this is very useful e.g. in diskless configurations and barely documented anywhere else. MFC after: 3 days Notes: svn path=/head/; revision=186829
* Add small hint that snd_ich is the AC'97 controller driver.Alexander Motin2009-01-061-1/+1
| | | | Notes: svn path=/head/; revision=186828
* various cleanups including:Luigi Rizzo2009-01-061-82/+77
| | | | | | | | | | | | + check a possible buffer overflow when creating a temp file, submitted by Christoph Mallon + remove stale struct definitions + clarify the use of dflag and remove useless checks MFC after: 3 days Notes: svn path=/head/; revision=186827
* fix a couple of innocuous compiler warningsLuigi Rizzo2009-01-062-3/+4
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=186826
* Do a lockless read of the audit pipe list before grabbing the audit pipeRobert Watson2009-01-061-0/+4
| | | | | | | | | | | | lock in order to avoid the lock acquire hit if the pipe list is very likely empty. Obtained from: TrustedBSD Project MFC after: 3 weeks Sponsored by: Apple, Inc. Notes: svn path=/head/; revision=186825
* correct description of how a string is stored, fix a fewLuigi Rizzo2009-01-061-5/+10
| | | | | | | | | | | | typos and reference the kernel file which processes this info. All in all, the content of this file should be moved to kldxref.c or to the kld(4) manpage. MFC after: 3 days Notes: svn path=/head/; revision=186824
* - Don't enforce an upper-bound to the number of sectors or heads,Marius Strobl2009-01-061-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | allowing the full 16-bit width of the corresponding fields in the VTOC8 label to be used. The removed limits basically only held true for providers labeled using the synthetic geometry provided by cam_calc_geometry(9) but neither SCSI disks labeled with Solaris nor sufficiently large ATA disks. - Given that providers (originally) labeled with Solaris typically use the native geometry as reported by the target while FreeBSD typically uses a synthetic one put the message complaining about mismatching geometries between what the label indicates and what GEOM thinks the provider has, which we generally can't help, under bootverbose in order to not unnecessarily scare users. - For informational purposes add the non-matching values to the message complaining about them, similar to what r186501 did for g_part_bsd_read() except also indicating the origin of the values. - Make it clear that the messages emitted by this code refer to the VTOC8 support rather than to another existing scheme or to VTOC32. Notes: svn path=/head/; revision=186823
* In AUDIT_SYSCALL_EXIT(), invoke audit_syscall_exit() only if an auditRobert Watson2009-01-061-3/+3
| | | | | | | | | | | | | record is active on the current thread--historically we may always have wanted to enter the audit code if auditing was enabled, but now we just commit the audit record so don't need to enter if there isn't one. Obtained from: TrustedBSD Project Sponsored by: Apple, Inc. Notes: svn path=/head/; revision=186822
* Addresses Roberts comments on comments. Also addsRandall Stewart2009-01-062-18/+12
| | | | | | | | | | the KASSERT and checks suggested. Reviewed by: The udp tunneling was discussed on net@ under the thread entitled "Heads up -- Thinking about UDP and tunneling" Notes: svn path=/head/; revision=186821
* - forgot to bump a dateDaniel Gerzo2009-01-061-1/+1
| | | | Notes: svn path=/head/; revision=186819
* catch up wtih r175955 by ume:Daniel Gerzo2009-01-061-53/+2
| | | | | | | - the support of AI_ALL and AI_V4MAPPED has been completely removed. Notes: svn path=/head/; revision=186817
* Adds flags for SCTP checksum offload. PrepRandall Stewart2009-01-061-0/+2
| | | | | | | | for support for new Intel NIC's that have this feature. Notes: svn path=/head/; revision=186815
* Add the ability of an alternate transport protocolRandall Stewart2009-01-063-10/+133
| | | | | | | | | to easily tunnel over udp by providing a hook function that will be called instead of appending to the socket buffer. Notes: svn path=/head/; revision=186813
* Cross-reference snd_ich and snd_hda man pages.Alexander Motin2009-01-062-4/+11
| | | | | | | | Some hardware require different drivers depending on implementation, that may confuse users. Notes: svn path=/head/; revision=186810
* Further cleanup protosw.h:Bjoern A. Zeeb2009-01-061-21/+5
| | | | | | | | | | | | | | | - Remove unused typedefs to avoid confusion and ease in merging ip6protosw with protosw. - Correct a few comments. - Remove most of a comment about usrreq. [1] - Use tabs instead of spaces for consistency. Submitted by: rwatson [1] Reviewed by: rwatson MFC after: 3 weeks Notes: svn path=/head/; revision=186809
* Add workaround for Parallels 4.0. Without it, ehci and uhci driversEdward Tomasz Napierala2009-01-062-0/+14
| | | | | | | | | | | would fail to attach due to unsupported USB revision. It should have no effect when running on a real hardware. Reviewed by: imp Approved by: rwatson (mentor) Notes: svn path=/head/; revision=186808
* Don't enforce an upper-bound to the number of sectors or headsMarcel Moolenaar2009-01-061-4/+2
| | | | | | | | that that the provider has. The limits we imposed were PC BIOS specific and not always applicable. Notes: svn path=/head/; revision=186807
* remove the ath_rate module dependency; it's all bundledSam Leffler2009-01-061-1/+0
| | | | Notes: svn path=/head/; revision=186806
* Add a new quirk type so that the MacIO driver will assign memory resourcesNathan Whitehorn2009-01-061-2/+8
| | | | | | | | | | | belonging to a devices children, in analogy to the way we handle interrupts for SCC serial devices. This is required to counteract overly deep nesting on onboard audio devices. Submitted by: Marco Trillo Notes: svn path=/head/; revision=186805
* remove module glue, it's not used any moreSam Leffler2009-01-063-81/+0
| | | | Notes: svn path=/head/; revision=186804
* put a prefix on dhcp options to avoid clobbering, even by mistake,Luigi Rizzo2009-01-051-1/+1
| | | | | | | | | existing environment variables. MFC after: 2 weeks Notes: svn path=/head/; revision=186799
* Import yet some more small fixes to libteken sources:Ed Schouten2009-01-053-0/+25
| | | | | | | | | | | | | | - Implement NP (ASCII 12, Form Feed). When used with cons25, it should clear the screen and place the cursor at the top of the screen. When used with xterm, it should just simulate a newline. - When we want to use xterm emulation, make teken_demo set TERM to xterm. Spotted by: Paul B. Mahol <onemda@gmail.com> Notes: svn path=/head/; revision=186798
* Add Centaur/IDT/VIA vendor ID for Nano family, which has long mode support.Jung-uk Kim2009-01-054-4/+4
| | | | Notes: svn path=/head/; revision=186797
* First cut at fixing memory mapping botch. Nobody must use the ray(4)Warner Losh2009-01-051-16/+29
| | | | | | | | | driver since it couldn't have worked with NEWCARD w/o these fixes. This should allow selecting 16-bit memory width as well (which was what was broken). Notes: svn path=/head/; revision=186796
* Define bits for memory mapping house keeping by bridges.Warner Losh2009-01-051-0/+4
| | | | Notes: svn path=/head/; revision=186795
* More wording improvements.Christian Brueffer2009-01-051-4/+4
| | | | | | | Discussed with: stas Notes: svn path=/head/; revision=186793
* Switch the last protosw* structs to C99 initializers.Bjoern A. Zeeb2009-01-052-17/+25
| | | | | | | | Reviewed by: ed, julian, Christoph Mallon <christoph.mallon@gmx.de> MFC after: 2 weeks Notes: svn path=/head/; revision=186791
* This patch introduces a number of simplifications to the ForthLuigi Rizzo2009-01-053-511/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functions used in the bootloader. The goal is to make the code more readable and smaller (especially because we have size issues in the loader's environment). High level description of the changes: + define some string manipulation functions to improve readability; + create functions to manipulate module descriptors, removing some duplicated code; + rename the error codes to ESOMETHING; + consistently use set_environment_variable (which evaluates $variables) when interpreting variable=value assignments; I have tested the code, but there might be code paths that I have not traversed so please let me know of any issues. Details of this change: --- loader.4th --- + add some module operators, to remove duplicated code while parsing module-related commands: set-module-flag enable-module disable-module toggle-module show-module --- pnp.4th --- + move here the definition related to the pnp devices list, e.g. STAILQ_* , pnpident, pnpinfo --- support.4th --- + rename error codes to capital e.g. ENOMEM EFREE ... and do obvious changes related to the renaming; + remove unused structures (those relevant to pnp are moved to pnp.4th) + various string functions - strlen removed (it is an internal function) - strchr, defined as the C function - strtype -- type a string to output - strref -- assign a reference to the string on the stack - unquote -- remove quotes from a string + remove reset_line_buffer + move up the 'set_environment_variable' function (which now uses the interpreter, so $variables are evaluated). Use the function in various places + add a 'test_file function' for debugging purposes MFC after: 4 weeks Notes: svn path=/head/; revision=186789
* o FreeBSD 7.1 added.Maxim Konovalov2009-01-051-3/+8
| | | | Notes: svn path=/head/; revision=186785
* Correct the type for the global var accessed in sig handlers.David E. O'Brien2009-01-051-1/+1
| | | | Notes: svn path=/head/; revision=186784
* Document the NO_XXX options supported by our Makefile.inc1.Giorgos Keramidas2009-01-051-1/+64
| | | | | | | | | Noticed by: simon Reviewed by: imp MFC after: 1 week Notes: svn path=/head/; revision=186783
* Merge support for CVSMode (aka. mirror mode) into csup. This means csup can nowUlf Lilleengen2009-01-0531-83/+6812
|\ | | | | | | | | | | | | | | | | fetch a complete CVS repository. Support for rsync update of regular files are also included, but are not yet enabled. The change should not have an impact on existing csup usage, as little of the existing code has changed. Notes: svn path=/head/; revision=186781
| * - Sort children branches by revision number rather than by date since a few RCSUlf Lilleengen2009-01-041-1/+1
| | | | | | | | | | | | | | files have the wrong date. Notes: svn path=/projects/csup_cvsmode/; revision=186744
| * - Update copyright.Ulf Lilleengen2009-01-047-7/+7
| | | | | | | | Notes: svn path=/projects/csup_cvsmode/; revision=186743
| * - Try to match style(9).Ulf Lilleengen2009-01-043-47/+35
| | | | | | | | | | | | | | - Remove old comments. Notes: svn path=/projects/csup_cvsmode/; revision=186741
| * - Use a LIST to hold branches instead of a STAILQ.Ulf Lilleengen2009-01-031-11/+37
| | | | | | | | | | | | | | - Sort branches when inserting them. Notes: svn path=/projects/csup_cvsmode/; revision=186727
| * - Write out branches with the highest revision number first if they have theUlf Lilleengen2009-01-031-2/+2
| | | | | | | | | | | | | | same date. Notes: svn path=/projects/csup_cvsmode/; revision=186724
| * - A bit missing from the previous commit. The '@'s from the string token must beUlf Lilleengen2009-01-031-0/+4
| | | | | | | | | | | | | | stripped before encoding the expansion mode. Notes: svn path=/projects/csup_cvsmode/; revision=186718
| * - Add an optimization when parsing rcsfiles when the intention is to only sendUlf Lilleengen2009-01-026-17/+36
| | | | | | | | | | | | | | | | | | details to the cvsup server. The deltatext does not need parsing, and some parts of the rcsfile data structure doesn't need to be set up. - Fix a bug where the RCS expansion mode is not written out. Notes: svn path=/projects/csup_cvsmode/; revision=186700
| * - Disable rsync support for now, as it is not fully working.Ulf Lilleengen2009-01-021-0/+1
| | | | | | | | Notes: svn path=/projects/csup_cvsmode/; revision=186699
| * - Fattrs are not used for rsync, so remove unused code.Ulf Lilleengen2009-01-021-3/+1
| | | | | | | | Notes: svn path=/projects/csup_cvsmode/; revision=186698
| * - Check for NULL in case fattr_frompath fails.Ulf Lilleengen2009-01-021-1/+1
| | | | | | | | Notes: svn path=/projects/csup_cvsmode/; revision=186697
| * - Fix a wrong flag check.Ulf Lilleengen2008-12-211-1/+1
| | | | | | | | Notes: svn path=/projects/csup_cvsmode/; revision=186373
| * - Add missing printout information when appending file.Ulf Lilleengen2008-12-101-0/+1
| | | | | | | | | | | | | | Submitted by: naddy Notes: svn path=/projects/csup_cvsmode/; revision=185870
| * - Check return value of the encoded keyword before using it.Ulf Lilleengen2008-12-091-4/+8
| | | | | | | | | | | | | | Pointed out by: Christian Weisgerber <naddy -at- mips.inka.de> Notes: svn path=/projects/csup_cvsmode/; revision=185811