aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add vsnrprintf() which is just like vsnprintf() but takes a "radix"Poul-Henning Kamp2003-02-042-0/+18
| | | | | | | argument for the kernel-special %r format. Notes: svn path=/head/; revision=110316
* sleep -> msleepGuido van Rooij2003-02-041-1/+1
| | | | Notes: svn path=/head/; revision=110315
* Add missing permission checks to the smbfs VOP_SETATTR vnode op for theTim J. Robbins2003-02-041-0/+5
| | | | | | | | | case where the caller requests to change access or modification times. MFC after: 3 days Notes: svn path=/head/; revision=110314
* Change a printf to also tell how many items were left in the zone.Poul-Henning Kamp2003-02-041-2/+2
| | | | Notes: svn path=/head/; revision=110313
* Don't attempt buildworld if the path to the source-tree contains a comma.Poul-Henning Kamp2003-02-041-0/+8
| | | | | | | | | Can be removed if the underlying issue is fixed. Submitted by: Flemming Jacobsen <fj@batmule.dk> Notes: svn path=/head/; revision=110312
* Convert an instance of "struct timezone tz" use I missed yesterday.Poul-Henning Kamp2003-02-041-1/+5
| | | | Notes: svn path=/head/; revision=110311
* Now that the need for "landgrabs" in this file is no longer present,Poul-Henning Kamp2003-02-041-7/+0
| | | | | | | | I release "my" bits of code, trusting the remaining committers to be a sensible lot who will do the right thing. Notes: svn path=/head/; revision=110309
* MFS 1.64.2.22: Re-enable non pre-emptive ARP requests.Orion Hodson2003-02-041-14/+15
| | | | | | | | Submitted by: "Diomidis Spinellis" <dds@aueb.gr> PR: kern/46116 Notes: svn path=/head/; revision=110308
* RFC 959 doesn't list reply code 550 as a valid responce to STOR/STOU,Yaroslav Tykhiy2003-02-041-1/+1
| | | | | | | | so return reply code 553 to indicate a error from open(2) for consistency, as long as the code is used in the rest of the STOR/STOU handler. Notes: svn path=/head/; revision=110307
* Correct examples for stateful inspectionChristian Brueffer2003-02-041-2/+2
| | | | | | | | | PR: 47817 Submitted by: Simon L.Nielsen <simon@nitro.dk> Reviewed by: ceri, luigi Notes: svn path=/head/; revision=110304
* Improve the layout of the description of the various parameter expansionTony Finch2003-02-031-0/+2
| | | | | | | | modifiers. The paragraph that explains the difference between ${foo:-bar} and ${foo-bar} etc. was not very visible. Notes: svn path=/head/; revision=110302
* even the default case in a switch requires some action (add break;)Bill Fumerola2003-02-031-1/+2
| | | | | | | | EVP_sha1() returns a const EVP_MD *, so reflect that in the variable we store its return value in. Notes: svn path=/head/; revision=110301
* Split the global timezone structure into two integer fields toPoul-Henning Kamp2003-02-0316-40/+40
| | | | | | | | | | | | | prevent the compiler from optimizing assignments into byte-copy operations which might make access to the individual fields non-atomic. Use the individual fields throughout, and don't bother locking them with Giant: it is no longer needed. Inspired by: tjr Notes: svn path=/head/; revision=110299
* New release notes: CanBe power management, volume labels, MAKEDEV gone,Bruce A. Mah2003-02-032-2/+40
| | | | | | | | | sunlabel. Modified release notes: Use elfdump(1) entity. Notes: svn path=/head/; revision=110298
* Remove unintended growth of bt848_card_signature.Orion Hodson2003-02-031-1/+1
| | | | Notes: svn path=/head/; revision=110297
* Split statclock into statclock and profclock, and made the method for drivingJake Burkholder2003-02-0334-254/+389
| | | | | | | | | | | | | | | | statclock based on profhz when profiling is enabled MD, since most platforms don't use this anyway. This removes the need for statclock_process, whose only purpose was to subdivide profhz, and gets the profiling clock running outside of sched_lock on platforms that implement suswintr. Also changed the interface for starting and stopping the profiling clock to do just that, instead of changing the rate of statclock, since they can now be separate. Reviewed by: jhb, tmm Tested on: i386, sparc64 Notes: svn path=/head/; revision=110296
* Add IPv6 support for Linuxlator.Hajimu UMEMOTO2003-02-034-90/+379
| | | | | | | | Reviewed by: dwmalone MFC after: 10 days Notes: svn path=/head/; revision=110295
* Break out the bind and connect syscalls to intend to make callingHajimu UMEMOTO2003-02-032-15/+44
| | | | | | | | | | | these syscalls internally easy. This is preparation for force coming IPv6 support for Linuxlator. Submitted by: dwmalone MFC after: 10 days Notes: svn path=/head/; revision=110294
* Add config glue to add an optional GEOM_VOL to add optional volume support.Gordon Tetlow2003-02-033-0/+3
| | | | | | | Reviewed by: jake (mentor) Notes: svn path=/head/; revision=110293
* Correct a comment. GEOM modules do not create /dev entries. They createGordon Tetlow2003-02-031-2/+2
| | | | | | | | | providers. Pointed out by: phk Notes: svn path=/head/; revision=110291
* Add the GEOM module that makes volume labels useful. A kernel compiled withGordon Tetlow2003-02-031-0/+146
| | | | | | | | | | this will cause volume labels to be exposed in /dev/vol/<volname>. Currently, there is no conflict resolution if more than one FS has the same volume name. Reviewed by: phk Notes: svn path=/head/; revision=110290
* Fixup capitalization in some of the Startup menu entries.John Baldwin2003-02-032-12/+12
| | | | | | | Submitted by: Hiten Pandya <hiten@unixdaemons.com> Notes: svn path=/head/; revision=110289
* No need to lock Giant around call to nanosleep1() in nanosleep().Tim J. Robbins2003-02-031-2/+0
| | | | Notes: svn path=/head/; revision=110288
* Avoid zero padding when feeding read channels. chn_rdfeed has no wayOrion Hodson2003-02-031-0/+4
| | | | | | | | | | | | of knowing data size transformations of feeder chain and in some cases this means too much data is pulled through chain, eg converting input stream from 16bits to 8bits on 16bit only h/w. PR: kern/37831 Submitted by: Harti Brandt <brandt@fokus.fraunhofer.de> Notes: svn path=/head/; revision=110287
* Avoid holding Giant across copyout() in gettimeofday() and getitimer().Tim J. Robbins2003-02-031-4/+4
| | | | Notes: svn path=/head/; revision=110286
* Add CanBe power management controller support.Yoshihiro Takahashi2003-02-0311-2/+813
| | | | | | | Submitted by: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp> Notes: svn path=/head/; revision=110285
* Don't enable pam_krb5 by default - most people don't have it since mostDag-Erling Smørgrav2003-02-031-2/+2
| | | | | | | | | | people don't build with MAKE_KERBEROS5 defined. Provide commented-out usage examples instead, like we do everywhere else. Pointy hat to: des Notes: svn path=/head/; revision=110284
* Linux-PAM's pam_start(3) fails with a bogus error message if passed theDag-Erling Smørgrav2003-02-031-1/+2
| | | | | | | | | | | pam_conv argument is NULL. OpenPAM doesn't care, but to make things easier for people porting this code to other systems (or -STABLE), use a dummy struct pam_conv instead of NULL. Pointed out by: Damien Miller <djm@mindrot.org> Notes: svn path=/head/; revision=110283
* Bump patch date to 2003-02-01 (the day after I fixed PAM authenticationDag-Erling Smørgrav2003-02-031-1/+1
| | | | | | | for ssh1) Notes: svn path=/head/; revision=110282
* Park & Miller PRNG can be safely initialized with any value but 0 and stuckAndrey A. Chernov2003-02-031-2/+4
| | | | | | | | | | at 0 as designed. Its BSD adaptation tries to fight it by mapping 0 to 2147483647 after calculation, but this method not works since 2147483647 seed returns to 0 again on the next interation. Instead of after calculation mapping, map 0 to another value _before_ calculation, so it never stucks. Notes: svn path=/head/; revision=110281
* Park & Miller PRNG can be safely initialized with any value but 0 and stuckAndrey A. Chernov2003-02-032-2/+8
| | | | | | | | | | at 0 as designed. Its BSD adaptation tries to fight it by mapping 0 to 2147483647 after calculation, but this method not works since 2147483647 seed returns to 0 again on the next interation. Instead of after calculation mapping, map 0 to another value _before_ calculation, so it never stucks. Notes: svn path=/head/; revision=110280
* Document additional behaviour of this function (seeAlexey Zelkin2003-02-032-4/+24
| | | | | | | rev 1.3 of uthread_attr_get_np.c) Notes: svn path=/head/; revision=110277
* Improve pthread_attr_get_np() by enabling it to return thread's real stackAlexey Zelkin2003-02-031-1/+9
| | | | | | | | | address instead of specified by pthread_attr_t passed to pthread_create(). Suggested by: deischen Notes: svn path=/head/; revision=110276
* In pam_sm_acct_mgmt(), retrieve the cached credentials before trying toDag-Erling Smørgrav2003-02-031-3/+6
| | | | | | | | | initialize the context. This way, a failure to initialize the context is not fatal unless we actually have work to do - because if we don't, we return PAM_SUCCESS without even trying to initialize the context. Notes: svn path=/head/; revision=110275
* Whitespace cleanupDag-Erling Smørgrav2003-02-031-3/+3
| | | | Notes: svn path=/head/; revision=110274
* Remove unnecessary M_NOWAIT.Hidetoshi Shimokawa2003-02-032-8/+7
| | | | Notes: svn path=/head/; revision=110273
* Use vaccess() instead of rolling our own access checks. This fixes a bugTim J. Robbins2003-02-031-12/+6
| | | | | | | | where requests to open a file in append mode were always denied, and will also be useful when capabilities and auditing are implemented. Notes: svn path=/head/; revision=110272
* Add missing 'static'.Hidetoshi Shimokawa2003-02-031-2/+2
| | | | Notes: svn path=/head/; revision=110270
* - Take malloc type as an argument in fw_xfer_alloc().Hidetoshi Shimokawa2003-02-037-41/+52
| | | | | | | | | | | | - Fix overwrite problem of freed buffers. It was rare but could happen when fwohci_arcv() is called before fwohci_txd() is called for the transcation. - Drain AT queues and pend AR queues on SID receive rather than BUS reset to make sure DMA actually stops. - Do agent reset in sbp_timeout(). Notes: svn path=/head/; revision=110269
* Make the variable types, the sysctl macros and the sysctl handler forHartmut Brandt2003-02-032-10/+10
| | | | | | | | | | | kern.ipc.{maxsockbuf,sockbuf_waste_factor} to agree that those variables are of type unsigned long. PR: sparc64/47389 Approved by: jake (mentor) Notes: svn path=/head/; revision=110268
* - Make some context switches conditional on SCHED_STRICT_RESCHED. This mayJeff Roberson2003-02-031-62/+146
| | | | | | | | | | | | | have some negative effect on interactivity but it yields great perf. gains. This also brings the conditions under which ULE context switches inline with SCHED_4BSD. - Define some new kseq_* functions for manipulating the run queue. - Add a new kseq member ksq_rslices and ksq_bload. rslices is the sum of the slices of runnable kses. This will be used for push load balance decisions. bload is the number of threads blocked waiting on IO. Notes: svn path=/head/; revision=110267
* Remove another unused Makefile.Tom Rhodes2003-02-031-8/+0
| | | | Notes: svn path=/head/; revision=110266
* Remove mono encodings from vchan format and mixer description. FixesOrion Hodson2003-02-031-2/+0
| | | | | | | | mono formats at 44.1kHz playing at double speed when vchans are enabled. Notes: svn path=/head/; revision=110265
* - Stop abusing oncpu for our cpu binding. Define a scheduler local elementJeff Roberson2003-02-031-11/+14
| | | | | | | | in the kse datastructure called ke_cpu. This is the cpu which we are currently bound to. Some flags may be added later to support hard binding. Notes: svn path=/head/; revision=110260
* Add a man page.David E. O'Brien2003-02-032-1/+118
| | | | Notes: svn path=/head/; revision=110259
* Print ac97 name/id on normal boot.Orion Hodson2003-02-031-6/+9
| | | | | | | Fix typo reported in pr misc/47794. Notes: svn path=/head/; revision=110258
* Make WARNS=5 clean even on 64-bit platforms.David E. O'Brien2003-02-032-35/+36
| | | | Notes: svn path=/head/; revision=110257
* Make WARNS=5 on i386, (WARNS=1 on 64-bit platforms).David E. O'Brien2003-02-032-59/+59
| | | | | | | Submitted by: dwmalone (tweaked by me) Notes: svn path=/head/; revision=110256
* Don't use the 'c' partition for mounting root. A disklabel is veryMarcel Moolenaar2003-02-031-2/+1
| | | | | | | | | | | likely not present under the simulator. If multiple partitions are present on the virtual disk, then the 'a' partition would be the most logical choice. Nowadays partitions are GPT based, which would make the assumption of a disklabel even more questionable. Given all the possible scenarios, assuming a raw "device" seems best. Notes: svn path=/head/; revision=110255
* - Make allpmaps static.Alan Cox2003-02-032-6/+8
| | | | | | | | | - Use atomic subtract to update the global wired pages count. (See also vm/vm_page.c revision 1.233.) - Assert that the page queue lock is held in pmap_remove_entry(). Notes: svn path=/head/; revision=110254