summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add comment stating that UCS-4 really used here, not UTF-8ache2007-10-141-0/+3
|
* Fix id -A when the subject has an extended subject token associated withcsjp2007-10-141-7/+39
| | | | | | | | | | | | | them (for example when they have logged in from an ip6 source). - Stick with the initial call to getaudit(2), if it returns E2BIG, use getaudit_addr(2) instead and set the "extended" flag to indicate that we the calling credential has an extended subject state. - Additionally, add the printing of the machine/at_addr (the ip/ip6 addresses) MFC after: 1 week Obtained from: TrustedBSD Project
* revert 1.18: the negotiated rate set may not match the halsam2007-10-131-18/+34
| | | | | | | rate tables, so using the hal's rateCodeToIndex array will produce wrong indices for the negotiated rate set MFC after: 3 days
* The problem is: currently our single byte ctype(3) functions are brokenache2007-10-1315-44/+113
| | | | | | | | | | | | | | | | | | | | | | | | | for wide characters locales in the argument range >= 0x80 - they may return false positives. Example 1: for UTF-8 locale we currently have: iswspace(0xA0)==1 and isspace(0xA0)==1 (because iswspace() and isspace() are the same code) but must have iswspace(0xA0)==1 and isspace(0xA0)==0 (because there is no such character and all others in the range 0x80..0xff for the UTF-8 locale, it keeps ASCII only in the single byte range because our internal wchar_t representation for UTF-8 is UCS-4). Example 2: for all wide character locales isalpha(arg) when arg > 0xFF may return false positives (must be 0). (because iswalpha() and isalpha() are the same code) This change address this issue separating single byte and wide ctype and also fix iswascii() (currently iswascii() is broken for arguments > 0xFF). This change is 100% binary compatible with old binaries. Reviewied by: i18n@
* Remove symbols that should not be exported.deischen2007-10-131-29/+0
| | | | | Submitted by: das MFC after re@ approval
* Rewrite puc_pci_match() to handle non-trivial cases correctly.des2007-10-131-14/+19
| | | | MFC after: 1 week
* MFKernel: do not use __XSCALE__ to detect if clz/pld/ldrd/strd arecognet2007-10-133-9/+9
| | | | | | available, use _ARM_ARCH_5/_ARM_ARCH_5E instead. MFC After: 3 days
* Do not use __XSCALE__ to detect if clz is available, use _ARM_ARCH_5 instead.cognet2007-10-131-1/+1
| | | | MFC After: 3 days
* Do not use __XSCALE__ to detect if pld/strd/ldrd is available, usecognet2007-10-135-25/+25
| | | | | | _ARM_ARCH_5E instead. MFC After: 3 days
* Define _ARM_ARCH_5E too, so that we know if pld/strd/ldrd are available.cognet2007-10-131-1/+6
| | | | MFC After: 3 days
* I don't know what I was smoking when I wrote these three years ago; thedes2007-10-132-6/+22
| | | | | | return value is an error code, hence always an int. While I'm here, add getenv_uint() for completeness.
* Minor mdoc cleanup: Every sentence should start on its own line.simon2007-10-131-1/+2
|
* Describe an error return that was missed out earlier.jkoshy2007-10-131-1/+6
|
* Back out last commit -- it breaks sparc64 build which hasru2007-10-131-2/+2
| | | | more than one .c file in SRCS.
* Add NOP-message polling to ciss_periodic().iwasaki2007-10-131-1/+80
| | | | | | | | Disable adapter by detecting adapter is dead. Tested by: Masaki YATSU(on RELENG_6) Reviewed by: scottl MFC after: 1 week
* Fix a NULL pointer dereference in Tx checksum calculation.yongari2007-10-131-0/+5
| | | | Pointed out by: marius
* Add definitions for the 3rd ATA support word.scottl2007-10-121-0/+9
|
* Add a bunch of definitions and structures to support newer drivers.scottl2007-10-121-1/+110
|
* The ukbd driver has some questionable "magic" to for a default keyboardjhb2007-10-121-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | which is ukbd0. Specifically, the keyboard driver structures for ukbd0 are not allocated/freed but are statically allocated via a persistent global variable. There is some additional magic for the ukbd0 such that if the keyboard is marked as probed in this global variable, then we don't check to see if the device_t we are probing has an interface. This causes a problem if an attach of ukbd0 fails without fulling clearing the state in the global variable. Specifically, if the keyboard fails to initialize in init_keyboard() or kbd_register(), then the keyboard will still be marked as probed. The USB layer will then try to offer the "generic" version of the USB keyboard device (as opposed to the per-interface sub-devices) and the ukbd(4) driver will see that the keyboard is marked probe and will skip the "is this a per-interface device" check. Later in ukbd_attach() it panics because it tries to dereference the interface pointer which is NULL. The fix is to clear the flags in the persistent keyboard data for ukbd0 when init_keyboard() or kbd_register() fail. MFC after: 1 week Reviewed by: imp
* NFS MP scaling changes.mohans2007-10-124-75/+131
| | | | | | | | | | | | | | - Eliminate the hideous nfs_sndlock that serialized NFS/TCP request senders thru the sndlock. - Institute a new nfs_connectlock that serializes NFS/TCP reconnects. Add logic to wait for pending request senders to finish sending before reconnecting. Dial down the sb_timeo for NFS/TCP sockets to 1 sec. - Break out the nfs xid manipulation under a new nfs xid lock, rather than over loading the nfs request lock for this purpose. - Fix some of the locking in nfs_request. Many thanks to Kris Kennaway for his help with this and for initiating the MP scaling analysis and work. Kris also tested this patch thorougly. Approved by: re@ (Ken Smith)
* This commit was generated by cvs2svn to compensate for changes in r172597,delphij2007-10-1210-15/+21
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import less v409, fixes a rather serious bug which causesdelphij2007-10-1210-15/+21
| | | | | | | | crashes when searching for invalid UTF-8 sequence.
* | Adjust HISTORY.obrien2007-10-121-1/+1
| |
* | style.Makefile(5)obrien2007-10-121-2/+2
| |
* | Minor tweak to finding BEG/END source.obrien2007-10-121-2/+2
| |
* | style.Makefile(5)obrien2007-10-121-2/+2
| |
* | Welcome FreeBSD 8.obrien2007-10-121-2/+2
| |
* | Do not attempt to make an NFS rpc call if using tftpps2007-10-122-0/+9
| | | | | | | | | | PR: kern/91720 Submitted by: Ruben Kerkhof
* | Fix a mistake made in the MPSAFE commit that caused CAM to serialize requestsscottl2007-10-121-1/+2
| | | | | | | | to the controller.
* | For some blasted reason the SATA WC change frees a structure right in thescottl2007-10-121-1/+0
| | | | | | | | middle of using it.
* | Play better with CAM so that there aren't so many spurious warnings at boot.scottl2007-10-121-17/+14
| |
* | Deferred interrupts don't work yet, disable them.scottl2007-10-121-0/+2
| | | | | | | | Submitted by: Manjunath Ranganathaiah
* | Teach /etc/rc.d/ppp to start multiple instances of ppp.emax2007-10-122-9/+49
| | | | | | | | | | | | | | | | | | | | | | ppp_profile variable can now contain multiple profiles. Overrides for ppp mode and nat can go into ppp_$profile_mode and ppp_$profile_nat variables respectively. If those are not specified, defaults from ppp_mode and ppp_nat are used. Submitted by: Yuri Kurenkov < y dot kurenkov at init dot ru > Reviewed by: mtm MFC after: 1 week
* | Bump version numbers to reflect that HEAD represents 8.0-CURRENT.bmah2007-10-121-5/+5
| |
* | - Change the wakeup logic associated with having multiple sleeperscsjp2007-10-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on multiple different audit pipes. The old method used cv_signal() which would result in only one thread being woken up after we appended a record to it's queue. This resulted in un-timely wake-ups when processing audit records real-time. - Assign PSOCK priority to threads that have been sleeping on a read(2). This is the same priority threads are woken up with when they select(2) or poll(2). This yields fairness between various forms of sleep on the audit pipes. Obtained from: TrustedBSD Project Discussed with: rwatson MFC after: 1 week
* | Make sure that we refresh the PID on read(2) and write(2) operations.csjp2007-10-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the process portion of the bpf(4) stats if the peer forks into the background after it's opened the descriptor. This bug results in the following behavior for netstat -B: # netstat -B Pid Netif Flags Recv Drop Match Sblen Hblen Command netstat: kern.proc.pid failed: No such process 78023 em0 p--s-- 2237404 43119 2237404 13986 0 ?????? MFC after: 1 week
* | Add a signal handler for SIGINT to make sure that the PID filecsjp2007-10-121-0/+1
| | | | | | | | | | | | | | | | | | | | gets cleaned up upon receiving SIGINT. This un-breaks subsequent executions of ipfwpcap and helps when debugging network/divert issues like this: ipfwpcap -r 6000 - | tcpdump -r - MFC after: 1 week
* | Revision 1.12 of lockf.c fixed a "thundering herd" scenario when thecsjp2007-10-122-11/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lock experienced contention a number of processes would race to acquire lock when it was released. This problem resulted in a lot of CPU load as well as locks being picked up out of order. Unfortunately, a regression snuck in which allowed multiple threads to pickup the same lock when -k was not used. This could occur when multiple processes open a file descriptor to inode X (one process will be blocked) and the file is unlinked on unlock (thereby removing the directory entry allow another process to create a new directory entry for the same file name and lock it). This changes restores the old algorithm of: wait for the lock, then acquire lock when we want to unlink the file on exit (specifically when -k is not used) and keeps the new algorithm for when -k is used, which yields fairness and improved performance. Also, update the man page to inform users that if lockf(1) is being used to facilitate concurrency between a number of processes, it is recommended that -k be used to reduce CPU load and yeld fairness with regard to lock ordering. Collaborated with: jdp PR: bin/114341 PR: bin/116543 PR: bin/111101 MFC after: 1 week
* | Add pts/pty to the un-hidden devices for logins. This un-breakscsjp2007-10-121-0/+2
| | | | | | | | | | | | | | | | logins to jailed environments when the system is using PTS style ptys (kern.pts.enable=1). Discussed with: rwatson MFc after: 1 week
* | When pidfile is already locked and has zero length, do not returnkib2007-10-122-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | success and zero pid from pidfile_read(). Return EAGAIN instead. Sleep up to three times for 5 ms while waiting for pidfile to be written. mount(8) does the kill(mountpid, SIGHUP). If mountd pidfile is truncated, that would result in the SIGHUP delivered to the mount' process group instead of the mountd. Found and analyzed by: Peter Holm Tested by: Peter Holm, kris Reviewed by: pjd MFC after: 1 week
* | Style (whitespace-only) change.ru2007-10-121-1/+1
| |
* | Remove unneeded debug printf that is broken on 64bit arches.thompsa2007-10-121-1/+1
| |
* | Add another zydas device: Planex GW-US54GD (a.k.a Dempaotoko)takawata2007-10-122-0/+2
| |
* | Bring in some new Sierra Wireless drivers running under pccard.remko2007-10-122-0/+40
| | | | | | | | | | | | | | | | | | | | (AC710/AC750/AC850/A550/A555/A710/A750) PR: kern/110190 Submitted by: Pascal Vizeli<pvizeli at yahoo dot de> Approved by: imp (mentor) MFC After: 1 week
* | Though it was possible to configure our BIND to build even whenru2007-10-121-5/+10
| | | | | | | | | | libpthread support isn't present, our maintainer felt it's an overkill, so instead enforce the BIND dependency on libpthread.
* | Remove default (compressed) manpages.ru2007-10-121-2/+2
| |
* | Spelling fix for interupt -> interruptkevlo2007-10-1229-41/+41
| |
* | Update ipw to work with the new net80211 stack, plus other driver improvements.thompsa2007-10-123-219/+868
| | | | | | | | | | | | | | | | | | | | | | | | | | - Add proper scanning support rather than letting the firmware grab the first access point - Overhaul state changes - Use macros for locking and provide _locked() versions of some functions - Increase debugging output - Use a callout rather than the old watchdog interface - Improve style, function names and defines - Add WPA (TKIP) support Based heavily on a patchset provided by Sam Leffler.
* | Protect struct seq with mutex.mav2007-10-121-17/+72
| | | | | | | | Approved by: glebius (mentor)
* | Remove one unneded assertion. It is also checked inmav2007-10-121-5/+0
| | | | | | | | | | | | ng_l2tp_seq_check(). Approved by: glebius (mentor)
OpenPOWER on IntegriCloud