summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-07-13no need to redefine pci vendors here since we have 'em, comment on two ↵Michael Shalayeff
screwed entries
2002-07-13regenMichael Shalayeff
2002-07-13a few bktr vendors, from various sourcesMichael Shalayeff
2002-07-13fix ioctl processing logic; problem reported by postman pechkinMichael Shalayeff
2002-07-13KNFTheo de Raadt
2002-07-13regression test for interface and proto list expansion in nat rulesHenning Brauer
2002-07-13add list expansion for interface and proto in nat rules and for proto in rdrHenning Brauer
rules (interface was already there). since the nat.conf/pf.conf merge the parser accepted these but didn't expand them. ugh. ok dhartmei@
2002-07-13define PCI_COMMAND_STATUS_BITS for printfs, according to the enlisted definesMichael Shalayeff
2002-07-13Cleanup/Shrinkage.Kenneth R Westerback
1) Eliminate more if's in favour of 'cond || stmt' or 'cond && stmt' constructs. 2) Global _didnet -> DIDNET, make local _nam a local. 3) Display 'DHCP not supported' error every time user specifies 'dhcp' but the client is not present. 4) if if_extra is empty, that's ok, so just assign $resp to it whether $resp is empty or not. 5) Check for DIDNET inside donetconfig() instead of before each call to donetconfig. 6) Eliminate superfluous 'Aborting' comments, and let the user draw their own conclusion from getting the 'Extract more sets' message. 7) Minor code tweaks like not continually assigning $resp to a value in a loop, when all we want is the final value, and only displaying 'Skipping' message in tape installs if we are actually skipping files, etc.
2002-07-13pci_intr_establish() is a macros on some archs and ifdef w/in the macro args ↵Michael Shalayeff
does not work
2002-07-13More cleanup/simplification/shrinkage.Kenneth R Westerback
1) Factor out inquiring for a device. ask_fordev() now does this for root disk determination, other disk initialization, install sets disk or cd inquiry. Also ensures cd devices are created on the fly like disk devices already were, and shortens some verbiage. 2) Just ask for root disk if install is skipping disk initialization, rather than doing the 'df /mnt ...' scan, since 1) we just end up asking anyway and 2) everything *should* have been umount'ed when previous install was finished or interrupted. 3) getrootdisk -> get_rootdisk to conform to get_<global> naming convention. 4) Add and use new global ROOTDEV rather than constantly adding 'a' to ROOTDISK. ROOTDEV default is set in get_rootdisk(). 5) Put loop inside get_rootdisk rather than always putting one around it. If no rootdisk found/specified just exit install/update. 6) Eliminate getanotherdisk since ask_fordev() does most of the work. 7) Eliminate parameter to check_fs, just use ROOTDEV instead. 8) Some typographical and minor code tweaks.
2002-07-13use snprintfTheo de Raadt
2002-07-13uname translationNiels Provos
2002-07-13use correct length for PF_LOCAL sockets; not all applications fill inNiels Provos
sa_len
2002-07-13do not call unlock when the lock is not locked; found by millert@Niels Provos
2002-07-13ansiTheo de Raadt
2002-07-13ansiTheo de Raadt
2002-07-13make sure to clean all files.Artur Grabowski
2002-07-13slight cleanupTheo de Raadt
2002-07-12In TTEST2(), check to make sure the "l" argument isn't so large thatPeter Valchev
"snapend - l" underflows; this fixes a buffer overflow with malformed NFS packets, and may fix other buffer overflows with malformed packets. From tcpdump CVS via fenner@FreeBSD
2002-07-125821 reportedly mostly works with the latest changes.Jason Wright
2002-07-12syncTheo de Raadt
2002-07-12there is no function called libalpha(), so whack itTheo de Raadt
2002-07-12install all man pages on all archTheo de Raadt
2002-07-12Add MMX extensions. This does not include SSE/MMX extensions.Federico G. Schwindt
millert@ ok.
2002-07-12pciagp option descriptionMichael Shalayeff
2002-07-12enable radio on bktr and fms, drivers are already thereMichael Shalayeff
2002-07-12check upon the pir length prior to using it, ignore short tables; from ↵Michael Shalayeff
henric@attbi.com
2002-07-12Complain about ENXIO devices on another syslog level (LOG_WARNING which doesn'tJason Wright
go to the console).
2002-07-12fixing this program is nearly futile, but cloder@acm.org takes a shot at itTheo de Raadt
2002-07-12turn on the pciagp option, per theo's requestMichael Shalayeff
2002-07-12pciagp optionMichael Shalayeff
2002-07-12Cleanup: use less _t typedefs, use the structure itself.Dale Rahn
pmap_t is the exception, it is required by the MI code so pmap_t will be used instead of using 'struct pmap *' in the code. (consistency)
2002-07-12Change ld.so search order/method to match the a.out ld.so.Dale Rahn
run destructors on dlclose() Move more symbols into _dl_ private space, so that the proper (libc) version of the function will be used. Add readdir() functionality to perform the proper library searching. Support DL_PRELOAD Do not relocate symbols if ld.so is being traced (and will exit). Misc lint cleanup. ok art@
2002-07-12support for the agp gart on various agp chipsets.Michael Shalayeff
only i810 driver was tested though. based on the netbsd's lkm, initially ported by hunter@dg.net.ua and later made into shape by mickey. testing by art@ and millert@ .
2002-07-12Use interrupts for fetching ADC conversions instead of polling.Jason Wright
2002-07-12change timeout_ API to evtimer_ API; avoiding clashes with kernel includeNiels Provos
files. okay mickey@
2002-07-12Do not collapse \\ -> \ in a command, the shell will be unhappy withTodd C. Miller
bare backslashes.
2002-07-12Mention that an interface can be a part of at most one bridge.Jason Wright
2002-07-12Remove duplicate function declarations (they are in pfvar.h).Artur Grabowski
2002-07-12EVP_CIPH_CUSTOM_IV for our own rijndaelMarkus Friedl
2002-07-12syncTheo de Raadt
2002-07-12chroot awareHenning Brauer
testing help by nick@
2002-07-12Detect the case where we LK_RELEASE a lock when noone is holding it.Artur Grabowski
2002-07-12Change the locking on the mountpoint slightly. Instead of using mnt_lockArtur Grabowski
to get shared locks for lookup and get the exclusive lock only with LK_DRAIN on unmount and do the real exclusive locking with flags in mnt_flags, we now use shared locks for lookup and an exclusive lock for unmount. This is accomplished by slightly changing the semantics of vfs_busy. Old vfs_busy behavior: - with LK_NOWAIT set in flags, a shared lock was obtained if the mountpoint wasn't being unmounted, otherwise we just returned an error. - with no flags, a shared lock was obtained if the mountpoint was being unmounted, otherwise we slept until the unmount was done and returned an error. LK_NOWAIT was used for sync(2) and some statistics code where it isn't really critical that we get the correct results. 0 was used in fchdir and lookup where it's critical that we get the right directory vnode for the filesystem root. After this change vfs_busy keeps the same behavior for no flags and LK_NOWAIT. But if some other flags are passed into it, they are passed directly into lockmgr (actually LK_SLEEPFAIL is always added to those flags because if we sleep for the lock, that means someone was holding the exclusive lock and the exclusive lock is only held when the filesystem is being unmounted. More changes: dounmount must now be called with the exclusive lock held. (before this the caller was supposed to hold the vfs_busy lock, but that wasn't always true). Zap some (now) unused mount flags. And the highlight of this change: Add some vfs_busy calls to match some vfs_unbusy calls, especially in sys_mount. (lockmgr doesn't detect the case where we release a lock noone holds (it will do that soon)). If you've seen hangs on reboot with mfs this should solve it (I repeat this for the fourth time now, but this time I spent two months fixing and redesigning this and reading the code so this time I must have gotten this right).
2002-07-12Document the API change.Artur Grabowski
2002-07-12- Add a flags argument to dohooks.Artur Grabowski
The flag can be either HOOK_REMOVE or HOOK_REMOVE|HOOK_FREE. o HOOK_REMOVE removes the hook from the list before executing it. o HOOK_FREE frees the hook after that. - Let dostartuphooks use HOOK_REMOVE|HOOK_FREE so we can reclaim the memory. - Let doshutdownhooks use HOOK_REMOVE so that when some shutdown hook panics (they do that all the #@$%! time these days) we don't loop for ever. Don't HOOK_FREE, it doesn't matter and I don't want to add another possible panic condition for shutdown hooks. - Actually free the pointer we're throwing away in hook_disestablish (I wonder how much memory this has leaked over the years).
2002-07-12print connect failure during debugging mode.Jun-ichiro itojun Hagino
2002-07-12There is no "simple_lock_unlock" function...Miod Vallat
2002-07-12some clean up. install argument replacements only if we are going toNiels Provos
permit the system call. translate some set[e]{g,u}id calls