summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Expand usb_callout_initimp2007-06-181-1/+1
|
* Finish removal of usb_port.h macros.imp2007-06-1812-48/+143
|
* Explicitly use usb_port.h to get compat macros.imp2007-06-181-0/+1
|
* Use device_foo_t to declare kobj methodsimp2007-06-188-58/+80
| | | | Fix shutdown type to return int rather than void.
* finish removing usb_port.h macros.imp2007-06-181-14/+14
| | | | | Use device_foo_t to declare functions a little de-k&r
* Finish removing usb_port.h compat macros.imp2007-06-182-26/+71
|
* According to the default font size on sparc64 provide a 12 x 22marius2007-06-181-1/+32
| | | | | | | | mouse pointer instead of a 8 x 16 one so device drivers don't need to bring there own one there and in gfb_mouse() (ab)use the pixel_mask argument of putm() to pass along on/off info as erasing the mouse cursor image by redrawing the text underneath doesn't work as we use hardware cursors on sparc64.
* - Fixes cstatic issues found by cisco sa tool (missing frees and suchrrs2007-06-186-5/+23
| | | | | on error legs) - align sctp_sockstore to 64 bit boundary ..
* - Move ofw_pci_alloc_busno() to the ofw_pci KOBJ interface,marius2007-06-187-99/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | allowing the driver for the host-PCI-bridge to indicate that reenumeration of the PCI busses isn't supported by returning -1 instead of a valid PCI bus number. This is needed in order support both Tomatillo, which don't support reenumeration and thus are apparently intended to be used for independently numbered PCI domains only, and Psycho bridges, whose busses need to be reenumerated on at least some E450, without the #ifndef currently used for sun4v in order to support multiple independently PCI domains. The actual allocation/incrementation of the PCI bus numbers is now done in psycho(4), though it no longer establish a mapping between bus numbers and device nodes like ofw_pci_alloc_busno() did as that functionality wasn't used (but can easily brought back if really needed). The now no longer used sys/sparc64/pci/ofw_pci.c is also removed from sys/conf/files.sun4v as ofw_pci_alloc_busno() wasn't used there in the first place. - In ofw_pci_default_{adjust_busrange,intr_pending}() sanity check that the device has a parent before passing it on. - Make psycho_softcs static to sys/sparc64/pci/psycho.c as it's not used outside of that module. - In sys/sparc64/pci/ofw_pcib_subr.c remove the superfluous inclusion of opt_global.h and correct the debug output for adjusting the subordinate bus number.
* For sun4u also add PCI busses with a device unit number of -1marius2007-06-181-8/+1
| | | | | | | | | | | instead of using the PCI bus number, like it's already done for sun4v in order to deal properly with independently numbered PCI domains which can't be reenumerated (in the case of sun4u f.e. Tomatillo bridges). For machines where we need to reenumerate all PCI busses this change obviously introduces the theoretical cosmetic problem that the device number of the PCI bus no longer equals to its PCI bus number. In practice this doesn't happen as both are assigned linearly and in parallel.
* Remove some stuff I accidently left in the previous commit.brueffer2007-06-181-4/+0
|
* Complete SYNOPSIS and some cleanup.brueffer2007-06-181-3/+18
|
* - Add liblwres.so.10 which is now .30 after latest bind importrafan2007-06-181-0/+43
| | | | - Add obsolete libraries which got a version bump
* - Bump share library version which were missed in last bumprafan2007-06-188-8/+8
| | | | | | Reported by: jhb Discussed with: deischen, des, doubg, harti Approved by: re (kensmith)
* Fix some debugging code that crept in accidentally.scottl2007-06-181-3/+3
|
* o Make ipfw set more robust -- now it is possible:maxim2007-06-183-59/+191
| | | | | | | | | | | | - to show a specific set: ipfw set 3 show - to delete rules from the set: ipfw set 9 delete 100 200 300 - to flush the set: ipfw set 4 flush - to reset rules counters in the set: ipfw set 1 zero PR: kern/113388 Submitted by: Andrey V. Elsukov Approved by: re (kensmith) MFC after: 6 weeks
* Use vfs_timestamp() instead of nanotime() - make it up todelphij2007-06-181-1/+1
| | | | | the user to make decisions about how detail they wanted timestamps to have.
* Add additional logging level mask for packet_logging too.rrs2007-06-183-9/+19
|
* Note PAM support in atrun(8) and cron(8).yar2007-06-181-0/+19
|
* Major cleanup: mdoc macros, style, typos etc.brueffer2007-06-1810-216/+320
|
* We only flush entries related to the given file system. Currently there arepjd2007-06-181-3/+0
| | | | | no 'invalid' cache entires - file system is responsible for keeping it that way. The comment should have been updated in rev.1.25.
* /usr/lib/libvgl.so.4 was bumped last month (20070521).rafan2007-06-181-0/+1
| | | | Approved by: delphij (mentor)
* Update comment: kernel privileges are, in fact sorted by subsytem.rwatson2007-06-181-1/+1
|
* Drop the default zones that are now covered by the new zones thatdougb2007-06-181-0/+4
| | | | were added in the last revision.
* Bring our default named configuration more in line with currentdougb2007-06-187-119/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | best practices: 1. The old way of generating the localhost zones was not optimal both because they did not exist by default, and because they were not really aligned with BCP. There is no need to have the dynamic data that the make-localhost script generated, and good reasons to do this more "by the book." 2. In named.conf a. Clean up white space b. Add/clarify a few comments c. Slave zones from the root servers instead of using a hints file. This has several advantages, as described in the comments. d. Significantly revamp the default zones, including the forward localhost zone, and the reverse zones for IPv4 and IPv6 loopback addresses. There are extensive comments describing what is included and why. Interested readers should take the time to review the RFCs mentioned in the comments. There is also relevant information about the motivations for hosting these zones in the "work in progress" Internet-Draft, http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt or its successor. It's also worth noting that a significant number of these empty zones are already included by default in the named binary without any user configuration. e. Because we're including a lot of examples of both local forward zones and slave zones in the default configuration, eliminate some of those examples. 3. Add new localhost-{forward|reverse} zone files, and an "empty" zone to support the changes in 2.d. above. The empty zone file isn't really empty in order to avoid a warning from BIND about a zone file that doesn't contain any A or AAAA records.
* Add a namedb/master directory for the zone files I'm about to add,dougb2007-06-183-19/+24
| | | | | and switch to the more "normal" way of installing files for the namedb directory so that we can pick up the new subdir.
* minor style(9) polishingimp2007-06-181-7/+4
| | | | # but we need a usb_match function, if we don't already have one...
* Add rewind() to the list of functions which may fail and set errnoache2007-06-181-1/+2
|
* Add mbstate clear missed in one of the cases.ache2007-06-181-5/+6
| | | | Move overflow check for fseek as early as needed.
* Eliminate unnecessary checks from vm_pageout_clean(): The page that isalc2007-06-181-7/+4
| | | | | | | | | | | | passed to vm_pageout_clean() cannot possibly be PG_UNMANAGED because it came from the inactive queue and PG_UNMANAGED pages are not in any page queue. Moreover, PG_UNMANAGED pages only exist in OBJT_PHYS objects, and all pages within a OBJT_PHYS object are PG_UNMANAGED. So, if the page that is passed to vm_pageout_clean() is not PG_UNMANAGED, then it cannot be from an OBJT_PHYS object and its neighbors from the same object cannot themselves be PG_UNMANAGED. Reviewed by: tegge
* Fix library names.davidxu2007-06-1810-10/+10
|
* MFp4: fix two locking problems:delphij2007-06-182-0/+7
| | | | | | | | | - Hold TMPFS_LOCK while updating tm_pages_used. - Hold vm page while doing uiomove. This will hopefully fix all known panics. Submitted by: Howard Su
* Track whether the current read stream supports seek(). For now, wekientzle2007-06-182-0/+22
| | | | | | | assume yes unless seek has previously failed, but I fear I'll have to avoid seeks under other circumstances. (For instance, tape drives on FreeBSD seem to return garbage from lseek().) Also, optimize away zero-byte skips.
* - The packet log needs to copy all of the buffer not to the end.rrs2007-06-171-2/+3
|
* Apply a vendor patch that fixes very annoying bugdelphij2007-06-171-0/+4
| | | | | | | | | | | which caused the cursor not to return to the place it should when -w is used with -e. Note that this is a commit against -HEAD because we already have the file off the vendor branch. Reported by: Tom Uffner (on -current@) Obtained from: http://www.greenwoodsoftware.com/less/less-405.tar.gz
* Have gpart synthesize a disk geometry if the underlying providermarcel2007-06-173-55/+189
| | | | | | | don't have it. Some partitioning schemes, as well as file systems, operate on the geometry and without it such schemes (e.g. MBR) and file systems (e.g. FAT) can't be created. This is useful for memory disks.
* Silence some gcc 4 warnings. It is expected that the bpf_movein() routinecsjp2007-06-171-0/+2
| | | | | | will intialize the the header length and re-initialize the mbuf pointer to reference the mbuf that is allocated after moving user supplied packet data in.
* Fix a (very) longstanding bug in moused(8) affecting high-resolution rodentsphilip2007-06-171-6/+41
| | | | | | | | | | | | when linear acceleration (-a) was enabled with a <1 value to slow them down. Previously, rounding errors would eat small movements so the mouse had to be moved a certain distance to get any movement at all. We now calculate the rounding errors and take them into account when reporting movement. PR: bin/113749 Submitted by: Oliver Fromme <olli -at- secnetix.de> MFC after: 3 days
* Back out last change to inpcb_free. Turns out we needrrs2007-06-171-3/+14
| | | | | | | to hold off freeing if there is data pending ... someone might do send/close. Which means we want the data to go and then close it after startup. Added comments to the code as well to note that this is done for a reason.
* Spelling nit due to my lamenglishness.ariff2007-06-171-1/+1
| | | | Noticed by: brueffer
* Remove USBGETSOFTC, USB_ATTACH_START, USB_DETACH_START andimp2007-06-177-27/+69
| | | | USB_DECLARE_DRIVER_INIT from the usb network drivers.
* Add PAM support to cron(8). Now cron(8) will skip commands scheduledyar2007-06-179-8/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | by unavailable accounts, e.g., those locked, expired, not allowed in at the moment by nologin(5), or whatever, depending on cron's pam.conf(5). This applies to personal crontabs only, /etc/crontab is unaffected. In other words, now the account management policy will apply to commands scheduled by users via crontab(1) so that a user can no longer use cron(8) to set up a delayed backdoor and run commands during periods when the admin doesn't want him to. The PAM check is done just before running a command, not when loading a crontab, because accounts can get locked, expired, and re-enabled any time with no changes to their crontabs. E.g., imagine that you provide a system with payed access, or better a cluster of such systems with centralized account management via PAM. When a user pays for some days of access, you set his expire field respectively. If the account expires before its owner pays more, its crontab commands won't run until the next payment is made. Then it'll be enough to set the expire field in future for the commands to run again. And so on. Document this change in the cron(8) manpage, which includes adding a FILES section and touching the document date. X-Security: should benefit as users have access to cron(8) by default
* This is a forced (and belated) commit to record that these filesphk2007-06-170-0/+0
| | | | were repocopied from src/tools/tools/recoverdisk
* Remove unused softc.marius2007-06-171-6/+2
|
* Expand USB_MATCH_STARTimp2007-06-1729-29/+29
|
* Add sysctl/tunable "hw.snd.default_auto", which is useful (especiallyariff2007-06-171-1/+6
| | | | | for non-root users) to automatically assign default unit to a newly attach device like USB audio.
* Reassign default unit to a valid unit, be it during attach or detach.ariff2007-06-172-3/+8
| | | | | | | If nothing is available, set to something that is purely ridiculous so the next valid attach will notice it. Tested by: chibis
* Fix a compile error from the last change.scottl2007-06-171-1/+1
|
* o style(9) nit.rrs2007-06-171-100/+87
| | | | | | | o shorten explainations which are over 80 columns in console. o group rows o clean up and change explanations a little bit. Obtained from: weongyo.jeong@gmail.com
* Note PAM support in atrun(8).yar2007-06-171-4/+17
| | | | | Sort FILES section while there. Touch document date.
OpenPOWER on IntegriCloud