summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Drop the -d argument to mtree since some of the spec files now listdes2004-03-231-4/+4
| | | | symlinks.
* Add share/nls/{POSIX,en_US.US-ASCII} as symlinks to C.des2004-03-232-0/+4
|
* Add myself as maintainer for contrib/pfmlaier2004-03-231-0/+1
| | | | Approved by: bms(mentor)
* Recently I realized that the ADMtek 8211 driver wasn't working correctlywpaul2004-03-231-3/+4
| | | | | | | | | | (NIC would claim to establish a link with an ad-hoc net but it couldn't send/receive packets). It turns out that every time the checkforhang handler was called by ndis_ticktask(), the driver would generate a new media connect event. The NDIS spec says the checkforhang handler is called "approximately every 2 seconds" but using exactly 2 seconds seems too fast. Using 3 seconds makes it happy again, so we'll go with that for now.
* Add an implementation of uiomove_fromphys() for PowerPC. Thisalc2004-03-233-0/+263
| | | | | | implementation uses the direct virtual-to-physical mapping. Discussed with: grehan
* Add support for decoding Timespec, Timeval, Itimerval, Pollfd,dwmalone2004-03-232-3/+179
| | | | | | | | | | | | | | | | | Fd_set and Sigaction structures. Use these for printing the arguments to sigaction(), nanosleep(), select(), poll(), gettimeofday(), clock_gettime(), recvfrom(), getitimer() and setitimer(). This is based on Dan's patch from the PR but I've hacked it for style and some other issues. While Dan has checked this patch, any goofs are probably my fault. (The PR also contains support for the dual return values of pipe(). These will follow once I've ported that support to platforms other than i386.) PR: 52190 Submitted by: Dan Nelson <dnelson@allantgroup.com>
* Use pread to implement pread, rather than taking a detour throug stdio.dwmalone2004-03-231-16/+2
| | | | | PR: 52190 Submitted by: Dan Nelson <dnelson@allantgroup.com>
* decode mprotect args while i'm here.alfred2004-03-231-0/+2
|
* decode fcntl and mmap arguments.alfred2004-03-233-2/+66
|
* Do not copy vm_exitingcnt to the new vmspace in vmspace_exec(). Copyingtjr2004-03-231-1/+2
| | | | | it led to impossibly high values in the new vmspace, causing it to never drop to 0 and be freed.
* Re-add the hand-optimised assembler versions of some of the ciphersmarkm2004-03-2314-3759/+2861
| | | | | | | to the build. Should have done this ages ago: markm Reminded above to do this: peter
* mdoc fixeskientzle2004-03-231-2/+2
|
* Change the !MPSAFE boot string to something that doesn't potentiallyobrien2004-03-231-1/+1
| | | | scare users that the kernel won't run on MP systems.
* Emit a traceback when witness_trace is set and witness_warn() isalfred2004-03-231-0/+2
| | | | | | | called and triggers (typically caused by sleeping with a non-sleepable lock). Reviewed by: jhb
* Remove another case of grabbing Giant before doing a kthread_exit()wpaul2004-03-221-1/+0
| | | | which is now no longer needed.
* Rather than display which interrupts are MPSAFE, display those that aren't.obrien2004-03-221-1/+3
| | | | | This way we can take stock of the work to be done. boot -v will note those interrupts that are MPSAFE.
* Clarify the description of the "established" option.ceri2004-03-221-1/+2
| | | | | | PR: docs/50391 Submitted by: root@edcsm.jussieu.fr MFC after: 1 week
* Note that only one webnfs share is allowed per NFS server.ceri2004-03-221-0/+3
| | | | | | | PR: docs/45371 Submitted by: Mattias Pantzare <pantzer@ludd.luth.se>, Matthew D. Fuller <fullermd@over-yonder.net> MFC after: 2 days
* Use the correct length for appending an extended irq resource. This maynjl2004-03-221-1/+1
| | | | have broken APIC routing. This bug has been present since rev 1.33.
* Shorten some printfs to fit better. No other functional changes.njl2004-03-221-6/+6
|
* Whitespace and comment changes. No MD5 change to the object file.njl2004-03-221-53/+62
|
* Revert 1.22. Go back to "FreeBSD" as our _OS value. Since we now supportnjl2004-03-221-9/+2
| | | | | _OSI, we can claim compatibility with MS products without claiming to BE one. :-)
* Bump FreeBSD version to indicate new bus_alloc_resource_any API.njl2004-03-221-1/+1
|
* I'm a dumbass: the test in the MOD_SHUTDOWN case in ndis_modevent()wpaul2004-03-221-1/+1
| | | | that checks to see if any devices are still in the devlist was reversed.
* if_ndis.c no longer depends on either pci or pccard. Also, add anwpaul2004-03-221-1/+2
| | | | | | extra entry for if_ndis_pci.c that depends on cardbus, just to cover all the bases. (I don't think you can have cardbus without PCI, but just in case...)
* Commit a message to UPDATING indicating that during network stack lockingrwatson2004-03-221-0/+11
| | | | | | | merges, debug.mpsafenet will no longer be safe to use, and that it should be turned off (which is the default). I will commit a follow-up message to UPDATING (and post to freebsd-current) when it's safe to turn it on, with a description of under what circumstances it is safe to use.
* Set start_cmd and stop_cmd correctly so the code that extracts the namesdes2004-03-221-4/+3
| | | | | of the ntp servers from ntp.conf is actually used. Remove pidfile since ntpdate is not a daemon.
* Lock down global variables in if_gre:rwatson2004-03-223-9/+46
| | | | | | | | | | | | | | - Add gre_mtx to protect global softc list. - Hold gre_mtx over various list operations (insert, delete). - Centralize if_gre interface teardown in gre_destroy(), and call this from modevent unload and gre_clone_destroy(). - Export gre_mtx to ip_gre.c, which walks the gre list to look up gre interfaces during encapsulation. Add a wonking comment on how we need some sort of drain/reference count mechanism to keep gre references alive while in use and simultaneous destroy. This commit does not lockdown softc data, which follows in a future commit.
* Use ' rather than ".obrien2004-03-221-1/+1
| | | | Submitted by: ru
* Lock down global variables in if_gif:rwatson2004-03-221-9/+50
| | | | | | | | | | | | | | - Add gif_mtx, which protects globals. - Hold gif_mtx around manipulation of gif_softc_list. - Abstract gif destruction code into gif_destroy(), which tears down a softc after it's been removed from the global list by either module unload or clone destroy. - Lock gif_called, even though we know gif_called is broken with reentrant network processing. - Document an event ordering problem in gif_set_tunnel() that will need to be fixed. gif_softc fields not locked down in this commit.
* Forced commit note to explain why NO_POSIX_COMPAT was removed with upgrade.ache2004-03-220-0/+0
| | | | | | | | | | | | NO_POSIX_COMPAT was added in 1996 as attempt to resolve POSIX regex functions conflict for fixit floppy (they are both in libc and libgnuregex) The way it done (simple excluding POSIX functions from compile) breaks legitimate case when, say, some program from ports calls both POSIX and GNU regex functions (it will call POSIX ones from libc and fails, because header <regex.h> is from GNU). Now our fixit floppy (and other crunched floppies, as I check) not use libgnuregex, so the hack can be removed.
* Move "called", a static function variable used to detect recursiverwatson2004-03-221-4/+11
| | | | | | | processing with gif interfaces, to a global variable named "gif_called". Add an annotation that this approach will not work with a reentrant network stack, and that we should instead use packet tags to detect excessive recursive processing.
* MFi386: revision 1.480.nyan2004-03-221-0/+1
|
* On startup, warn if inetd's config file doesn't exist. This isn'tdwmalone2004-03-221-0/+2
| | | | | | | | | | | exactly the same as patch from the PR, which also exited if the config file was missing. I didn't use Jeff's patch because I was worried that some people might start inetd, create the config file and then HUP inetd. PR: 60806 Submitted by: Jeff Ito <jeffi@rcn.com> MFC after: 2 weeks
* Use fseeko() to properly support large files.tjr2004-03-221-3/+3
|
* Remove some netbsd debug code that crept into rev 1.116ps2004-03-222-8/+0
|
* Use errc().tjr2004-03-221-4/+2
|
* Add an implementation of uiomove_fromphys() to sparc64. Thisalc2004-03-222-0/+147
| | | | | | implementation could be characterized as a hybrid of the amd64 and i386 implementations. Specifically, the direct virtual-to-physical mapping is used if possible and sf_buf_alloc() is used if the direct map cannot.
* Just use autoconf-compatible feature macros; don't try to be clever.kientzle2004-03-222-4/+9
|
* Add an observation by Dijkstra software engineering.grog2004-03-221-0/+17
|
* Rename 'ddpcb' variable to 'ddpcb_list' to better distinguish it fromrwatson2004-03-223-8/+8
| | | | 'struct ddpcb'.
* Rename 'at_ifaddr' list to 'at_ifaddr_list' so that the variable isrwatson2004-03-226-23/+23
| | | | more easily mechanically distinguished from 'struct at_ifaddr'.
* Compare pointers with NULL rather than 0, or treating them as boolans inrwatson2004-03-226-13/+14
| | | | | | | if statements. at_rmx gets a $FreeBSD$ out of the deal also (this code appears to be unused).
* MAC addresses are 8 bits in ARCNET. Adjust bcopy().mdodd2004-03-221-2/+2
|
* Also modify ddp_input.c with the following changes previously appliedrwatson2004-03-221-90/+90
| | | | | | | | | | | | | | to other files in netatalk: Log: Since I have my hands all over netatalk adding locking and restructuring it, cinch the file's style closer to style(9) with regard to parenthesis: s/( /(/g s/ )/)/g s/return(/return (/g s/return 0/return (0)/ s/return 1/return (1)/
* Since I have my hands all over netatalk adding locking and restructuringrwatson2004-03-225-582/+582
| | | | | | | | | | it, cinch the file's style closer to style(9) with regard to parenthesis: s/( /(/g s/ )/)/g s/return(/return (/g s/return 0/return (0)/ s/return 1/return (1)/
* Remove WFORMAT, style.Makefile(5).obrien2004-03-221-5/+5
|
* Dont count bytes being sent to a disconnected hook.julian2004-03-221-4/+4
| | | | MFC after: 3 days
* Share the i386 boot manual page.obrien2004-03-221-0/+3
|
* The Intel 2200BG NDIS driver does an alloca() of about 5000 byteswpaul2004-03-223-8/+32
| | | | | | | | | | | | | | | | | when it associates with a net. Because FreeBSD's kstack size is only 2 pages by default, this blows the stack and causes a double fault. To deal with this, we now create all our kthreads with 8 stack pages. Also, we now run all timer callouts in the ndis swi thread (since they would otherwise run in the clock ithread, whose stack is too small). It happens that the alloca() in this case was occuring within the interrupt handler, which was already running in the ndis swi thread, but I want to deal with the callouts too just to be extra safe. NOTE: this will only work if you update vm_machdep.c with the change I just committed. If you don't include this fix, setting the number of stack pages with kthread_create() has essentially no effect.
OpenPOWER on IntegriCloud