summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove support for synchronous ktrace requests now that none exist anymore.jhb2002-09-111-33/+11
| | | | They were an ugly, gross hack.
* - Change ktrace genio events to only copy up to ktr_geniosize bytes of ajhb2002-09-111-18/+18
| | | | | | | | | | | | | transfer to a malloc'd buffer and use that bufer for the ktrace event. This means that genio ktrace events no longer need to be synchronous. - Now that ktr_buffer isn't overloaded to sometimes point to a cached uio pointer for genio requests and always points to a malloc'd buffer if not NULL, free the buffer in ktr_freerequest() instead of in ktr_writerequest(). This closes a memory leak for ktrace events that used a malloc'd buffer that had their vnode ripped out from under them while they were on the todo list. Suggested by: bde (1, in principle)
* - Add a kern.ktrace sysctl node.jhb2002-09-111-2/+9
| | | | | | | | - Rename kern.ktrace_request_pool tunable/sysctl to kern.ktrace.request_pool. - Add a variable to control the max amount of data to log for genio events. This variable is tunable via the tunable/sysctl kern.ktrace.genio_size and defaults to one page.
* Change namei and syscall ktrace events to malloc work buffers beforejhb2002-09-111-7/+14
| | | | | obtaining a ktr_request structure from the free pool so we can avoid starving other threads of ktr_request structures.
* Somebody forgot to turn out the lights.peter2002-09-112-90/+0
| | | | (ie: These files are long since obsolete)
* Cosmetic cleanup to a message.jhb2002-09-111-1/+1
|
* Sometime after binutils-2.9 (ie: ages ago), the handling of __start_set_*peter2002-09-111-6/+0
| | | | | | | | and __stop_set_* became friendlier. This trick to force the export of the section delimiter symbols is no longer necessary. We needed to force this so that we could look up the symbols via a symbol table search when the module was loaded at run time. ld used to eliminate them if they were not referenced at compile/link time.
* Commit "unrelated style fixes" part of Bruce's patch (regardingpeter2002-09-111-5/+5
| | | | | | bcopy/memcpy) seperately. Submitted by: bde
* Indentation does not make a block.. need curly braces too.julian2002-09-111-1/+2
| | | | Submitted by: Eagle-eyes evans <bde@freebsd.org>
* Modify previous commit to solve the real problem that made gcc thinkpeter2002-09-111-5/+5
| | | | | | | the timestamp was aligned. ie: Use a void * instead of struct timeval * which gcc assumes will be aligned. Go back to memcpy(). Submitted by: bde
* I completely fubared this. An empty EXPORT_SYMS= is not valid. I know Ipeter2002-09-111-2/+0
| | | | | | | build this several times, and even tested loaded the module. I must have changed something right before commit. Pointed out by: bde
* Whitespace consistency fix from addition of IAHD_REG_PRETTY_PRINT: userwatson2002-09-112-2/+2
| | | | tabs not spaces.
* In kvm_openfiles/kvm_open, mark the file descriptors as close-on-exec.nectar2002-09-111-0/+12
| | | | | Applications can not do this themselves, as the descriptors are hidden behind the opaque `kvm_t' type.
* Correct a usage of fnctl that could not be right and results in anectar2002-09-111-1/+1
| | | | no-op. I assume it was meant that the close-on-exec flag be set here.
* It's bad enough people can't figure out to use the same code, or inphk2002-09-114-192/+141
| | | | | | this case, ugly macros, but the data tables can be reused: Put one copy of the software HDLC tables in its own file.
* Fix spelling of Bismarck's name and remove duplicatetg2002-09-112-19/+3
| | | | Bertrand Russell quotations.
* correct another spammage.. sorry bruce.. not exactly sure how my patchjulian2002-09-111-1/+0
| | | | reverted out your change but hopefully that's it..
* revert a line that was not part of my change..julian2002-09-111-1/+1
| | | | | I think it was a part of someone else's commit that somehow got reverted by my patch.
* Add an implementation of wcsftime() (wide character version of strftime()).tjr2002-09-114-2/+155
|
* Comment and whitespace changes.julian2002-09-111-12/+13
|
* Completely redo thread states.julian2002-09-1132-499/+443
| | | | Reviewed by: davidxu@freebsd.org
* Include <vm/uma.h> instead of depending on namespace pollution inbde2002-09-111-7/+10
| | | | | | | <sys/malloc.h>. Sorted includes as much as possible. Removed banal comment(s) attached to includes.
* Fix LINT build on alpha by completing move of cy and apm_saver tonjl2002-09-112-7/+10
| | | | | | i386/conf/NOTES rather than the global conf/NOTES. Suggested by: bde
* Add `restrict' type-qualifier.mike2002-09-113-6/+6
|
* Conditionalize some objects to match the functions that they are usedmike2002-09-111-2/+5
| | | | with. Enable `restrict' type-qualifier.
* Add support for the AMD x86-64 Hammer platform.obrien2002-09-111-0/+2
|
* Some uses of the variable n needed to be int, others needed to bemike2002-09-111-8/+8
| | | | size_t. Add a new variable to cope.
* Clarify the return value from child_present.imp2002-09-111-0/+7
|
* - Lock down the accounting code globals with a subsystem mutex.arr2002-09-111-5/+27
| | | | Reviewed by: jhb, mdodd
* Quiet warnings about non-existent scripts. My own fault for not testing mygordon2002-09-111-1/+1
| | | | own patches as well as I should.
* Unbreak world by fixing 4 syntax errors and 1 wrong variable type.mike2002-09-111-5/+5
|
* Remember who asked for a connect or accept operation so we can actually tellbenno2002-09-111-2/+2
| | | | | | them when it's done. Reviewed by: archie
* Fix style bugs in macros.fanf2002-09-101-9/+6
|
* Tidy up the base64 code and relax the error handling.fanf2002-09-101-18/+28
|
* Adjust to reflect reality, which is that sigaltstack() takes stack_t *'s.archie2002-09-101-6/+6
| | | | MFC after: 3 days
* Style: Don't treat pointers as booleans.fanf2002-09-101-2/+2
|
* Fix tilde-expansion of the filename obtained from the "begin" line in -sfanf2002-09-101-95/+84
| | | | | | mode, and be more accurate about identifying begin lines so that spurious ones don't have to be manually edited out, and be more forgiving about errors so that -c mode is more useful.
* Replace a goto with continue.fanf2002-09-101-2/+1
|
* Remove register keyword.fanf2002-09-101-2/+2
|
* Style: space after return.fanf2002-09-101-15/+15
|
* Fix some style bugs:mike2002-09-101-30/+32
| | | | | | o Space used instead of a tab after `#define' and `typedef'. o Sentences not ended with a period. o Unaligned function names and other spacing issues.
* Make the handling of -i neater.fanf2002-09-101-14/+10
|
* Only try to chmod the output if it's a regular file, rather thanfanf2002-09-101-4/+4
| | | | | | hard-coding /dev/stdout as a special case. Suggested by: jmallett
* New release notes: gre(4), kern.cam.scsi_delay tunable.bmah2002-09-102-0/+16
|
* Fix namespace issues by using the relatively new visibilitymike2002-09-102-20/+39
| | | | primitives.
* - Forgot to remove `cardattached` declaration in revision 1.22.arr2002-09-101-1/+1
|
* Add missing calls to mtx_init().phk2002-09-101-0/+12
| | | | | | It seems counter-intuitive that all drivers have to do this. Pointed in right direction by: gj
* Add a paragraph which should clarify the separation of asterisksrobert2002-09-101-0/+6
| | | | | | | | | | | | | | | | | | and adjacent tokens in declarations. The added text was originally a single sentence I wrote and which was heavily modified and extended by Bruce Evans. This clarification attempt originates from differing usage of the 'restrict' type-qualifier. Although various documents documents dicussing the C Programming Language put a space between an asterisk and the 'restrict' keyword, including the C99 standard (at least the n869.txt draft) and other ISO/IEC JTC1/SC22/WG14 documents, the IEEE Std 1003.1-2001 document does not separate them. Discussed with: bde Requested by: tjr Separation using a single space also liked by: mike
* Prevent the wrapper from looping on itself forever, when therethomas2002-09-102-1/+11
| | | | | | | | | | | is a symbolic link in the PATH pointing back to /usr/bin/perl. Change WARNS from 6 to 5 to account for the fact that sys/time.h, included from sys/stat.h, produces a warning when compiled with -pedantic. PR: bin/42418 Reviewed by: roberto
* Fixed namespace pollution in uma changes:bde2002-09-101-2/+3
| | | | | | | | | | | | | - use `struct uma_zone *' instead of uma_zone_t, so that <sys/uma.h> isn't a prerequisite. - don't include <sys/uma.h>. Namespace pollution makes "opaque" types like uma_zone_t perfectly non-opaque. Such types should never be used (see style(9)). "Fixed" subsequently grown dependencies of this header on its own pollution by polluting explicitly: - include <sys/mutex.h> and its prerequisite <sys/lock.h> instead of depending on namespace pollution 2 layers deep in <sys/uma.h>.
OpenPOWER on IntegriCloud