summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Define _libthr_debug for use by libthread_db.marcel2004-07-181-0/+9
|
* Don't include lock.h and pthread_md.h when we're being included bymarcel2004-07-182-0/+4
| | | | libthread_db. Both headers are included seperately.
* Add rudimentary support and stubs for libthr and libc_r on alpha, amd64,marcel2004-07-1822-1178/+1851
| | | | | | | | | | | | | | | | | | | | | i386, ia64 and sparc64. Add stubs for alpha, amd64, ia64 and sparc64 for libpthread. Restructure the source files to avoid unnecessary use of subdirectories that also force us to use non-portable compilation flags to deal with the uncommon compilation requirements (building archive libraries for linkage into a shared library). The libpthread support has been copied from the original local and cleaned-up to make them WARNS=2 clean. that also force us to use non-portable compilation flags to deal with the uncommon compilation requirements (building archive libraries for linkage into a shared library). The libpthread support has been copied from the original local and cleaned-up to make them WARNS=2 clean. Tested on: amd64, i386, ia64
* Remove 'sg' argument to linux_sendto_hdrincl, which is what I think wasrwatson2004-07-181-1/+1
| | | | intended. This fixes the build, but might require revision.
* The description of ng_mesg.cmd should call it "cmd" to match the structkeramida2004-07-181-1/+1
| | | | | | | definition and netgraph.h. PR: docs/66539 Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
* Remove the dependency of the :C/regexp/replacement/ variable modifierkeramida2004-07-181-8/+7
| | | | | | | | | from the :S modifier which follows a bit further below. This way the reader can read each of these two descriptions without having to jump back and forth in the manpage. PR: docs/26943 Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
* Priner control devices are now lpt*.ctl.obrien2004-07-181-1/+1
|
* Mention the vfs.usermount sysctl.brueffer2004-07-181-0/+4
| | | | | Obtained from: NetBSD via DragonFly BSD MFC after: 3 days
* Drop Giant and acquire the UNIX domain socket subsystem lock a bitrwatson2004-07-181-4/+4
| | | | | | | | | earlier in unp_connect() so that vp->v_socket can't change between our copying its value to a local variable and later use of that variable. This may have been responsible for a panic during shutdown that I experienced where simultaneous closing of a listen socket by rpcbind and a new connection being made to rpcbind by mountd.
* Add an "out" to the now required BS of defining DESTDIR.obrien2004-07-181-1/+1
|
* This is a forced commit.davidxu2004-07-180-0/+0
| | | | Clear suspension flag for debugged process when detaching.
* m_tag_copy takes an additional "how" parameter in FreeBSD.mlaier2004-07-181-0/+8
| | | | Submitted by: rwatson
* Fix macro so that we don't get missing initializer warnings.alfred2004-07-171-1/+3
|
* Change named parameters from max (which conflicts with a macro in libkern.h)alfred2004-07-171-2/+2
| | | | to maxval.
* Remedy my omission of one change in the prevision revision: pmap_remove()alc2004-07-171-0/+3
| | | | must pin the current thread in order to call pmap_pte_quick().
* Fix typo.davidxu2004-07-171-1/+1
|
* - Utilize pmap_pte_quick() rather than pmap_pte() in pmap_remove() andalc2004-07-171-2/+4
| | | | | | | pmap_remove_page(). The reason being that pmap_pte_quick() requires the page queues lock, which is already held, rather than Giant. - Assert that the page queues lock is held in pmap_remove_page() and pmap_remove_pte().
* Fix the !INET6 build.dwmalone2004-07-171-0/+4
| | | | Reported by: alc
* Add a kern_setsockopt and kern_getsockopt which can read the optiondwmalone2004-07-173-99/+110
| | | | | | values from either user land or from the kernel. Use them for [gs]etsockopt and to clean up some calls to [gs]etsockopt in the Linux emulation code that uses the stackgap.
* Properly terminate a quoted string in the previous commit. Oddlymarcel2004-07-171-1/+1
| | | | | enough this only seems to cause problems with -jX so went unnoticed until now.
* s/manditory/mandatoryalfred2004-07-171-3/+3
| | | | Obtained from: Ceri Davies
* Revert WARNS bump until I figure out why this does not work.johan2004-07-171-1/+0
|
* Explain that for nfs, rpc.lockd and truss I am just noting that I _can_alfred2004-07-171-2/+3
| | | | | | and would like to review changes if desired. Maintain my strict lock on libc/rpc.
* Support readlink(2) better. Readlink does not nul terminate thealfred2004-07-1710-20/+32
| | | | | | | | result buffer, so we need to format it ourselves. The problem is that the length is stored as the return value from readlink, so we need to pass the return value from our syscall into print_arg. Motivated by: truss garbage on my screen from reading /etc/malloc.conf.
* The tcp syncache code was leaving the IPv6 flowlabel uninitialiseddwmalone2004-07-172-6/+32
| | | | | | | | | | | | for the SYN|ACK packet and then letting in6_pcbconnect set the flowlabel later. Arange for the syncache/syncookie code to set and recall the flow label so that the flowlabel used for the SYN|ACK is consistent. This is done by using some of the cookie (when tcp cookies are enabeled) and by stashing the flowlabel in syncache. Tested and Discovered by: Orla McGann <orly@cnri.dit.ie> Approved by: ume, silby MFC after: 1 month
* When reporting reciept of a signal, print the signal's name.alfred2004-07-173-7/+26
|
* Remove unused user_uname variable.kientzle2004-07-172-16/+8
| | | | | | Add range-checking to argument of -b. Thanks to: Tim J Robbins
* Explicitly specify ATPROTO_DDP constant rather than '0' when bindingrwatson2004-07-171-1/+1
| | | | a netatalk socket. No functional change.
* Merge in a stable fix from OpenBSD:mlaier2004-07-171-52/+63
| | | | | | | | | | | MFC: Fix by dhartmei@ change pf_route() loop detection: introduce a counter (number of times a packet is routed already) in the mbuf tag, allow at most four times. Fixes some legitimate cases broken by the previous change. Reviewed by: dhartmei
* Add a simple tool to bind netatalk sockets and perform send operations.rwatson2004-07-172-0/+170
| | | | | | | This isn't a classic regression test in that it doesn't have a notion of pass fail, it's more of an exercise tool. It attempts to exercise unbound, bound, unconnected, and connected variations on SOCK_DGRAM sockets.
* Add the const qualifier to the prgregset_t argument for the *setregs*marcel2004-07-174-4/+4
| | | | functions.
* o ps_pd{read|write} and ps_pt{read|write} are obsolete interfacemarcel2004-07-171-22/+2
| | | | | functions. Only ps_p{read|write} remains. o Remove ps_getpid. We don't need it now.
* Re-implement this file, including copyright notice. Keep David Xu asmarcel2004-07-171-69/+31
| | | | | | | | | | | | | copyright owner. Typical bugs fixed by this are: o various style(9) bugs, o #ifdef'd out code, o lack of comments, o missing const, o introduction of obsolete functions, o missing __BEGIN_DECLS & __END_DECLS, The major flaw in this version, that was also present in the previous version is the lack of man page. Minor flaws undoubtedly still exist.
* gcc now objects to a default label without any contents. Because I wantrwatson2004-07-171-0/+2
| | | | | to have a comment present in the default case, add a 'break' to each default case that previously had no actual statements.
* Add simple regression test to detect leakage of file descriptors whenrwatson2004-07-172-0/+142
| | | | | | accept() returns EAGAIN on a non-blocking listen socket. This is the tool I used to check that such a bug was resolved when merging accept() locking.
* Document the SUSER_RUID flag.cperciva2004-07-171-2/+14
| | | | Reminded by: pjd
* Add a BUGS entry pointing out that the ASU flag isn't being set. This wascperciva2004-07-171-0/+7
| | | | disabled by rwatson in revision 1.60 of sys/kern/kern_prot.c in August 2000.
* Fix minor namespace pollution: The prototypes for f{dim,max,min}(),stefanf2004-07-171-6/+6
| | | | | nearbyint(), round() and trunc() shouldn't be visible when compiling with -D_XOPEN_SOURCE=500.
* Dont set "address setup timing" on newer VIA chips.sos2004-07-171-1/+2
| | | | closes PR: 69180
* Use correct location for nsmb.conf file.bp2004-07-171-1/+2
| | | | PR: misc/45273
* Fix typo: carat -> caret.tjr2004-07-171-1/+1
|
* Rename the sound device drivers.nyan2004-07-172-12/+14
|
* Merged from the following changes.nyan2004-07-176-60/+88
| | | | | | - sys/dev/fdc/fdc.c revision 1.281 - sys/dev/fdc/fdcvar.h revision 1.3 - sys/dev/fdc/fdc_isa.c revision 1.7
* Correct typo.nyan2004-07-171-1/+1
|
* Remove duplicate include.nyan2004-07-171-1/+0
|
* Add some PCI IDs for OHCI chips.simokawa2004-07-172-0/+30
| | | | Obtained from: DragonFly BSD
* Resurrect kld support. Support ADDR16_HA/LA relocations, and syncgrehan2004-07-171-43/+45
| | | | | the icache on module load. Requires "-mlongcall" support, in gcc >= 3.3 but needs a bugfix to support gcc arith builtins.
* Make bsdtar the default system tar. This makes /usr/bin/tar a symlinkkientzle2004-07-172-2/+2
| | | | | pointing to /usr/bin/bsdtar by default. To make it point to /usr/bin/gtar, you can define WITH_GTAR.
* Define semantic of M_SKIP_FIREWALL more precisely, i.e. also pass associatedmlaier2004-07-173-22/+34
| | | | | | | | icmp_error() packets. While here retire PACKET_TAG_PF_GENERATED (which served the same purpose) and use M_SKIP_FIREWALL in pf as well. This should speed up things a bit as we get rid of the tag allocations. Discussed with: juli
* Validate -o usage. Strictly speaking, -o only makes sense with -x,kientzle2004-07-172-0/+8
| | | | | | of course, but I make an effort to accomodate GNU tar scripts that use -o with -c (with a meaning that totally contradicts SUSv2) by only issuing a benign warning message in that case.
OpenPOWER on IntegriCloud