summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix bus error in newsyslog by making sure that fields in struct fpemukmacy2006-10-121-0/+1
| | | | that are accessed as 8 byte quantities are 8 byte aligned
* Fix support for IBM/Lenovo Thinkcentre M52 series. Its vendorid / 0x1014ariff2006-10-121-16/+44
| | | | | | accidentally match with HP vendorid / 0x103c. Reported by: Robert Noland <rnoland@2hip.net>
* Remove redundant casts. The casts inside the macros should beimp2006-10-121-4/+4
| | | | sufficient (or fixed if not).
* Mark up keywords with .Cm.trhodes2006-10-121-5/+11
| | | | | | PR: 95039 Sumitted by: SeaD (older version) Reviewed by: ru
* Might as well move to the right place if we are not there.julian2006-10-111-0/+2
| | | | | The whole question of how much to rely on teh sources being in /usr/src needs visiting.
* let the user know what configurations are available when asking for it.julian2006-10-111-13/+22
|
* Spell proc/sys/kernel/pid_max correctly in a comment.keramida2006-10-111-1/+1
| | | | Submitted by: rdivacky
* Fix a few nits with the last revisionthompsa2006-10-111-3/+3
| | | | | | | - bump document date - fix punctuation and whitespace Pointed out by: bmah
* Recognize 802.1q frames in Ethernet input and process them.glebius2006-10-111-1/+29
| | | | | PR: kern/101162 Submitted by: CoolDavid (Tseng Guo-Fu) <cooldavid cdpa.nsysu.edu.tw>
* Improve ktr(4) logging for callout(9) subsystem. Log all inserts andglebius2006-10-111-7/+23
| | | | | | | | | removals, including failures, into the callwheel. XXX: Most of the CTR() macros are called with callout_lock spin mutex held, thus won't be logged into file, if KTR_ALQ is used. Moving the CTR() macros out from the spinlocked code would require copying of all arguments. I'm too lazy to do this.
* Document '-w' from main.c rev. 1.11.obrien2006-10-111-0/+8
|
* Do not leak hooks in ng_bypass().glebius2006-10-111-0/+3
| | | | Submitted by: Alexander Motin <mav alkar.net>
* o Follow the trend and try to explain what the slow device is.maxim2006-10-111-3/+5
| | | | | | Not ideal but better than nothing. Obtained from: OpenBSD, NetBSD
* Make it buildable.glebius2006-10-111-1/+1
|
* Unbreak a short one.glebius2006-10-111-2/+1
| | | | Submitted by: maxim
* Break long line.glebius2006-10-111-1/+2
|
* Use hash functions with better distribution. Tested on live traffic.glebius2006-10-111-12/+12
| | | | Submitted by: Alexander Motin <mav alkar.net>
* o Do not do args->f_id.addr_type == 6 when there ismaxim2006-10-111-2/+2
| | | | IS_IP6_FLOW_ID() exactly for that.
* o Kill a nit in the comment.maxim2006-10-111-1/+1
|
* o Extend not very informative ipfw(4) message 'drop session, too manymaxim2006-10-111-2/+32
| | | | | | | | | entries' by src:port and dst:port pairs. IPv6 part is non-functional as ``limit'' does not support IPv6 flows. PR: kern/103967 Submitted by: based on Bruce Campbell patch MFC after: 1 month
* Use bitcount32() from sys/systm.h instead of my own.glebius2006-10-111-17/+4
|
* Fix style(9) bugs in previous commit.trhodes2006-10-111-7/+4
| | | | Lesson from: bde
* - Update the baudrate every time the parent changes its link state.glebius2006-10-111-3/+4
| | | | | - Rearrange the curly braces so that this piece of code is more readable.
* Add the -P option back, but with a note that it is not supported on FreeBSD.trhodes2006-10-111-0/+6
| | | | Requested by: ru
* Add powerpc stuff.delphij2006-10-112-0/+42
|
* Sync with latest English revisions.delphij2006-10-1114-262/+557
| | | | Obtained from: The FreeBSD Simplified Chinese Project
* Merge the rest of my changes.ru2006-10-111-13/+26
|
* Fix the prompt string.ru2006-10-111-1/+1
|
* Fix CPU value.ru2006-10-111-1/+1
|
* Using the ptr defines broke the powerpc build - convert set_mmfsa to the samekmacy2006-10-111-2/+2
| | | | convention as the rest of openfirm.c
* Forced commit to note that the previous commit also did the following:bde2006-10-100-0/+0
| | | | | | | | - document the (new MI, old MD) `halt' command - document the (new MI, old MD) `reboot' alias - remove documentation of the removed `registers' command. The `r' alias for `reset' is now prevented better by the ambiguity between `reset' and `reboot'.
* Change the x86 interrupt code to suspend/resume interrupt controllersjhb2006-10-1015-98/+224
| | | | | | | | | | | | | | | | | | (PICs) rather than interrupt sources. This allows interrupt controllers with no interrupt pics (such as the 8259As when APIC is in use) to participate in suspend/resume. - Always register the 8259A PICs even if we don't use any of their pins. - Explicitly reset the 8259As on resume on amd64 if 'device atpic' isn't included. - Add a "dummy" PIC for the local APIC on the BSP to reset the local APIC on resume. This gets suspend/resume working with APIC on UP systems. SMP still needs more work to bring the APs back to life. The MFC after is tentative. Tested by: anholt (i386) Submitted by: Andrea Bittau <a.bittau at cs.ucl.ac.uk> (3) MFC after: 1 week
* Document the `kill' command.bde2006-10-101-8/+19
| | | | | Submitted by: Allan Fields <bsd@afields.ca> PR: 82779
* Don't pass unused bufsz to kern_shmctl().jhb2006-10-101-7/+6
|
* Only try to copyin a msqid for the IPC_SET command to msgctl(). Otherjhb2006-10-101-5/+6
| | | | | | commands (such as IPC_RMID) were bogusly failing with EFAULT. Tested by: jkim
* Remove unnecessary casts before PTRIN().jhb2006-10-101-11/+11
|
* - Grammar and typo fixesmarkus2006-10-101-12/+11
| | | | | | | | - Rewording of some sentences Reviewed by: brueffer Approved by: emax (mentor) MFC after: 3 days
* Adhere to POSIX: the -m option only applies to the newly createdru2006-10-101-13/+21
| | | | | | | directories; it should not change the permission bits of already existing directories. Submitted by: Alex Unleashed (modified by me)
* Oops, fix sign bug in #ifdef for value of INTRCNT_COUNT.jhb2006-10-102-4/+4
| | | | | | PR: kern/99870 Submitted by: jkim MFC after: 3 days
* Distinguish between two distinct kinds of errors from VOP_BMAP() inalc2006-10-101-2/+12
| | | | | | | | | | | | vnode_pager_generic_getpages(): (1) that VOP_BMAP() is unsupported by the underlying file system and (2) an error in performing the VOP_BMAP(). Previously, vnode_pager_generic_getpages() assumed that all errors were of the first type. If, in fact, the error was of the second type, the likely outcome was for the process to become permanently blocked on a busy page. MFC after: 3 weeks Reviewed by: tegge
* Remind firmware of the ESSID to use in a directed scan. This fixes scanningmlaier2006-10-101-3/+17
| | | | | | | for hidden APs when we are not comming from iwi_config. Reported by: Andrew N. Below MFC after: 3 days
* Do allow jailed superuser to override the port ACL.rwatson2006-10-101-1/+1
| | | | | MFC after: 3 days Submitted by: Michal Mertl <mime at traveller dot cz>
* Mark the audit system calls as being un-implemented in jails. Currently we docsjp2006-10-101-0/+19
| | | | | | | | | | | | | | | | | | | | | not trust jails enough to execute audit related system calls. An example of this is with su(1), or login(1) within prisons. So, if the syscall request comes from a jail return ENOSYS. This will cause these utilities to operate as if audit is not present in the kernel. Looking forward, this problem will be remedied by allowing non privileged users to maintain and their own audit streams, but the details on exactly how this will be implemented needs to be worked out. This change should fix situations when options AUDIT has been compiled into the kernel, and utilities like su(1), or login(1) fail due to audit system call failures within jails. This is a RELENG_6 candidate. Reported by: Christian Brueffer Discussed with: rwatson MFC after: 3 days
* Guard against invalid metadata.pjd2006-10-101-0/+6
| | | | MFC after: 1 week
* Be sure to not create devices with (mediasize % sectorsize) != 0.pjd2006-10-101-0/+1
| | | | | Reported by: xride MFC after: 1 week
* Be sure to not create device whichpjd2006-10-101-0/+1
|
* o From kern_prot.c::p_cansignal():maxim2006-10-101-2/+2
| | | | | | | | | | | | UNIX signalling semantics require that processes in the same session always be able to deliver SIGCONT to one another, overriding the remaining protections. Fix SIGCONT special case description similar to rev. 1.22 kill.2. PR: docs/58710 Submitted by: Ryan Younce MFC after: 2 weeks
* Sort some of the most inconsistently ordered descriptions of commandsbde2006-10-101-36/+36
| | | | | | | | | | | | | (the group of watchpoint commands, and the `reset' command). NetBSD has sorted everything alphabetically, but I think we would have too many commands for that if all commands were actually documented here, so this commit moves towards alphabetical order in several sections: - section for pure ddb (non-"show") commands. Now contains the watchpoint commands and is mostly in "logical" order. - section for pure ddb "show" commands - similarly for auxilary commands. Most of these are currently missing here.
* Fix markup botched in previous commit.ru2006-10-101-2/+2
|
* Do not translate the IN_ACCESS inode flag into the IN_MODIFIED while filesystemkib2006-10-105-34/+89
| | | | | | | | | | | | | | | is suspending/suspended. Doing so may result in deadlock. Instead, set the (new) IN_LAZYACCESS flag, that becomes IN_MODIFIED when suspend is lifted. Change the locking protocol in order to set the IN_ACCESS and timestamps without upgrading shared vnode lock to exclusive (see comments in the inode.h). Before that, inode was modified while holding only shared lock. Tested by: Peter Holm Reviewed by: tegge, bde Approved by: pjd (mentor) MFC after: 3 weeks
OpenPOWER on IntegriCloud