summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix sbrk.S to use _end symbol the same way brk.s was fixed some timekan2007-06-271-2/+2
| | | | | | | ago. sbrk.S should have gotten the same change then but was forgotten. Approved by: re (bmah) PR: kern/114049
* Force commit to note in rev. 1.1435 the correct discussion forrafan2007-06-270-0/+0
| | | | | | | | | removing warning about nullfs is http://docs.freebsd.org/cgi/mid.cgi?6eb82e0706182246q6563ba03x31038082125b50ae Approved by: re (implicit) Reminded by: des
* Update suser(9) and priv(9) to document that the 'flags' argument is nowrwatson2007-06-262-33/+13
| | | | | | unused -- SUSER_RUID and SUSER_ALLOWJAIL are no longer defined or used. Approved by: re (bmah)
* Pointy hat to me. Committed with building.mjacob2007-06-261-1/+1
| | | | Approved by: re (ken, implicit)
* Sync comments to code: we now use priv_check() rather than suser() torwatson2007-06-261-16/+16
| | | | | | determine privilege. Approved by: re (bmah)
* MFp4: Bugfixes for truss(1):delphij2007-06-2610-91/+75
| | | | | | | | | | | - Fix logic handling execve(). We will not be able to obtain information otherwise. - truss coredump [1]. - truss does not work against itself [2]. PR: bin/58970 [1], bin/45193 [2] Submitted by: Howard Su Approved by: re (kensmith)
* Add Viking Interworks 256MB as an ata device; this might giveremko2007-06-262-1/+3
| | | | | | | | | | | | some false positives but at this moment it is better to add support then to dont have it at all (comment from Soren). PR: kern/111516 Submitted by: Thomas Nystrom <thn at saeab dot se> Approved by: re (kensmith) Approved by: imp (mentor) OK'ed by: sos (With the comment noted above about false positives).
* Fix an old standing LOR between callout_lock and sleepqueues chain (whichattilio2007-06-261-3/+35
| | | | | | | | | | | | | | | | | | could lead to a deadlock). - sleepq_set_timeout acquires callout_lock (via callout_reset()) only with sleepq chain lock held - msleep_spin in _callout_stop_safe lock the sleepqueue chain with callout_lock held In order to solve this don't use msleep_spin in _callout_stop_safe() but use directly sleepqueues as inline msleep_spin code. Rearrange the wakeup path in order to have it consistent too. Reported by: kris (via stress2 test suite) Tested by: Timothy Redaelli <drizzt@gufi.org> Reviewed by: jhb Approved by: jeff (mentor) Approved by: re
* Introduce a new rwlocks initialization function: rw_init_flags.attilio2007-06-263-12/+103
| | | | | | | | | | | | | | | This is very similar to sx_init_flags: it initializes the rwlock using special flags passed as third argument (RW_DUPOK, RW_NOPROFILE, RW_NOWITNESS, RW_QUIET, RW_RECURSE). Among these, the most important new feature is probabilly that rwlocks can be acquired recursively now (for both shared and exclusive paths). Because of the recursion counter, the ABI is changed. Tested by: Timothy Redaelli <drizzt@gufi.org> Reviewed by: jhb Approved by: jeff (mentor) Approved by: re
* Extension of previous commit- when we have 2k login firmware, we need tomjacob2007-06-261-1/+7
| | | | | | | | put out a ispreqt2e_t structure onto the request queue- not a ispreqt2_t structure. I forgot that the 23XX can use a t2 structure. Approved by: re (ken, implicitly) MFC after: 3 days
* Make zoneinfo optional so that a filesystem upgrade/update does not overwriteremko2007-06-262-1/+6
| | | | | | | | | | | possibly installed thirdparte zoneinfo databases (from ports for example). PR: bin/104713 Submitted by: Mark Andrews <Mark_Andrews at isc dot org> (original patch rewritten by me to be more consistent with the new practise). Approved by: re (kensmith) Approved by: imp (mentor) Reviewed by: ru (some time ago already)
* This is temp workaround of nasty gcc 4.2.0 -O2 bug which may skip the restache2007-06-261-1/+1
| | | | | | | of the loop when arrays used inside. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32500 Approved by: re (kensmith)
* Eliminate the use of Giant from vm_daemon(). Replace the unconditionalalc2007-06-261-21/+27
| | | | | | | use of Giant in vm_pageout_scan() with VFS_LOCK_GIANT(). Approved by: re (kensmith) MFC after: 3 weeks
* Add a new MAC framework and policy entry point,rwatson2007-06-266-1/+38
| | | | | | | | | mpo_check_proc_setaudit_addr to be used when controlling use of setaudit_addr(), rather than mpo_check_proc_setaudit(), which takes a different argument type. Reviewed by: csjp Approved by: re (kensmith)
* Fix a obsecure coredump while testing with tmpfs on amd64.delphij2007-06-261-2/+6
| | | | Approved by: re (kensmith)
* Fix Rocketport so that it does not crash the system when a device pointerremko2007-06-261-2/+12
| | | | | | | | | | | | | | | | | | | changes for example: (From Craig Leres): tip to a rocketport line run "/etc/rc.d/devfs restart" exit tip (wait for the system to reboot) Thanks to Robert Watson for poking me to fix this. PR: kern/109152 Approved by: imp (mentor) Approved by: re (kensmith) Reviewed by: jhb Submitted by: Craig Leres <leres@ee dot lbl dot gov>
* Partially updated usbdevs from OpenBSD's usbdevs. Also, some sortingimp2007-06-261-43/+114
| | | | | | | | | | | of the file numerically for vendors and then each product numerically by vendor (with all the foo2's sorting after the foo's). Someday, all the usbdevs will be merged, I hope, but until then, we have these mega-merges. This also finishes the LINKSYS4 -> CISCOLINKSYS rename. Approved by: re@ (blanket)
* Fix 'bsdtar -t' on tape drives. Libarchive uses thekientzle2007-06-263-12/+45
| | | | | | | | | | | | | skip() callback to skip over data when reading uncompressed archives. This gets invoked, for example, during tar -t or tar -x with a filename argument. The revised code only calls [lf]seek() on regular files, instead of depending on the kernel to return an error. Thanks to: bde for explaining the implementation of lseek() Thanks to: Daniel O'Connor for testing Approved by: re (Ken Smith) MFC after: 5 days
* Remove two function prototypes that are no longer used.delphij2007-06-261-4/+0
| | | | Approved by: re (tmpfs blanket)
* Add missing semi-colon.mjacob2007-06-261-1/+1
| | | | Approved by: re (not really, but it's better to have things compile than not for right now. Sorry)
* - Sync with NetBSD's RCSID (HEAD preferred).delphij2007-06-262-2/+2
| | | | | | - Correct a typo. Approved by: re (tmpfs blanket)
* The config.use_protection option can not be used in 802.11b mode and causes athompsa2007-06-251-16/+17
| | | | | | | | | firmware reset. Also zero out struct iwi_rateset although its not strictly necessary. Reported by: Maxim Konovalov Reviewed by: sam Approved by: re (bmah)
* LINKSYS4 is going to be going away. Migrate to CISCOLINKSYS instead.imp2007-06-251-3/+3
| | | | | | There is no md5 delta for this change. Approved by: re@ (blanket)
* - Update bindx address checking to properly screen out addressrrs2007-06-251-1/+11
| | | | | | | per the socket api, adding port validation. We allow port 0 or the already bound port number and no others. Approved by: re@freebsd.org (Ken Smith)
* - Fix wrong error return (the errno was being returned and not placedrrs2007-06-251-10/+24
| | | | | | | | | in errno) - Found by Weongyo Jeong - Remove two extra un-needed memset() after calloc()'s - Found by Weongyo Jeong - Tightened up parameter requirement checking on input to bindx/connectx per socket api spec. Approved by: re@freebsd.org(Ken Smith)
* id generation is now handled by uma(9) subsystem,delphij2007-06-252-76/+0
| | | | | | | so remove the (now) irrevelent test case. Requested by: Howard Su Approved by: re (tmpfs blanket)
* MFp4: Several clean-ups and improvements over tmpfs:delphij2007-06-256-122/+106
| | | | | | | | | | | | | | | | | | | | | | | - Remove tmpfs_zone_xxx KPI, the uma(9) wrapper, since they does not bring any value now. - Use |= instead of = when applying VV_ROOT flag. - Remove tm_avariable_nodes list. Use uma to hold the released nodes. - init/destory interlock mutex of node when init/fini instead of ctor/dtor. - Change memory computing using u_int to fix negative value in 2G mem machine. - Remove unnecessary bzero's - Rely uma logic to make file id allocation harder to guess. - Fix some unsigned/signed related things. Make sure we respect -o size=xxxx - Use wire instead of hold a page. - Pass allocate_zero to obtain zeroed pages upon first use. Submitted by: Howard Su Approved by: re (tmpfs blanket, kensmith)
* Yet another bug- when we have 2k login firmware, we needmjacob2007-06-251-1/+7
| | | | | | | | | to put out a ispreqt3e_t structure onto the request queue- not a ispreqt3_t structure. We weren't. This turns out only to really matter for big endian machines. Approved by: re (ken) MFC after: 3 days
* Fix a number of documentation-lags-behind-reality bugs in sysinstall(8).philip2007-06-2512-41/+49
| | | | | | | While here, fix a couple of comments too. Submitted by: Oliver Fromme <olli -at- lurza.secnetix.de> Approved by: re (kensmith)
* Add myself as a src committer.scf2007-06-252-0/+4
| | | | | Approved by: wes (mentor) Approved by: re (bmah)
* Add support for the nVidia MCP61 series chipset.sos2007-06-252-0/+8
| | | | Approved by: re (mux@)
* Starting in version 1.56, ucomstop started calling ucomstart to workimp2007-06-251-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | around an output freezing problem (see the CVS log for details). This is the same approach that sio takes to solve that problem. However, ucom has a problem that sio doesn't have. Consider the case where output is pending, and the device is closed. ttyclose calls tt_close (which indirects to ucomclose) and then calls ttyflush which calls tt_stop (which indirects to ucomstop). Since ucomclose removed all the usb transfer points, sc_oxfer will be NULL when ucomstop calls ucomstart. This results in a null pointer dereference. Since calling ucomstart in ucomstart solves other problems, we need to work with this calling sequence. The easiest way to do that is to bail early if sc_oxfer is NULL. Kazuaki ODA-san came up with this patch, and filed a PR. I had seen this bug at work and this patch does seem to solve it. He had no idea why it worked, but knew that either this patch, or backing out ucom.c 1.56 fixed his panic. I just did the legwork of chasing down the code paths that would cause this, and added a comment. This is obscure enough to warrant a comment, I think. Submitted by: Kazuaki ODA-san PR: 113964 Approved by: re (bmah)
* - Remove UMAP filesystem. It was disconnected from build three years ago,rafan2007-06-2532-2060/+16
| | | | | | | and it is seriously broken. Discussed on: freebsd-arch@ Approved by: re (mux)
* Correct msecs_to_ticks macro. This fixes problems when hz is not thesam2007-06-251-1/+1
| | | | | | | default 1000 setting. Reviewed by: thompsa, rpaulo Approved by: re (bmah)
* Make acpica include path relative, not absolute.njl2007-06-241-1/+1
| | | | Approved by: re
* The viapm module build had what appear to be some debugging CFLAGS leftnjl2007-06-242-2/+0
| | | | | | | | | | | | around to force the IO port to a fixed address. They were only turned on in the module build and were present since the original import. This breaks soft power-off on the Asus A7V since it reprograms the SMBus base address to a different one than the BIOS expects. A similar issue was found in the alpm(4) module build. PR: kern/113986, i386/97468 MFC after: 3 days Approved by: re
* Eliminate GIANT_REQUIRED from swap_pager_putpages().alc2007-06-241-1/+0
| | | | | Approved by: re (mux) MFC after: 1 week
* Document hw.bce.msi_enable tunable.brueffer2007-06-241-1/+12
| | | | Approved by: re (blanket)
* ipfstat should parse "any" when used with -D/-S command line optionsdarrenr2007-06-241-1/+2
| | | | | | | PR: bin/113879 Submitted by: kabe@sra-tohoku.co.jp Reviewed by: darrenr Approved by: re
* - Bugs in gethostbyXXX/getipnodebyXXX regression tests fixed.bushman2007-06-242-73/+162
| | | | | | | Tests for getipnodebyXXX functions now cover most number of flags combinations. Approved by: re (kensmith), brooks (mentor)
* Process tx callbacks when draining the tx q; this fixes a problemsam2007-06-241-1/+3
| | | | | | | | where a device timeout that occurs with a mgt frame on the tx q will leave the net80211 layer w/o any way to make progress. Reviewed by: thompsa, sephe Approved by: re (hrs)
* If we're going to (for 23XX and 24XX cards) DMA firmware from themjacob2007-06-241-2/+2
| | | | | | | | | | | request queues rather than shove it down a word at a time, we have to remember to put it into little endian format. Use the macros ISP_IOXPUT_{16,32} for this purpose. Otherwise, on sparc the firmware is loaded garbled and we get a (not surprisingly) firmware checksum failure and the card won't start and we don't attach it. Approved by: re (bruce) MFC after: 3 days
* Include usb_port.himp2007-06-231-0/+1
| | | | Approved by: re@ (blanket and/or cleanup commit approval)
* For USBVERBOSE case, we can't have " in any of the names.imp2007-06-231-5/+5
| | | | | Submitted by: Flemming Jacobsen Approved by: re (blanket)
* In more(1) mode, restore the historical behavior where curses initdelphij2007-06-232-13/+4
| | | | | | | | | and deinit characters are not delivered. Instead of hacking screen.c, we set no_init to implement the behavior. Reported by: mnag Approved by: re (hrs)
* Document two new sysctls: hw.snd.compat_linux_mmap and hw.snd.default_auto.joel2007-06-231-1/+9
| | | | | Reviewed by: ariff Approved by: re (hrs)
* Drag in another device: The Surecom RT2570.imp2007-06-232-0/+2
| | | | | Obtained from: OpenBSD Approved by: re@ (blanket for device IDs)
* Add a boatload of devices from OpenBSD and NetBSD to kue and cdce.imp2007-06-233-22/+74
| | | | | Obtained From: OpenBSD/NetBSD Approved by: re (blanket)
* - Remove the warning about NULL filesystem. It is stable and safe to use inrafan2007-06-231-4/+6
| | | | | | | | | | | | | | | | both 6.x and 7.x. This is based on feedbacks on this thread http://docs.freebsd.org/cgi/getmsg.cgi?fetch=81818+0+current/freebsd-stable and my use it on 6.x. MFC after: 3 days - Update the warning about UNION filesystem. It is now actively maintained, although there are still some issues being resolved. Reviewed by: freebsd-stable@, kris, bmah Approved by: re (bmah)
* Note the Belkin F5U111 Adapter is covered by NETMATE entry.imp2007-06-231-0/+1
| | | | Approved by: re (blanket)
OpenPOWER on IntegriCloud