aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* support saving both user/group and permissions on symlinks (from PR)John-Mark Gurney2003-06-221-13/+20
| | | | | | | | | | | also fix a slight bogon that assumed an fd of 0 was not valid. Changed it to be -1. PR: bin/25017 Submitted by: Martin Kammerhofer Notes: svn path=/head/; revision=116673
* Add ID for VT8233A.Matthew N. Dodd2003-06-221-0/+2
| | | | | | | | PR: i386/38299 Submitted by: Rob Schulhof <rrs@there.net> Notes: svn path=/head/; revision=116671
* Re-enabled PCI irq routing on pc98.Yoshihiro Takahashi2003-06-221-1/+1
| | | | Notes: svn path=/head/; revision=116670
* - Set close on exec flag for device file descriptors.Matthew N. Dodd2003-06-221-0/+11
| | | | | | | | | | - Reset signal handlers in event_cmd_exec_act(). PR: i386/35182 Submitted by: Daniel O'Connor <darius@dons.net.au> Notes: svn path=/head/; revision=116668
* As vm_fault() descends the chain of backing objects, set paging-in-Alan Cox2003-06-221-8/+8
| | | | | | | progress on the next object before clearing it on the current object. Notes: svn path=/head/; revision=116667
* - Don't ignore SIGTERM.Matthew N. Dodd2003-06-222-4/+20
| | | | | | | | | | | - Add a command line switch to trigger POWERSTATECHANGE actions on un-reported power state changes. PR: i386/32251 Submitted by: Walter C. Pelissero <walter@pelissero.org> Notes: svn path=/head/; revision=116666
* Implement a loader tunable/sysctl to allow the user to request thatMatthew N. Dodd2003-06-221-0/+8
| | | | | | | | | | the APM driver byte-swap battery time values. (For broken laptops.) PR: i386/42439 Submitted by: Bruce M Simpson <bms@spc.org> Notes: svn path=/head/; revision=116665
* When DDB is active, always send printf() output directly to theIan Dowse2003-06-221-1/+5
| | | | | | | | | console, even if there is a TIOCCONS console tty. We were already doing this after a panic, but it's also useful when entering DDB for some other reason too. Notes: svn path=/head/; revision=116664
* Use a new message buffer `consmsgbuf' to forward messages to aIan Dowse2003-06-224-16/+89
| | | | | | | | | | | | | | | | | | TIOCCONS console (e.g. xconsole) via a timeout routine instead of calling into the tty code directly from printf(). This fixes a number of cases where calling printf() at the wrong time (such as with locks held) would cause a panic if xconsole is running. The TIOCCONS message buffer is 8k in size by default, but this can be changed with the kern.consmsgbuf_size sysctl. By default, messages are checked for 5 times per second. The timer runs and the buffer memory remains allocated only at times when a TIOCCONS console is active. Discussed on: freebsd-arch Notes: svn path=/head/; revision=116663
* Complete the vm object locking in vm_object_backing_scan(); specifically,Alan Cox2003-06-221-5/+12
| | | | | | | | deal with the case where we need to sleep on a busy page with two vm object locks held. Notes: svn path=/head/; revision=116662
* use a REG macro that was already defined.John-Mark Gurney2003-06-221-3/+10
| | | | | | | | | | | Reorder how the pci probing in handled. before adding devices, check to see if the slot is a multi-function device to see if we should probe all the functions. Original idea by: imp Notes: svn path=/head/; revision=116661
* Replace the code for reading and writing the kernel message bufferIan Dowse2003-06-226-119/+296
| | | | | | | | | | | | | | | | | | | | with a new implementation that has a mostly reentrant "addchar" routine, supports multiple message buffers in the kernel, and hides the implementation details from callers. The new code uses a kind of sequence number to represend the current read and write positions in the buffer. This approach (suggested mainly by bde) permits the read and write pointers to be maintained separately, which reduces the number of atomic operations that are required. The "mostly reentrant" above refers to the way that while it is now always safe to have any number of concurrent writers, readers could see the message buffer after a writer has advanced the pointers but before it has witten the new character. Discussed on: freebsd-arch Notes: svn path=/head/; revision=116660
* add support for peeking at pci busses on UltraSparc systems. This preventsJohn-Mark Gurney2003-06-225-12/+132
| | | | | | | | | | | | data access errors when trying to read/write to non-existant PCI devices. fix the psycho bridge to use peek for probing devices. This no longer fakes it if the OFW node doesn't exist (and the reg == 0). Reviewed by: jake, tmm Notes: svn path=/head/; revision=116659
* Make some style and white-space changes to the copy-on-write path throughAlan Cox2003-06-221-10/+5
| | | | | | | vm_fault(); remove a pointless assignment statement from that path. Notes: svn path=/head/; revision=116658
* Increase the size of the NFS server hash table to improve performanceKirk McKusick2003-06-211-4/+4
| | | | | | | | | | | | | when serving up more than about 32 active files. For details see section 6.3 (pg 111) of Daniel Ellard and Margo Seltzer, ``NFS Tricks and Benchmarking Traps'' in the Proceedings of the Usenix 2003 Freenix Track, June 9-14, 2003 pg 101-114. Obtained from: Daniel Ellard <ellard@eecs.harvard.edu> Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=116657
* Add clarifications about the information that ntp_gettime returns.Warner Losh2003-06-211-8/+18
| | | | | | | | | | | | | TAI is a timescale, just like UTC. The tai field returns the offset between the two, and isn't really used for precision time keeping. Explain in brief what a positive and a negative leap seconds are. Add some URLs to very useful web pages about time and time keeping for more information on using this API. Reviewed by: phk Notes: svn path=/head/; revision=116656
* Don't declare unneeded extern variables,Yaroslav Tykhiy2003-06-211-2/+0
| | | | | | | leave alone specifying a wrong type for one of them. Notes: svn path=/head/; revision=116655
* Though manpage says that 0.0.0.0 can be used as HISADDR for gwHajimu UMEMOTO2003-06-211-2/+4
| | | | | | | | | | in Framed-Route, it didn't work. Since ncprange_aton() treats 0.0.0.0 and :: as prefixlen=0, we need to care the case. MFC after: 1 week Notes: svn path=/head/; revision=116654
* Use a do {...} while (0); and a couple of breaks to reduce the levelPoul-Henning Kamp2003-06-211-78/+80
| | | | | | | of indentation a bit. Notes: svn path=/head/; revision=116653
* Userland spinlocks bad. Sleep locks good.David Schultz2003-06-212-10/+16
| | | | | | | | | Use the latter for gdtoa. Requested by: deischen (far too long ago) Notes: svn path=/head/; revision=116652
* ttyname(3) must return absolute pathnames.Poul-Henning Kamp2003-06-211-2/+8
| | | | | | | Noticed by: kris Notes: svn path=/head/; revision=116651
* Lock one of the vm objects involved in an optimized copy-on-write fault.Alan Cox2003-06-211-2/+5
| | | | Notes: svn path=/head/; revision=116650
* We don't need two $FreeBSD$'s. Remove the older one.Garance A Drosehn2003-06-211-2/+0
| | | | Notes: svn path=/head/; revision=116646
* - Increase the scope of the vm object lock in vm_object_collapse().Alan Cox2003-06-211-3/+4
| | | | | | | | - Assert that the vm object and its backing vm object are both locked in vm_object_qcollapse(). Notes: svn path=/head/; revision=116645
* - lticks was erroneously being updated in sched_pctcpu(). This was causingJeff Roberson2003-06-211-2/+0
| | | | | | | | us to skip the pctcpu_update() call which lead to inaccurate cpu usage statistics for processes that didn't run often. Notes: svn path=/head/; revision=116643
* - Don't allow nice to have such a large effect on priority. This wasJeff Roberson2003-06-211-8/+7
| | | | | | | | | causing poor interactive performance while unnice processes were running. The new scheme still allows nice to have an effect on priority but it is not as dramatic as the effect of the interactivity score. Notes: svn path=/head/; revision=116642
* New release note: texinfo 4.6.Bruce A. Mah2003-06-212-0/+6
| | | | Notes: svn path=/head/; revision=116641
* make pciconf understand it's own output as stated in the manpage.John-Mark Gurney2003-06-201-5/+13
| | | | | | | | | | | pciconf -r none8@pci1:12:2: 0x0 now works. PR: bin/10312 Submitted by: Castor Fu Notes: svn path=/head/; revision=116640
* fix grammar in commentJohn-Mark Gurney2003-06-201-1/+1
| | | | Notes: svn path=/head/; revision=116639
* New release notes: PAE panic fixed, bge(4) at 10 Mbps fixed,Bruce A. Mah2003-06-202-2/+36
| | | | | | | GEOM_FOX, dev_db gone, local(1) reimplementation, ps(1) -H. Notes: svn path=/head/; revision=116638
* Remove _PATH_DEVDBPoul-Henning Kamp2003-06-201-1/+0
| | | | Notes: svn path=/head/; revision=116637
* Use devname(3) to do the task.Poul-Henning Kamp2003-06-201-66/+2
| | | | | | | Reviewed by: imp Notes: svn path=/head/; revision=116636
* Explain the relationship to POSIX.Garrett Wollman2003-06-201-0/+14
| | | | Notes: svn path=/head/; revision=116635
* Fix a divide-by-zero on kern.log_wakeups_per_second tunable.Bosko Milekic2003-06-201-0/+8
| | | | | | | | Submitted by: Christian S.J. Peron <maneo@bsdpro.com> PR: kern/53557 Notes: svn path=/head/; revision=116634
* ntp_adjtime returns the current state of the clock (TIME_*) on successWarner Losh2003-06-201-1/+4
| | | | | | | | | | or -1 on failure. The manual used to say it returned 0 or -1. Both examination of the kernel sources, and ntpd show that this is the case. MFC After: 3 days Notes: svn path=/head/; revision=116631
* New errata: PAE kernel panic.Bruce A. Mah2003-06-201-0/+7
| | | | | | | Mostly submitted by scottl. Any errors are mine. Notes: svn path=/head/; revision=116630
* Make swap_pager_haspages() static; remove unused function prototypes.Alan Cox2003-06-202-5/+3
| | | | Notes: svn path=/head/; revision=116629
* s/warn/info/Mike Makonnen2003-06-201-1/+1
| | | | Notes: svn path=/head/; revision=116628
* Add support for the special shell nologin.Mike Makonnen2003-06-202-5/+44
| | | | | | | Prodded by: mikeh Notes: svn path=/head/; revision=116627
* Mention the use of Framed-IPv6-Prefix.Hajimu UMEMOTO2003-06-201-0/+4
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=116626
* amd64 is actually stable enough for the regular -CURRENT tinderbox now.Dag-Erling Smørgrav2003-06-201-1/+1
| | | | Notes: svn path=/head/; revision=116625
* Update my email address.Mike Makonnen2003-06-202-2/+2
| | | | Notes: svn path=/head/; revision=116624
* Don't forget the -r on the second password prompt.Mike Makonnen2003-06-201-1/+1
| | | | | | | PR: bin/53550 Notes: svn path=/head/; revision=116623
* IPV6PREFIX is set when Framed-IPv6-Prefix is defined, You mayHajimu UMEMOTO2003-06-203-0/+65
| | | | | | | | | | want to pass the value to upper layer protocol such as DHCPv6 for prefix delegation. MFC after: 1 week Notes: svn path=/head/; revision=116622
* Mention the use of Framed-IPv6-Route.Hajimu UMEMOTO2003-06-201-0/+46
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=116621
* Merge from NetBSD src/sys/ntfs/ntfs_subr.c 1.5 & 1.30 (jdolecek):Tim J. Robbins2003-06-201-1/+15
| | | | | | | | | | | | | | | - Avoid calling bread() with different sizes on the same blkno. Although the buffer cache is designed to handle differing size buffers, it erroneously tries to write the incorrectly-sized buffer buffer back to disk before reading the correctly-sized one, even when it's not dirty. This behaviour caused a panic for read-only NTFS mounts when INVARIANTS was enabled ("bundirty: buffer x still on queue y"), reported by NAKAJI Hiroyuki. - Fix a bug in the code handling holes: a variable was incremented instead of decremented, which could cause an infinite loop. Notes: svn path=/head/; revision=116620
* Use direct map in pmap_map().Hidetoshi Shimokawa2003-06-201-11/+1
| | | | | | | | | | This saves much KVA for vm_pages and you don't need to increase NKPT for large physical memory anymore. Suggested by: dfr Notes: svn path=/head/; revision=116619
* Fix few typos and remove two unneeded checksAlexey Zelkin2003-06-201-4/+3
| | | | | | | Noticed by: ache Notes: svn path=/head/; revision=116618
* We have manpage now, so remove NOMANAlexey Zelkin2003-06-201-1/+0
| | | | Notes: svn path=/head/; revision=116617
* Fix most warnings, sort prototypes, kill spaces at EOLsAlexey Zelkin2003-06-201-27/+36
| | | | Notes: svn path=/head/; revision=116616