summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Disabled responding to NI queries from a global address by default asjinmei2007-05-173-7/+35
| | | | | | | | | | | specified in RFC4620. A new flag for icmp6_nodeinfo was added to enable the feature. - Also cleaned up the code so that the semantics of the icmp6_nodeinfo flags is clearer (i.e., defined specific macro names instead of using hard-coded values). Approved by: gnn (mentor) MFC after: 1 week
* Update the man page to reflect that certain variables will be unset incsjp2007-05-171-2/+4
| | | | | the case that the program is set-user-ID or set-group-ID. Add missing annotations for LIBMAP and LIBMAP_DISABLE.
* In the event a process is tainted (setuid/setgid binaries), un-set anycsjp2007-05-171-10/+20
| | | | | | | | | | | | | | | | | | | | potentially dangerous environment variables all together. It should be noted that the run-time linker will not honnor these environment variables if the process is tainted currently. However, once a child of the tainted process calls setuid(2), it's status as being tainted (as defined by issetugid(2)) will be removed. This could be problematic because subsequent activations of the run-time linker could honnor these dangerous variables. This is more of an anti foot-shot mechanism, there is nothing I am aware of in base that does this, however there may be third party utilities which do, and there is no real negative impact of clearing these environment variables. Discussed on: secteam Reviewed by: cperciva PR: kern/109836 MFC after: 2 weeks
* Correct typo in commentcsjp2007-05-171-1/+1
|
* Fix the construction of the gctl_req that got broken by mymarcel2007-05-171-1/+3
| | | | | | | | | | | | previous commit and that introduced optional parameters. Existing classes (like geli(8)) use empty strings by default and expect the parameter to be passed to the kernel as such. Also, the default value of a string argument can be NULL. Fix both cases by making the optional parameter conditional upon gc_argname being set and making sure to test for NULL before dereferencing the pointer. Reported by: brueffer@
* Eliminate a micro-optimization that hasn't had any effect for 15+ years.peter2007-05-171-5/+0
|
* Fix small copy/paste mistake.mav2007-05-171-1/+1
|
* - Fixed 1-2-1 model to not worry about associd in sockoptsrrs2007-05-1714-103/+175
| | | | | | | | | | | | | | | | | | | | - Fixed RTOinfo for bounding. - Fixed connect() to return ECONNREFUSED when an ABORT is received. - Added comments to direct Static Analysis not to look at some things it does not understand (comments are /* sa_ignore XXXXX */) - Bind when colliding was broken, missing not_found = 1 before checking to see if the port was in use caused endless bind loop. - Cookie life needs to be in milliseconds to conform to socket api. - Cookie life is not supposed to change if its 0, On the assoc level set we changed it to 0 opps. - Two more static analysis issues identified by the cisco tool. Null checks needed. - An issue for sendfile(). Need to validate the correct input argument. - When sending failed due to a no route to host, we leaked the mbuf chain failing to call m_freem(). - Fix #ifdef issue for getting hash block len when HAVE_SHA2 is NOT defined Reviewed by: gnn
* o Use the --detach option to kdc(8) instead of using the shellmtm2007-05-171-3/+3
| | | | | | | | | background operator '&'. PR: conf/102722 o No need to include $kerberos5_server_flags in $command_args as rc.subr(8) will take care of this.
* The precmd routine does not need to check whether the command should bemtm2007-05-173-24/+30
| | | | | | | | | | "forced". If some pre-condition is not met, it should fail as it normally does and rc.subr(8) will make the appropriate decision. Incidentally, the previous behaviour had a bug where the "force" flag was respected only when checking rc.conf(5) knobs. The flag was ignored when verifying the rpcbind(8) dependency. MFC after: 2 weeks
* Tighten IP address check, prevent '..' from being passeddelphij2007-05-171-5/+8
| | | | | | | from the check. Submitted by: Ren Zhen <bg1tpt gmail com> MFC after: 2 weeks
* Regendeischen2007-05-171-1/+4
|
* Don't export a kern.conftxt sysctl, except when INCLUDE_CONF_FILE isimp2007-05-171-3/+1
| | | | | | | | | | | | | | defined. This restores the old behavior, and eliminates the dependency on the kernconf.tmpl when INCLUDE_CONFIG_FILE isn't included in the kernel config. There were many people in the terminal room that had almost, but not quite, up-to-date config files that this helps. I don't know if this is the result of skew among the cvsup servers, or some other more subtle problem. However, this fix should work for any config of recent vintage (I tested with the latest, and one before the recent changes, and eye-balled the intermediate versions). Reviewed by: the terminal room crew
* Add a description for the WITHOUT_SYMVER option.deischen2007-05-171-0/+2
|
* Allow DEFAULT_THREAD_LIB to be set from /etc/src.conf.deischen2007-05-174-16/+16
| | | | Submitted by: ru
* Fix some problems that affect multiple file inclusion. Bruce foundimp2007-05-173-73/+26
| | | | | | | | | | | | | | this bug and submitted these patches to dunstan@. He sent them to me to test, and I discovered they were needed for the atmel kernel config files. Since we were playing with them in the terminal room after the developer's summit today, I thought I'd go ahead and commit them to allow those folks that now have atmel hardware (thanks Andre) a chance to try it out w/o my help. Since dunstan@ is asleep right now, risk stepping on his toes a little by going ahead and committing this change. Submitted by: dunstan@, bde@ Tested by: bde@
* The HP Diva RMP3 uses BAR 0x14.marcel2007-05-171-1/+1
|
* endrpcent belongs with rpc name service db, not services.jon2007-05-171-1/+1
| | | | MFC after: 1 week
* fix memory leak from reading nsswitch.confjon2007-05-172-0/+7
| | | | MFC after: 1 week
* Make the serdev I/F non-optional. At least 3 drivers depend on itmarcel2007-05-171-1/+1
| | | | | | and they can be loaded as a module. PR: kern/112706
* Fix typo.jmallett2007-05-171-1/+1
|
* o) Correct for missing whitespace.jmallett2007-05-171-4/+4
| | | | | o) We don't need to check if ifp == stdin to give the filename, since we already know that ifn will be "stdin" if it is.
* Couple of changes, back down on last TSO change, instead make oldjfv2007-05-172-8/+31
| | | | | | | | | | | adapter list still capable, but only PCI-E adapters are now enabled. The user can enable older PCI-X or PCI adapters using ifconfig. Secondly, Arthur Hartwig pointed out my MSI change was not working correctly, changed to something that now does. Thanks Arthur. There was also a fundamental bug in the 82575 MSIX code, the MSIX registers had to be mapped, opps :) Rubber-stamped by: Pdeuskar
* Fix confusing misindentation of a closing-brace. (It goes with the switch, notjmallett2007-05-171-1/+1
| | | | with the while.)
* Unbreak IPv4 kernel build.oleg2007-05-171-0/+2
|
* Don't completely skip pci_cfg_save() in the PCI nomatch routine ifjhb2007-05-161-3/+1
| | | | | | | | the power_nodriver tunable is off. pci_cfg_save() already checks the tunable internally, and no other callers of pci_cfg_save() check the tunable. Reviewed by: imp
* Fix interrupt routing for some cards after the previous fix to clear BARsjhb2007-05-161-6/+7
| | | | | | | in cardbus cards: update the saved copy of the PCIR_INTLINE register in the PCI ivars in addition to the actual register. Reviewed by: imp
* - Added TSO supportdavidch2007-05-163-3485/+6212
| | | | | | | | | | | | - Updated firmware to latest release (v3.4.8) to fix TSO + jumbo frame lockup - Added MSI (hw.bce.msi_enable) and TSO (hw.bce.tso_enable) sysctls - Fixed kernel panic when MSI is used and module is unloaded - Added several new debug routines - Removed slack space for RX/TX chains since it only covers sloppy coding - Fixed a potential problem when programming jumbo MTU size in hardware - Various other comment changes MFC after: 4 weeks
* Bump G_LIB_VERSION to reflect the ABI change.marcel2007-05-161-1/+1
| | | | Pointed out by: pjd@
* Don't enable symbol versioning on ia64 for now. It causesmarcel2007-05-161-0/+2
| | | | | | | symbol lookup failures that later result in null-pointer dereferences. This needs looking into, but since we're close to release it's possible that it's not resolved before that time.
* We don't need --export-dynamic for ld-elf.so.1, because it's amarcel2007-05-161-1/+0
| | | | shared object.
* Work around a vendor issue that was causing the builtin malloc to bemp2007-05-162-2/+3
| | | | | | used instead of the system malloc. Submitted by: ume
* Remove leading spaces before tabs spotted thanks to silby usingrwatson2007-05-161-3/+3
| | | | kwrite to read ip_input.c.
* Generally migrate to ANSI function headers, and remove 'register' use.rwatson2007-05-165-181/+106
|
* -Fix so getoptinfo() is in conformance with socket api (itrrs2007-05-161-32/+33
| | | | | | can be used on any read socketopt). -Clean up of sendmsg call and make it conformant when no syscall is available.
* Resolves symbols map so sctp_xxx() functions are included.rrs2007-05-161-0/+14
| | | | | PR: 112704 Submitted by: kou@cozmixng.org
* Don't use a subshell where it isn't needed.des2007-05-161-12/+12
| | | | Noticed by: John E Hein <jhein@timing.com>
* Write 0 to all the bars in cardbus_cardbus_setup_regs. This is neededimp2007-05-161-19/+18
| | | | | | | | because on at least my dc based cards there's garbage in there. The recent changes in the resource code appears to have unmasked this problem... At least dc now probes/attaches better than it did before. Also, we no longer need to write to the cfg for the other registers.
* Update the comments on if_alloc(), if_free(), if_free_type(), andbrooks2007-05-161-12/+26
| | | | | | | | if_attach. Remove a comment about pre-3.0 network drivers from if_attach(). Be a bit more consistant about whitespace near comments.
* o Don't hold lock over bus_teardown_intr when we're waiting for theimp2007-05-161-5/+3
| | | | | | thread to die, since that can cause deadlock with the ISR (in theory). o Minor cleanup o comment nit
* Better message on cbb resource alloc failureimp2007-05-161-1/+1
|
* Change PCIM_CIS_ASI_TUPLE to _CONFIG.imp2007-05-162-4/+6
| | | | | | Add PCI_MAX_BAR_0 minor style nit. Add PCIM_CIS_CONFIG_MASK
* Add some doxygen docs for pci_cfg_{save,restore}.imp2007-05-161-0/+10
|
* The struct if_data members ifi_recvquota and ifi_xmitquota have beenbrooks2007-05-162-4/+2
| | | | | unused for ages. Rename them to ifi_spare_char1 and ifi_spare_char2 respectively to indicate this face.
* Remove now unused stuff forgotten in the previous commit.andre2007-05-161-4/+0
|
* Revert config(8) version bump. It brings major pain for people working onwkoszek2007-05-169-8/+17
| | | | | | | | | | different versions of FreeBSD source tree. Old config(8) can now be used unless you want to use INCLUDE_CONFIG_FILE option. Approved by: imp Reviewed by: imp
* Catch up to driver changes required for the mfip sub-driver.scottl2007-05-163-4/+27
|
* Add the 'mfip' sub-driver for gaining SCSI-passthrough access to devicesscottl2007-05-165-2/+405
| | | | on an MFI controller.
* Move TIME_WAIT related functions and timer handling from filesandre2007-05-166-205/+201
| | | | | | | | | | | | | | | | other than repo copied tcp_subr.c into tcp_timewait.c#1.284: tcp_input.c#1.350 tcp_timewait() -> tcp_twcheck() tcp_timer.c#1.92 tcp_timer_2msl_reset() -> tcp_tw_2msl_reset() tcp_timer.c#1.92 tcp_timer_2msl_stop() -> tcp_tw_2msl_stop() tcp_timer.c#1.92 tcp_timer_2msl_tw() -> tcp_tw_2msl_scan() This is a mechanical move with appropriate renames and making them static if used only locally. The tcp_tw_2msl_scan() cleanup function is still run from the tcp_slowtimo() in tcp_timer.c.
* Release the bus reference that is acquired when doing a CAMIOCOMMANDscottl2007-05-161-0/+1
| | | | ioctl. This should make SIM removal a bit more robust.
OpenPOWER on IntegriCloud