summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Extend the mutex pool implementation to permit the creation and use oftruckman2003-07-138-66/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | multiple mutex pools with different options and sizes. Mutex pools can be created with either the default sleep mutexes or with spin mutexes. A dynamically created mutex pool can now be destroyed if it is no longer needed. Create two pools by default, one that matches the existing pool that uses the MTX_NOWITNESS option that should be used for building higher level locks, and a new pool with witness checking enabled. Modify the users of the existing mutex pool to use the appropriate pool in the new implementation. Reviewed by: jhb
* | Check the status of the user command and return the proper errorps2003-07-121-2/+10
| | | | | | | | to the user.
* | Quiet down ciss unless bootverbose is set.ps2003-07-121-4/+4
| |
* | Do not override FP rounding options for 32bit platforms. amd64 doesn'tkan2003-07-121-4/+6
| | | | | | | | need this.
* | Add support for the A4 Tech RFSW-35 mouse wheel. Probe is similar tomikeh2003-07-124-6/+22
| | | | | | | | | | | | 4D Plus. PR: 44333
* | The second argument to fgetln() is a size_t *, not an int *.tmm2003-07-121-1/+1
| |
* | Postfix, pcre, and Exim should be on the first CD in order for the recenttrhodes2003-07-121-0/+3
| | | | | | | | | | | | sysinstall(8) commit to function properly. Discussed with: bmah (while the sysinstall(8) patch was sent to re).
* | Give users the ability to select an alternative MTA during the installation.trhodes2003-07-128-66/+504
| | | | | | | | | | | | | | | | This option adds Postfix and Exim to the list, however, qmail is not added due to license restrictions. Collaborated with: Simon L. Nielsen <simon@nitro.dk> Reviewed by: jhb, re@, -audit.
* | - Allow retrieval of local Configuration ROM.simokawa2003-07-121-2/+1
| | | | | | | | - Clear Configuration ROM buffer in advance for '-d' option.
* | Allow retrieval of local Configuration ROM.simokawa2003-07-121-7/+22
| |
* | Add a '-T' flag to print the timestamp as numeric value insteadluigi2003-07-122-5/+14
| | | | | | | | | | | | | | of converting it with ctime(). This is a lot more convenient for postprocessing. Submitted by: "Jacob S. Barrett" <jbarrett@amduat.net>
* | New release notes: GCC 3.3.1-pre, new ipfw features, rarpd bug fix,hrs2003-07-122-2/+36
| | | | | | | | config.{guess,sub} in the ports infrastructure.
* | Document the existence of comments in ipfw rules,luigi2003-07-121-4/+11
| | | | | | | | | | | | | | the new flags handled when reading from a file, and clarify that only numeric values are allowed for icmptypes. MFC after: 3 days
* | In random order:luigi2003-07-121-218/+277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make the code compile with WARNS=5 (at least on i386), mostly by adding 'const' specifier and replacing "void *" with "char *" in places where pointer arithmetic was used. This also spotted a few places where invalid tests (e.g. uint < 0) were used. * support ranges in "list" and "show" commands. Now you can say ipfw show 100-1000 4000-8000 which is very convenient when you have large rulesets. * implement comments in ipfw commands. These are implemented in the kernel as O_NOP commands (which always match) whose body contains the comment string. In userland, a comment is a C++-style comment: ipfw add allow ip from me to any // i can talk to everybody The choice of '//' versus '#' is somewhat arbitrary, but because the preprocessor/readfile part of ipfw used to strip away '#', I did not want to change this behaviour. If a rule only contains a comment ipfw add 1000 // this rule is just a comment then it is stored as a 'count' rule (this is also to remind the user that scanning through a rule is expensive). * improve handling of flags (still to be completed). ipfw_main() was written thinking of 'one rule per ipfw invocation', and so flags are set and never cleared. With readfile/preprocessor support, this changes and certain flags should be reset on each line. For the time being, only fix handling of '-a' which differentiates the "list" and "show" commands. * rework the preprocessor support -- ipfw_main() already had most of the parsing code, so i have moved in there the only missing bit (stripping away '#' and comments) and removed the parsing from ipfw_readfile(). Also, add some more options (such as -c, -N, -S) to the readfile section. MFC after: 3 days
* | Implement comments embedded into ipfw2 instructions.luigi2003-07-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | Since we already had 'O_NOP' instructions which always match, all I needed to do is allow the NOP command to have arbitrary length (i.e. move its label in a different part of the switch() which validates instructions). The kernel must know nothing about comments, everything else is done in userland (which will be described in the upcoming ipfw2.c commit).
* | Add logic to trace across/over a trapframe. We have ABI markers inmarcel2003-07-123-6/+38
| | | | | | | | | | | | | | | | | | | | | | our unwind information for functions that are entry points into the kernel. When stepping to the next frame, the unwinder will let us know when sych a marker was encountered. We use this to stop the current unwind session, query the trapframe and restart a new unwind session based on the new trapframe. The implementation is a bit sloppy, but at this time there are bigger fish to fry.
* | This commit was generated by cvs2svn to compensate for changes in r117465,marcel2003-07-121-4/+4
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Fix a nasty bug that was exposed by disabling the trace support bymarcel2003-07-121-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | default. There were 2 cases where the trace code was in the else- part of an if-statement without any compound construct to protect against nullification. The result was that 2 unconditional statements turned into conditional statements and wrecked havoc. This fix has been returned to the vendor and in anticipation of a future import committed onto the vendor branch.
* | | Make the system call vector name of a process accessible to userrobert2003-07-122-0/+30
| | | | | | | | | | | | | | | land applications by introducing the KERN_PROC_SV_NAME sysctl node, which is searchable by PID.
* | | Correct a spelling error.ceri2003-07-121-1/+1
| | |
* | | Delete the panic part of 20030711, it has been fixedimp2003-07-111-1/+1
| | |
* | | gcc3.3: add dire warnings.imp2003-07-111-0/+5
| | |
* | | Fix the gcc-3.3 boot problem. Gcc now optimizes 'int foo = 0' by movingpeter2003-07-111-21/+5
| | | | | | | | | | | | | | | | | | | | | | | | it to the bss section and skips the initialization. This causes all sorts of havoc because the bogus bss zero code clobbered previously set variables. All our supported boot loaders already zero the bss, even kgzip for the elf case. Since we dont generate a.out kernels, the old a.out bootblocks and the a.out kgzip are not a factor anymore.
* | | Regen.joe2003-07-112-2/+34
| | |
* | | Added a few more entries.joe2003-07-111-0/+8
| | | | | | | | | | | | Submitted by: Lars Eggert <larse@ISI.EDU>
* | | Since (x)install is pretty unhelpfull and just spits out a Usagephk2003-07-111-12/+13
| | | | | | | | | | | | | | | | | | | | | for a lot of unrelated error conditions, at least report the line number where it bailed. Don't use multiline string literals for Usage, gcc 3.3 doesn't like them.
* | | Unlock the fxp driver lock before calling fxp_poll() to avoid recursing onjhb2003-07-111-1/+1
| | | | | | | | | | | | | | | | | | | | | the lock when using DEVICE_POLLING. Tested by: Robin P. Blanchard <Robin.Blanchard@gactr.uga.edu> Reviewed by: njl
* | | Include osreldate.h instead of sys/param.h to get __FreeBSD_versionkan2003-07-111-1/+1
| | | | | | | | | | | | definition. This fixes buildworld breakage on ia64.
* | | Lower WARNS to 3 so that this still compiles on non x86 architectures.mux2003-07-111-1/+1
| | |
* | | Fix typo for BURN_BRIDGES' file, it should be opt_global.himp2003-07-111-1/+1
| | |
* | | Forgot that the rescue subdir needs to be a conditional for thegordon2003-07-111-1/+5
| | | | | | | | | | | | build-tools bit.
* | | Turn rescue back on, conditional to NORESCUE. We seem to be split ongordon2003-07-112-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | using underscores or not, so I just randomly picked a style. I think I have the logic correct, but if someone wants to give it a once over that would be good. Tim submitted a patch to fix the cross-building issues which I tested with a tinderbox run for sparc64. Submitted by: Tim Kientzle <kientzle@acm.org>
* | | NFS support should be conditional on LOADER_NFS_SUPPORT, nottmm2003-07-111-1/+1
| | | | | | | | | | | | LOADER_NET_SUPPORT.
* | | Forced commit to note that the previous commit fixed this PR:mux2003-07-110-0/+0
| | | | | | | | | | | | PR: i386/40957
* | | Huge cleanup of the rarpd(8) code :mux2003-07-112-188/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use getifaddrs() instead of rolling our own buggy one. Previously, rarpd(8) would fail to see some interfaces because of a hardcoded limit. It now successfully sees any interface in the system, and this also makes the code _much_ simpler. - Replace strncpy() calls with strlcpy() calls. Some uses of strncpy() were bogus ; the code wasn't ensuring that the string was NUL terminated. - Don't try to guard about select() FD_* macros being undefined. - Use IF_NAMESIZE and ETHER_ADDR_LEN macros where appropriate. - Add static keywords to function definitions for consistency, since the prototypes have it (I wonder why GCC didn't complain about this). - Remove compat code for very old BSD versions and SunOS. - Remove code for systems not having the dirent.h header. - The code is now WARNS=5 clean so mark it as such. - Don't add -DTFTP_DIR="/tftpboot" to the build command line since it's the default. MFC after: 2 weeks
* | | Fix if_wi breakage.simokawa2003-07-112-4/+4
| | |
* | | If a thread is sending signal to its process, if the thread can handledavidxu2003-07-111-3/+4
| | | | | | | | | | | | the signal itself, it should get it without looking for other threads.
* | | add asus wl100imp2003-07-111-0/+1
| | |
* | | Add support for asus wl100imp2003-07-111-0/+1
| | | | | | | | | | | | PR: 49033/53249
* | | sync to pccarddev 1.55imp2003-07-111-2/+2
| | |
* | | remove stray ASUSimp2003-07-111-1/+1
| | |
* | | sync to pccarddev 1.54imp2003-07-111-1/+7
| | |
* | | Add asus wl100imp2003-07-111-0/+4
| | | | | | | | | | | | PR: 49033, 53249
* | | Add a body directive before the first instruction in epc_syscall().marcel2003-07-111-0/+1
| | | | | | | | | | | | | | | This results in a zero length prologue and a body that covers the whole function. This is more correct.
* | | Remove a gratuitous align directive after the endp directive formarcel2003-07-111-2/+1
| | | | | | | | | | | | IVT entries.
* | | Make UWX_TRACE_ENABLE a global option so that we don't have tomarcel2003-07-111-0/+2
| | | | | | | | | | | | | | | | | | modify vendor code (libuwx) with a specific include directive. The second order advantage is that we can also enable verbosity in the glue code (ia64/ia64/unwind.c).
* | | Squelch spurious "gigabit link up" messages generated on some fiber NICswpaul2003-07-111-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (mainly the 3Com 3c996B/BCM5701). For some reason that I don't fully understand, the 5701 signals PCS encoding errors as though they were link change events, i.e. the 'link state changed' bit in the status word of the status block is updated and an interrupt is generated. This would cause the bge_tick() function to be invoked and a "gigabit link up" message to be printed on the console. To avoid this, the interrupt handler now checks the MAC status register when a link change interrupt is triggered, and it will only call the bge_tick() function if the 'PCS encoding error detected' bit is clear. (This change should have no effect on copper NICs since this bit can only ever be set in TBI mode. I do not know how it affects 5704 NICs with a BCM8002 SERDES PHY.) Special thanks to: Sherry Rogers at UCB for allowing me access to one of their traffic monitor boxes so I could diagnose this problem.
* | | Fix i386 assembly constraints. The same register cannot bekan2003-07-111-3/+3
| | | | | | | | | | | | in output and clobber lists at the same time.
* | | Temporarily switch off -Werror until new GCC warning have been dealt with.kan2003-07-111-1/+1
| | |
* | | Merge FreeBSD changes into GCC 3.3.1-prerelease.kan2003-07-111-0/+8
| | | | | | | | | | | | Move FreeBSD specific flag variables from c-decl.c here.
OpenPOWER on IntegriCloud