summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Kill the last Giant acquisition in the exit(2) code. This Giant acquisitioncsjp2006-04-101-2/+0
| | | | | | | | | | doesn't appear to be protecting anything. Most of consumers funsetownlst(9) do not appear to be picking up Giant anywhere. This was originally a part of my Giant exit(2) clean up revision 1.272 but I thought it was a good idea to leave it out until we were able to analyze it better. Tested by: kris MFC after: 3 weeks
* - Mention the Epson Stylus Photo RX425 scanner in uscanner(4), missed in myflz2006-04-101-1/+3
| | | | | | | | latest commit. Reminded by: simon Approved by: cpercival (mentor, implicit) MFC after: 3 days
* Introduce and use delayed-destruction functionality from a pre-sync hook,pjd2006-04-106-111/+174
| | | | | | | | | | which means that devices will be destroyed on last close. This fixes destruction order problems when, eg. RAID3 array is build on top of RAID1 arrays. Requested, reviewed and tested by: ru MFC after: 2 weeks
* - Add support for the Epson RX425 scanner.flz2006-04-102-0/+2
| | | | | | | PR: usb/95346 Submitted by: Matthieu Guegan <lesaint@gcu.info> Approved by: cperciva (mentor) MFC after: 3 days
* On shutdown try to turn off all swap devices. This way GEOM providers arepjd2006-04-103-19/+70
| | | | | | | | properly closed on shutdown. Requested by: ru Reviewed by: alc MFC after: 2 weeks
* Pass -DCRUNCH down to standard targets in individual makefiles.ru2006-04-101-4/+4
|
* Clean the product of patch(1).ru2006-04-101-0/+2
|
* Clean generated headers.ru2006-04-101-0/+2
|
* Fix some small bugs.scottl2006-04-101-2/+7
| | | | | Submitted by: pjd Found by: Coverity Prevent (tm)
* Use proc lock to prevent a thread from exiting, Giant was no longer used todavidxu2006-04-104-54/+20
| | | | protect thread list.
* MFp4:marcel2006-04-101-16/+70
| | | | | | | | | | | | o Add mount and umount actions so that partitions can be in use. o Extend the testing of the add verb to include overlapping partitions. o Add tests for the remove verb. this includes tests to remove a partition when in use (i.e. is mounted). o Add a MD5 checksum to the output of the conf action so that it can be tested. Make sure the MD5 doesn't vary based on certain dynamic behaviour that is irrelevant to the output. o Add MD5 checksums to the expected result of conf actions.
* MFp4:marcel2006-04-101-17/+81
| | | | | | Add support for read-write parameters. Allow an optional initializer for read-write parameters. Print the value of those parameters on success following the PASS.
* MFp4:marcel2006-04-101-20/+169
| | | | | | | | | | | | o Implement the remove verb to remove a partition entry. o Improve error reporting by first checking that the verb is valid. o Add an entry parameter to the add verb. this parameter can be both read-only as welll as read-write and specifies the entry number of the newly added partition. o Make sure that the provider is alive when passed to us. It may be withering away. o When adding a new partition entry, test for overlaps with existing partitions.
* Add g_wither_provider() to abstract the details of destroying amarcel2006-04-104-3/+15
| | | | | | particular provider. Use this function where g_orphan_provider() is being called so that the flags are updated correctly and g_orphan_provider() is called only when allowed.
* MFp4: Use CPU_CONTROL_ROUNDROBIN for arm9, it seems to give marginallycognet2006-04-091-1/+2
| | | | better performances.
* Update to DRM CVS as of 2006-04-09. The most notable new feature is the updatedanholt2006-04-0921-769/+1265
| | | | | | | Radeon memmap code, which with a new DDX driver and DRI drivers should fix long-term stability issues with Radeons. Also adds support for r200's ATI_fragment_shader, r300 texrect support and texture caching fixes, i915 vblank support and bugfixes, and new PCI IDs.
* Not only disable/enable interrupts, do it for FIQs as well, when needed.cognet2006-04-093-11/+24
|
* MFp4: Don't write-back the PTEs if they are mapped write-through, this wascognet2006-04-091-5/+0
| | | | apparently only needed because skyeye has bugs in its cache emulation.
* Allow to specify size in terabytes by using T or t suffix.pjd2006-04-092-5/+10
| | | | | | | | | | | | This speeds up my testing a bit. Because truncate(1) doesn't allocate blocks on file system before they are used, it is very useful to emulate huge file systems: # truncate -s 16T fs.img # mdconfig -a -f fs.img # newfs /dev/mdX (-t swap can be used as well)
* Introduce two new sysctls:pjd2006-04-094-2/+54
| | | | | | | | | | | | | net.inet.ipsec.test_replay - When set to 1, IPsec will send packets with the same sequence number. This allows to verify if the other side has proper replay attacks detection. net.inet.ipsec.test_integrity - When set 1, IPsec will send packets with corrupted HMAC. This allows to verify if the other side properly detects modified packets. I used the first one to discover that we don't have proper replay attacks detection in ESP (in fast_ipsec(4)).
* Be consistent with the rest of the code.pjd2006-04-091-1/+1
|
* In natm_usr_abort(), replace existing call to natm_usr_shutdown() withrwatson2006-04-091-1/+1
| | | | | | | | | natm_usr_detach(), which actually does the right thing. This code has never worked properly, but also was never invoked since we only abort connections associated with listen sockets, and netnam doesn't support listen sockets. MFC after: 3 months
* Sync acpi_asus(4) manual with the code.philip2006-04-091-1/+5
| | | | | Reminded by: brueffer X-MFC after: 3 days (or so)
* Modify tcp_timewait() to accept an inpcb reference, not a tcptwrwatson2006-04-092-22/+24
| | | | | | | | | | reference. For now, we allow the possibility that the in_ppcb pointer in the inpcb may be NULL if a timewait socket has had its tcptw structure recycled. This allows tcp_timewait() to consistently unlock the inpcb. Reported by: Kazuaki Oda <kaakun at highway dot ne dot jp> MFC after: 3 months
* Document that VIS_CSTYLE encodes space (040) as '\s'.brueffer2006-04-091-1/+3
| | | | | | PR: 95546 Submitted by: Jan Schaumann <jschauma@netmeister.org> MFC after: 3 days
* Fix assertion description: !=, not ==.rwatson2006-04-091-1/+1
| | | | | Submitted by: pjd MFC after: 3 months
* Remove UNIX domain socket raw socket support. This feature is documentedrwatson2006-04-091-5/+0
| | | | | | | | | | as being undocumented in Stevens, and was broken in 1997 during network stack infrastructure work. It is the one remaining (and incorrect) direct protocol reference to raw_usrreq.pru_attach; this is incorrect because the raw socket code assumes that raw_uattach is called only after the protocol has allocated a PCB. MFC after: 3 months
* Add support for Asus W5A laptops.philip2006-04-091-0/+10
| | | | | Submitted by: Pavel Martynenko <mpv -at- ip.net.ua> X-MFC after: 3 days (or so)
* Correct an assertion in raw_uattach(): this is a library call that otherrwatson2006-04-091-1/+6
| | | | | | | | | protocols invoke after allocating a PCB, so so_pcb should be non-NULL. It is only used by the two IPSEC implementations, so I didn't hit it in my testing. Reported by: pjd MFC after: 3 months
* Add a simple regression test that creates and tears down route sockets,rwatson2006-04-092-0/+108
| | | | | and confirms that only SOCK_RAW works with socket(), and nothing works with socketpair().
* Add simple regression tests that creates UNIX domain sockets usingrwatson2006-04-092-0/+91
| | | | | socket() and socketpair() of SOCK_STREAM and SOCK_DGRAM types. It also confirms that SOCK_RAW fails.
* Implement some of the differences between special built-ins and other builtinsstefanf2006-04-094-19/+23
| | | | | | | | | | | | | | | | | | | | demanded by POSIX. - A redirection error is only fatal (meaning the execution of a shell script is terminated) for special built-ins. Previously it was fatal for all shell builtins, causing problems like the one reported in PR 88845. - Variable assignments remain in effect for special built-ins. - Option or operand errors are only fatal for special built-ins. This change also makes errors from 'fc' non-fatal (I could not find any reasons for this behaviour). Somewhat independently from the above down-grade the error handling in the shift built-in if the operand is bigger than $# from an error() call (which is now fatal) to a return 1. I'm not sure if this should be considered a POSIX "operand error", however this change is needed for now as we trigger that error while building libncurses. Comparing with other shells, zsh does the same as our sh before this change (write a diagnostic, return 1), bash behaves as our sh after this commit (no diagnostic, return 1) and ksh93 and NetBSD's sh treat it as a fatal error.
* Test that variable assignments preceding special built-ins affect the currentstefanf2006-04-091-0/+55
| | | | | shell environment, eg after "VAR=val eval" VAR remains set. Currently fails but will be implemented soon.
* Document the rest of the 802.11 capability flags.scottl2006-04-081-0/+18
|
* Don't test if RES_INIT is set to see res_state structure isume2006-04-081-1/+1
| | | | | initialized. Some application may reset RES_INIT. Use the way in __res_vinit(), instead.
* Do not check validity of timeout if a mutex can be acquired immediately.davidxu2006-04-083-80/+103
| | | | | Completly drop recursive mutex in pthread_cond_wait and restore recursive after resumption. Reorganize code to make gcc to generate better code.
* - Add following global jail options, used if no jail-specific options areflz2006-04-082-15/+194
| | | | | | | | | | | | | | | | | | set: * jail_mount_enable * jail_devfs_ruleset * jail_devfs_enable * jail_fdescfs_enable * jail_procfs_enable * jail_fstab * jail_flags - Add a jail_interface / jail_<jid>_interface option. An ip alias will be created (jail_<jid>_ip) on jail_interface or jail_<jid>_interface if set. This is not a mandatory option. - Document all missing jail_* options in rc.conf(5). Approved by: cperciva (mentor) MFC after: 2 weeks
* Update comment about var modifiers (add 'N' and 'O' descriptions).fjoe2006-04-081-2/+5
|
* Add :u var modifier (remove adjacent duplicate words like uniq(1).fjoe2006-04-082-0/+43
| | | | | Reviewed by: harti Obtained from: NetBSD (mostly)
* Rearrange locking in the alloc_commands and ioctl paths to avoid problems.scottl2006-04-081-5/+9
|
* After further review and discussion, partially revert the previous commit.scottl2006-04-083-20/+13
| | | | | | | | | | The real problem was that ioctl handlers needed to call amr_wait_command() with the list lock held. This not only solves the completion race, it also prevents bounce buffer corruption that could arise from amr_start() being called without the proper locks held. Discussed with: ps MFC After: 3 days
* Close a pesky race where after checking the BUSY flag in amr_wait_command,ps2006-04-083-6/+21
| | | | | | | | the completion of the command can occur before tsleep is called and the command ends up blocking forever since the wakeup has already been called. Submitted by: ups
* Add the scc_hwmtx spin mutex, defined by scc(4).marcel2006-04-071-0/+1
|
* Add kbdmux(4). This avoids having to use the hint.pcib.1.skipslot=26marcel2006-04-071-0/+1
| | | | trick on a PowerBook G4 and friends to get the USB keyboard as ukbd0.
* spell unlock correctly, this is relatively minor as it's rare someone wouldjmg2006-04-071-1/+1
| | | | | | | | provide a lock method, and want the default unlock, but it is a bug... PR: 95356 Submitted by: Stephen Corteselli MFC after: 3 days
* Change gctl_set_param() to return an error instead of setting anmarcel2006-04-074-17/+34
| | | | | | | | | | | error on the request. Add a wrapper, gctl_set_param_err(), that sets the error on the request from the error returned by gctl_set_param() and update current callers of gctl_set_param() to call gctl_set_param_err() instead. This makes gctl_set_param() much more usable in situations where the caller knows better what to do with certain (apparent) error conditions and setting an error on the request is not one of the things that need to be done.
* Allocate memory for NUL-termination as well.pjd2006-04-071-1/+1
| | | | MFC after: 2 days
* Don't select a default value for $machine until after we've examined $arch.des2006-04-072-6/+12
| | | | Noticed by: mjacob
* Fix the "make distribution" example; it should be run from src/.ru2006-04-071-1/+1
|
* Restore accidentially removed rev. 1.3glebius2006-04-071-0/+2
|
OpenPOWER on IntegriCloud