summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* The kthread_create() API is supposed to allow you to create threadswpaul2004-03-221-3/+4
| | | | | | | | | | | | | | | | | | | with more than the normal amount of stack pages, however the stack pointer always wound up being initialized using KSTACK_PAGES. It should be using td->td_kstack_pages instead. This means that although the vm subsystem would give you all the stack pages you asked for, %esp would always be initialized as if you had just 2 pages, and the rest would go to waste. I wanted to use the 'give me more stack pages' feature of kthread_create() because the Intel 2200BG NDIS driver does an alloca() of about 5000 bytes, which wrecks the stack with the default 2 page size, and I was baffled that no matter how much code I shoved into thread contexts with allegedly larger stacks, the thing would still crash unless I changed KSTACK_PAGES. Note: this bug is present in _ALL_ arches at this point. Peter has promised to merge this fix into all of them.
* Add an implementation of uiomove_fromphys() for i386. This implementationalc2004-03-212-0/+133
| | | | | uses sf_buf_alloc() and sf_buf_free() to create and destroy the necessary ephemeral mappings.
* Make if_ndis_pci.c and if_ndis_pccard.c use bus_alloc_resource() againwpaul2004-03-212-12/+12
| | | | | | | | instead of bus_alloc_resource_any() to restore source compatibility with 5.2-REL and 5.2.1-REL systems. bus_alloc_resource_any() doesn't really do anything besides hide some of bus_alloc_resource()'s arguments from us, and in my opinion this isn't worth breaking backwards compatibility for people who want to use the NDISulator code on 5.2.x.
* Login classes are not "unused."dannyboy2004-03-211-1/+2
| | | | | | | Reference login.conf(5). PR: 62830 Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>
* Quote NM in case you need to force it to something with args.obrien2004-03-211-1/+1
| | | | Submitted by: jmallett
* Give a more reasonable CPU time to the threads which are using schedulerobrien2004-03-211-6/+3
| | | | | | | | | | | | | activation (i.e., applications are using libpthread). This is because SCHED_ULE sometimes puts P_SA processes into ksq_next unnecessarily. Which doesn't give fair amount of CPU time to processes which are using scheduler-activation-based threads when other (semi-)CPU-intensive, non-P_SA processes are running. Further work will no doubt be done by jeffr at a later date. Submitted by: Taku YAMAMOTO <taku@cent.saitama-u.ac.jp> Reviewed by: rwatson, freebsd-current@
* - Fix indentation lost by 'diff -b'.mdodd2004-03-211-5/+4
| | | | - Un-wrap short line.
* Fix $FreeBSD$.obrien2004-03-211-4/+4
| | | | Reported by: Daniel O'Connor <doconnor@gsoft.com.au>
* - Correct variable name.mdodd2004-03-211-2/+2
| | | | | | - Correct unnecessary use of htons(). Reported by: many.
* Update the supported hardware.hrs2004-03-211-1/+7
| | | | Approved by: scottl
* When symbolic link is pointed onto a mount point, it can't be movedpjd2004-03-211-6/+17
| | | | | | | | | to a different file system. Patch in PR was incorrect. PR: bin/64430 Submitted by: Samuel Tardieu MFC after: 3 days
* Document incorrect handling of multibyte characters.tjr2004-03-211-1/+7
|
* Document incorrect handling of multibyte characters.tjr2004-03-211-1/+6
|
* Document incorrect handling of multibyte characters in filenames.tjr2004-03-211-1/+5
|
* Reduce redundancy in the description of the -u option.tjr2004-03-211-3/+1
|
* Document incorrect handling of multibyte characters when -t and -v optionstjr2004-03-211-1/+9
| | | | are used.
* Fix various issues with the picobsd build script in -current:luigi2004-03-211-16/+28
| | | | | | | | | | | + declare some shell variables as 'local' + add a missing ';;' in a 'case' statement + centralize newfs options + properly override GID and UID when installing include files and libraries + add a missing '-r' in disklabel commands (maybe not necessary, but it does not harm and it was used in the RELENG_4 version) + no more require 'perl' when installing the secondary loader + use '-t rsa1' when invoking ssh-keygen
OpenPOWER on IntegriCloud