aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Do not leak hooks in ng_bypass().Gleb Smirnoff2006-10-111-0/+3
| | | | | | | Submitted by: Alexander Motin <mav alkar.net> Notes: svn path=/head/; revision=163244
* o Follow the trend and try to explain what the slow device is.Maxim Konovalov2006-10-111-3/+5
| | | | | | | | | Not ideal but better than nothing. Obtained from: OpenBSD, NetBSD Notes: svn path=/head/; revision=163242
* Make it buildable.Gleb Smirnoff2006-10-111-1/+1
| | | | Notes: svn path=/head/; revision=163241
* Unbreak a short one.Gleb Smirnoff2006-10-111-2/+1
| | | | | | | Submitted by: maxim Notes: svn path=/head/; revision=163240
* Break long line.Gleb Smirnoff2006-10-111-1/+2
| | | | Notes: svn path=/head/; revision=163239
* Use hash functions with better distribution. Tested on live traffic.Gleb Smirnoff2006-10-111-11/+11
| | | | | | | Submitted by: Alexander Motin <mav alkar.net> Notes: svn path=/head/; revision=163238
* o Do not do args->f_id.addr_type == 6 when there isMaxim Konovalov2006-10-111-2/+2
| | | | | | | IS_IP6_FLOW_ID() exactly for that. Notes: svn path=/head/; revision=163237
* o Kill a nit in the comment.Maxim Konovalov2006-10-111-1/+1
| | | | Notes: svn path=/head/; revision=163236
* o Extend not very informative ipfw(4) message 'drop session, too manyMaxim Konovalov2006-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 Notes: svn path=/head/; revision=163235
* Use bitcount32() from sys/systm.h instead of my own.Gleb Smirnoff2006-10-111-17/+4
| | | | Notes: svn path=/head/; revision=163234
* Fix style(9) bugs in previous commit.Tom Rhodes2006-10-111-7/+4
| | | | | | | Lesson from: bde Notes: svn path=/head/; revision=163233
* - Update the baudrate every time the parent changes its link state.Gleb Smirnoff2006-10-111-3/+4
| | | | | | | | - Rearrange the curly braces so that this piece of code is more readable. Notes: svn path=/head/; revision=163232
* Add the -P option back, but with a note that it is not supported on FreeBSD.Tom Rhodes2006-10-111-0/+6
| | | | | | | Requested by: ru Notes: svn path=/head/; revision=163231
* Add powerpc stuff.Xin LI2006-10-112-0/+42
| | | | Notes: svn path=/head/; revision=163226
* Sync with latest English revisions.Xin LI2006-10-1114-262/+557
| | | | | | | Obtained from: The FreeBSD Simplified Chinese Project Notes: svn path=/head/; revision=163225
* Merge the rest of my changes.Ruslan Ermilov2006-10-111-13/+26
| | | | Notes: svn path=/head/; revision=163224
* Fix the prompt string.Ruslan Ermilov2006-10-111-1/+1
| | | | Notes: svn path=/head/; revision=163223
* Fix CPU value.Ruslan Ermilov2006-10-111-1/+1
| | | | Notes: svn path=/head/; revision=163222
* Using the ptr defines broke the powerpc build - convert set_mmfsa to the sameKip Macy2006-10-111-2/+2
| | | | | | | convention as the rest of openfirm.c Notes: svn path=/head/; revision=163221
* Forced commit to note that the previous commit also did the following:Bruce Evans2006-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'. Notes: svn path=/head/; revision=163220
* Change the x86 interrupt code to suspend/resume interrupt controllersJohn Baldwin2006-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 Notes: svn path=/head/; revision=163219
* Document the `kill' command.Bruce Evans2006-10-101-8/+19
| | | | | | | | Submitted by: Allan Fields <bsd@afields.ca> PR: 82779 Notes: svn path=/head/; revision=163218
* Don't pass unused bufsz to kern_shmctl().John Baldwin2006-10-101-7/+6
| | | | Notes: svn path=/head/; revision=163217
* Only try to copyin a msqid for the IPC_SET command to msgctl(). OtherJohn Baldwin2006-10-101-5/+6
| | | | | | | | | commands (such as IPC_RMID) were bogusly failing with EFAULT. Tested by: jkim Notes: svn path=/head/; revision=163216
* Remove unnecessary casts before PTRIN().John Baldwin2006-10-101-11/+11
| | | | Notes: svn path=/head/; revision=163215
* - Grammar and typo fixesMarkus Brueffer2006-10-101-12/+11
| | | | | | | | | | | - Rewording of some sentences Reviewed by: brueffer Approved by: emax (mentor) MFC after: 3 days Notes: svn path=/head/; revision=163214
* Adhere to POSIX: the -m option only applies to the newly createdRuslan Ermilov2006-10-101-13/+21
| | | | | | | | | | directories; it should not change the permission bits of already existing directories. Submitted by: Alex Unleashed (modified by me) Notes: svn path=/head/; revision=163213
* Oops, fix sign bug in #ifdef for value of INTRCNT_COUNT.John Baldwin2006-10-102-4/+4
| | | | | | | | | PR: kern/99870 Submitted by: jkim MFC after: 3 days Notes: svn path=/head/; revision=163212
* Distinguish between two distinct kinds of errors from VOP_BMAP() inAlan Cox2006-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 Notes: svn path=/head/; revision=163210
* Remind firmware of the ESSID to use in a directed scan. This fixes scanningMax Laier2006-10-101-3/+17
| | | | | | | | | | for hidden APs when we are not comming from iwi_config. Reported by: Andrew N. Below MFC after: 3 days Notes: svn path=/head/; revision=163209
* Do allow jailed superuser to override the port ACL.Robert Watson2006-10-101-1/+1
| | | | | | | | MFC after: 3 days Submitted by: Michal Mertl <mime at traveller dot cz> Notes: svn path=/head/; revision=163208
* Mark the audit system calls as being un-implemented in jails. Currently we doChristian S.J. Peron2006-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 Notes: svn path=/head/; revision=163207
* Guard against invalid metadata.Pawel Jakub Dawidek2006-10-101-0/+6
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=163206
* Be sure to not create devices with (mediasize % sectorsize) != 0.Pawel Jakub Dawidek2006-10-101-0/+1
| | | | | | | | Reported by: xride MFC after: 1 week Notes: svn path=/head/; revision=163205
* Be sure to not create device whichPawel Jakub Dawidek2006-10-101-0/+1
| | | | Notes: svn path=/head/; revision=163204
* o From kern_prot.c::p_cansignal():Maxim Konovalov2006-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 Notes: svn path=/head/; revision=163197
* Sort some of the most inconsistently ordered descriptions of commandsBruce Evans2006-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. Notes: svn path=/head/; revision=163196
* Fix markup botched in previous commit.Ruslan Ermilov2006-10-101-2/+2
| | | | Notes: svn path=/head/; revision=163195
* Do not translate the IN_ACCESS inode flag into the IN_MODIFIED while filesystemKonstantin Belousov2006-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 Notes: svn path=/head/; revision=163194
* Fix markup in previous revision.Ruslan Ermilov2006-10-101-2/+5
| | | | Notes: svn path=/head/; revision=163193
* The powerpc and sparc64 MD `reboot' commands should never have existedBruce Evans2006-10-103-26/+10
| | | | | | | | | | | | | | | | | | | | since they just duplicated the MI `reset' command. Instead of removing them, make `reboot' an MI alias for `reboot' since this gives a better way of killing the `r' alias for `reset'. Remove the `registers' command that was used to kill the alias. Turn the powerpc and sparc64 MD `halt' command into an MI command. A copy of sparc64/db_interface.c grew in sun4v just after I found the extra reboot commands. It has not been changed, and is now not identical. Duplicated commands come out duplicated in ddb's online help, but cause large problems when used (e.g., on i386's with 2 halt's and an hwatch, typing h doesn' give the expected message about an ambiguous command, but hangs like the halt command or a looping parseri would). Notes: svn path=/head/; revision=163192
* Remove ndisapi.9 Xref.Tom Rhodes2006-10-101-2/+1
| | | | | | | PR: 97375 Notes: svn path=/head/; revision=163191
* Fixed loss of whitespace suppression at ends of lines. WhitespaceBruce Evans2006-10-101-3/+3
| | | | | | | | | | | | | suppression is only needed at ends of lines, but rev.1.32 forced it off precisely there. The --More-- prompt is now cleared by explicitly forcing out the whitespace in "\r \r". It might be better to use the line editor's clearing functions, but these are currently static and not much different. Notes: svn path=/head/; revision=163190
* Note that the -v option may be used to expand long SSIDs.Tom Rhodes2006-10-101-1/+8
| | | | | | | | PR: 102118 Reviewed by: sam Notes: svn path=/head/; revision=163189
* grep -P xxx file.txtTom Rhodes2006-10-101-5/+0
| | | | | | | | | | "The -P option is not supported" Removed from the manual page via this commit. PR: 99831 Notes: svn path=/head/; revision=163188
* correct diag request to fetch isr state on fatal interruptsSam Leffler2006-10-091-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=163187
* Add information on how to escape a literal colon in a value or name.Tom Rhodes2006-10-091-1/+5
| | | | | | | PR: 101262 Notes: svn path=/head/; revision=163186
* Fix a typo introduced in the last commit: WWW Refresh is 0x227, not 0227Markus Brueffer2006-10-091-1/+1
| | | | | | | | Approved by: emax (mentor) MFC after: 1 day Notes: svn path=/head/; revision=163185
* Add a note about rule syntax compared to the shell used so users do not getTom Rhodes2006-10-091-0/+4
| | | | | | | | | | | frustraited when: ipfw add 201 deny ip from any to table(2) in via xl1 returns "Badly placed ( )'s" PR: 73638 Notes: svn path=/head/; revision=163184
* Fix style(9) nits.Jung-uk Kim2006-10-092-76/+74
| | | | Notes: svn path=/head/; revision=163181