summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Include missing header files which define functions for which gcc hasdd2001-06-2418-0/+21
| | | | builtins (e.g., exit, strcmp).
* Include missing header files which define functions for which gcc hasdd2001-06-249-0/+11
| | | | | | builtins (e.g., exit). Submitted by: Mike Barcroft <mike@q9media.com>
* Silence warning and set WARNS=2.dd2001-06-242-1/+2
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> Reviewed by: md5(1)
* Constify and set WARNS=2.dd2001-06-242-1/+2
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> Reviewed by: md5(1)
* Constify, add a prototype, and set WARNS=2.dd2001-06-242-3/+3
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> Reviewed by: md5(1)
* Constify and set WARNS=2.dd2001-06-242-4/+5
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> Reviewed by: md5(1)
* fix oopslet for PROC_UNLOCK_NOSWITCHmjacob2001-06-241-1/+1
|
* Use strdup(3) instead of reimplementing it inline.dd2001-06-241-7/+1
|
* cleanup some of the XPORT_FC codemjacob2001-06-241-24/+18
|
* Add a transport settings variant for Fibre Channel.mjacob2001-06-241-0/+13
|
* Add CAM_NEW_TRAN_CODE as an option (to be included in opt_cam.h).mjacob2001-06-241-0/+3
|
* Reword a sentence to make it proper English.dd2001-06-241-1/+1
|
* Clean up the addrmerge() function, which was over-complicated andiedowse2001-06-241-136/+120
| | | | | | | | | | | | | | | | | contained a number of memory leaks. The changes include: - Add a comment describing what addrmerge() does. - Deal with 0.0.0.0./::. or AF_LOCAL callers correctly. - Use rpcbind_get_conf() instead of getnetconfigent() so we don't have to remember to free the returned netconfig struct. - Make just one pass through the ifaddrs list; we can pick up a fallback interface address in the same pass as the netmask comparison. - Define and use SA2SIN* macros to avoid the need for loads of protocol-specific local variables. - Use mostly protocol-independent code for building the netbuf version of the address to be returned. - Use the common cleanup code for virtually all error and non-error cases, fixing a number of memory leaks.
* on icmp6 node information query (FQDN), do not return hostnames withume2001-06-241-2/+6
| | | | | | | | two dots (like "foo..bar"). 0-length labels are not distinguishable with multiple name replies. Obtained from: KAME MFC after: 10 days
* decrease warningume2001-06-241-2/+4
| | | | | Obtained from: KAME MFC after: 10 days
* Nuke the comment about MIP6. We don't have MIP6 code, yet.ume2001-06-241-12/+0
| | | | MFC after: 10 days
* inject outbound packet to BPF.ume2001-06-241-1/+25
| | | | | | Submitted by: itojun Obtained from: KAME MFC after: 10 days
* Constify, staticize and add a missing include; add WARNS?=2.des2001-06-242-4/+7
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> MFC after: 2 weeks
* Don't dereference a NULL pointer if we fail to get a sendfilebuf.dwmalone2001-06-241-1/+2
|
* Add prototypes and turn on WARNS=?2.dwmalone2001-06-242-0/+19
|
* Allow getcred sysctl to work in jailed root processes. Processes candwmalone2001-06-243-17/+35
| | | | | | | | only do getcred calls for sockets which were created in the same jail. This should allow the ident to work in a reasonable way within jails. PR: 28107 Approved by: des, rwatson
* Get rid of some constness warnings.dwmalone2001-06-241-6/+7
|
* Don't add -Wall, as it's a compiler specific flag.dwmalone2001-06-241-1/+1
|
* Fix most of the warnings given by WARNS=2.dwmalone2001-06-243-105/+114
|
* Fix asm constraints for atomic_cmpset_32. This fix may also be neededbenno2001-06-241-1/+1
| | | | elsewhere.
* After exhaustive discussions and some meandering and confusion, enoughdillon2001-06-241-0/+6
| | | | | | | | | | | | | | | people are on track with the cause and effect of this, and although fixing this severely degenerate case appears to violate the letter of POSIX.1-200x, Bruce and I (and enough others) agree that it should be comitted. So, this patch generates an ENOENT error for any attempt to do a path lookup through an empty symlink (e.g. open(), stat()). Submitted by: "Andrey A. Chernov" <ache@nagual.pp.ru> Reviewed by: bde Discussed exhaustively on: freebsd-current Previously committed to: NetBSD 4 years ago
* Reset timestamps of battery info. and status by thier notify handler.iwasaki2001-06-241-10/+13
| | | | Suggested by: takawata
* - Swap order of "S4B" and "S5" in sleep_state_names. They alreadyiwasaki2001-06-241-6/+6
| | | | | changed in ACPICA actypes.h. - Use ACPI_S_STATES_MAX instead of ACPI_STATE_S5.
* Don't call exit(3) from a signal handler.dd2001-06-242-4/+3
| | | | Obtained from: OpenBSD
* mdoc(7) police: use the Fn macro where appropriate.dd2001-06-241-3/+6
|
* Remove duplicate words.dd2001-06-2424-27/+27
|
* Correct a typo.dd2001-06-241-1/+1
|
* mdoc(7) police: sort xrefs.dd2001-06-241-7/+7
|
* Add myself.jasone2001-06-241-0/+1
|
* Fix some return-value brain-damage in forward_register(). Thisiedowse2001-06-231-16/+21
| | | | | | | | | | | | | | function has a return type of u_int32_t, into which it was somehow supposed to encode: * A valid 32-bit XID (which could be any value including 0). * 0, meaning a duplicate request. * -1, meaning a malloc failed (!); We now ensure that all XIDs are non-zero, and pass the XID out via a pointer argument. In forward_find() and free_slot_by_xid(), remove an unnecessary and confusing test for a negative result from an unsigned modulo operation, but add an unnecessary cast to highlight why.
* Use the new CLSET_CONNECT clnt_control() request on UDP clients toiedowse2001-06-231-1/+20
| | | | | | | | ensure that we never proceed with the mount() syscall if the server is replying from the wrong source address. Previously the userland RPC call to the remote nfsd would succeed, but the kernel uses connect() so it would not see the replies, resulting in a hung mount.
* Add a new clnt_control() request `CLSET_CONNECT' that controlsiedowse2001-06-233-4/+28
| | | | | | | | | | whether or not connect(2) is used for UDP client sockets. The default is not to connect(), so existing clients will see no change in behaviour. The use of connect(2) for UDP clients has a number of advantages: only replies from the intended address are received, and ICMP errors pertaining to the connection are reported back to the application.
* Add initializetion of NVCTL register with EEPROM stored value.semenu2001-06-235-0/+45
| | | | | | This fix hazardous very slow work for one of my cards. MFC after: 1 week
* remove -g -O0, that was only for debugging...ben2001-06-231-1/+1
|
* Don't dereference a pointer after freeing that pointer.ben2001-06-231-2/+3
| | | | | | | PR: 27990 Reviewed by: dd, phk Tested by: dd MFC after: 2 weeks
* the turtle beach santacruz implements ac97 eapd in an inverted sense -cg2001-06-233-13/+15
| | | | inform the ac97 code of this.
* Reduce field width for some columns so that the default output fits in <= 79schweikh2001-06-231-3/+3
| | | | | | | columns. 80 columns + newline is a problem for some terminals including syscons. Requested by: bde MFC after: 1 week
* Replace bzero() of struct ip with explicit zeroing of structure members,jlemon2001-06-232-4/+12
| | | | which is faster.
* add defines and ifdefs so this code will compile on 4.xcg2001-06-237-14/+113
| | | | add spls so this code will work on 4.x
* Three people known to be born on December 18!ru2001-06-231-0/+1
| | | | Submitted by: cwt
* move a private struct definition from ac97.h to ac97.ccg2001-06-232-13/+32
| | | | | add proper handling of cards which take eapd=1 to mean 'produce sound' instead of 'external amplifier power down'
* Add netstat(1) knob to reset net.inet.{ip|icmp|tcp|udp|igmp}.stats.ru2001-06-2310-19/+43
| | | | | | For example, ``netstat -s -p ip -z'' will show and reset IP stats. PR: bin/17338
* add sndstat.c so module users have /dev/sndstat againcg2001-06-232-2/+2
|
* - Fix space allocation for mbstat structurebmilekic2001-06-231-3/+5
| | | | | - Make sure to try hw.ncpu if kern.smp.cpus doesn't exist (i.e. on UP) to get number of CPUs.
* Make sure to try hw.ncpu if kern.smp.cpus doesn't exist (i.e. on UP) whenbmilekic2001-06-231-1/+2
| | | | getting number of CPUs.
OpenPOWER on IntegriCloud