summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Use _ALIGN_TEXT. Implement __cyg_profile_func_enter andjake2002-07-292-20/+138
| | | | | | | | | | | | | | | | __cyg_profile_func_exit for GUPROF.
* | | | Add _ALIGN_DATA and _ALIGN_TEXT macros.jake2002-07-291-1/+9
| | | |
* | | | Remove some stuff that snuck in last commit.jake2002-07-291-5/+0
| | | |
* | | | Use login_getpwclass() instead of login_getclass() so that the rootfanf2002-07-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vs. default login class distinction is made correctly. PR: 37416 Approved by: des MFC after: 4 days
* | | | OK, dont rely on the upper layers handling iosize_max correctly,sos2002-07-284-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | instead rely on ATAPI devices ability to do the work instead. MFC material.
* | | | o Modify vm_page_grab() to accept VM_ALLOC_WIRED.alc2002-07-282-1/+5
| | | |
* | | | fetch(1) is WARNS-5 clean (tested on i386 and Alpha)des2002-07-281-0/+1
| | | |
* | | | Use strtol(3) instead of a home-grown version, and fix a "possiblydes2002-07-281-36/+24
| | | | | | | | | | | | | | | | unitialized variable" warning.
* | | | Make a temporary copy of the output data in the generic sysctl handlerstruckman2002-07-281-6/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so that the data is less likely to be inconsistent if SYSCTL_OUT() blocks. If the data is large, wire the output buffer instead. This is somewhat less than optimal, since the handler could skip the copy if it knew that the data was static. If the data is dynamic, we are still not guaranteed to get a consistent copy since another processor could change the data while the copy is in progress because the data is not locked. This problem could be solved if the generic handlers had the ability to grab the proper lock before the copy and release it afterwards. This may duplicate work done in other sysctl handlers in the kernel which also copy the data, possibly while a lock is held, before calling they call a generic handler to output the data. These handlers should probably call SYSCTL_OUT() directly.
* | | | o Lock page queue accesses by vm_page_free().alc2002-07-281-14/+19
| | | | | | | | | | | | | | | | o Apply some style fixes.
* | | | Wire the sysctl output buffer before grabbing any locks to preventtruckman2002-07-289-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | SYSCTL_OUT() from blocking while locks are held. This should only be done when it would be inconvenient to make a temporary copy of the data and defer calling SYSCTL_OUT() until after the locks are released.
* | | | Fix a bug introduced in previous commit. Due to the interaction of thejake2002-07-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | direct physical mappings with virtual page colour, we need to flush the data cache when a page changes colour. I missed one case which broke pipes.
* | | | o Lock page queue accesses by vm_page_free().alc2002-07-281-2/+8
| | | |
* | | | Recognize frames for lcall_syscall and int0x80_syscall.peter2002-07-281-2/+4
| | | | | | | | | | | | | | | | Reminded by: bde
* | | | Update, correct and bring in sync with reality all the i4b kernelhm2002-07-2817-437/+358
| | | | | | | | | | | | | | | | part manual pages - long overdue ...
* | | | Add enough consts to keep everyone happy.dwmalone2002-07-281-1/+1
| | | |
* | | | Don't reuse a const char * when we really want a char *.dwmalone2002-07-281-5/+7
| | | |
* | | | Improve WARNS situation for kdump:dwmalone2002-07-281-45/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Define _KERNEL while including sys/time.h to get some function prototypes. 2) Add prototypes and ANSIify definitions. 3) Constness changes. 4) Remove register keyword. 5) Actually return a sensible value from main. 6) Make fread_tail take a void * instead of a char *. 7) Avoid a signedness warning by casting to a size_t. Should be safe enough 'cos we also check for nonnegativity. 8) Be extra chummy with sigset_t rather than passing a struct to printf and pretending it is an int.
* | | | Revert the previous delta; uintfptr_t needs to be available tomike2002-07-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | userland for libc/gmon to compile, so the typedef in <machine/types.h> isn't good enough. This is really ugly since we end up with the actual value which uintfptr_t is typedef'd from, in multiple places. This is bug for bug compatible with the other FreeBSD architectures. Noticed by: sparc64 tinderbox
* | | | ANSIify function definitions to avoid a warning.dwmalone2002-07-289-54/+31
| | | |
* | | | The return value of snprintf should be always nonnegative, so it shoulddwmalone2002-07-281-1/+1
| | | | | | | | | | | | | | | | be safe to cast it to a size_t before comparing it to a sizeof().
* | | | ANSIify function definitions to avoid a warning.dwmalone2002-07-282-39/+14
| | | |
* | | | ANSIify function definitions to avoid a warning.dwmalone2002-07-281-14/+7
| | | | | | | | | | | | | | | | Minor constness changes.
* | | | ANSify function definitions to avoid a warning.dwmalone2002-07-281-10/+7
| | | |
* | | | ANSIify function definitions to avoid a warning.dwmalone2002-07-281-6/+3
| | | |
* | | | ANSIify function definitions to avoid a warning.dwmalone2002-07-281-4/+2
| | | | | | | | | | | | | | | | | | | | PR: 38930 Submitted by: keramida
* | | | ANSIify function definitions to avoid a warning.dwmalone2002-07-2810-46/+18
| | | |
* | | | ANSIify function definitions to avoid some warnings.dwmalone2002-07-281-11/+5
| | | | | | | | | | | | | | | | Include stdlib.h for exit.
* | | | ANSIify function definitions to avoid a warning.dwmalone2002-07-281-30/+16
| | | | | | | | | | | | | | | | Minor constness changes.
* | | | ANSIify function definitions to avoid a warning.dwmalone2002-07-281-7/+4
| | | |
* | | | Search the include path for the argument to -f, to make lives easier forjmallett2002-07-281-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | those of us who want to figure out how old Jim Mock is, but only want to type 'calendar -f calendar.freebsd'. This is done in a way that should be totally backwards compatible with no noticable differences, at all. Reviewed by: mux MFC after: 4 weeks
* | | | New release notes: devfs rule subsystem, lock(1) -vdd2002-07-282-0/+28
| | | |
* | | | Lock page queue accesses by vm_page_free().alc2002-07-281-0/+8
| | | |
* | | | Add a -v option that prevents switching virtual terminals while thisdd2002-07-282-13/+47
| | | | | | | | | | | | | | | | | | | | terminal is locked. This permits the user to easily lock the entire console from a single terminal.
* | | | Nuke whitespace at EOL.dd2002-07-282-3/+3
| | | |
* | | | Correct misindentation of DRA_UID.dd2002-07-281-1/+1
| | | |
* | | | What we're actually passing around is an ioctl request, not a command,dd2002-07-281-3/+3
| | | | | | | | | | | | | | | | and it's an unsigned long, not an int.
* | | | This compiles cleanly with WARNS=5 on i386 and alpha, so try to makedd2002-07-281-1/+1
| | | | | | | | | | | | | | | | sure that doesn't change.
* | | | Implement this (quoted from the updated man page): If the first tokendd2002-07-284-9/+181
| | | | | | | | | | | | | | | | | | | | of a rule specification is a single dash (``-''), rules are read from the standard input and the rest of the specification is ignored.
* | | | o Lock page queue accesses by vm_page_free().alc2002-07-281-2/+3
| | | | | | | | | | | | | | | | | | | | o Increment cnt.v_dfree inside vm_pageout_page_free() rather than at each call.
* | | | o Lock page queue accesses by vm_page_free().alc2002-07-281-0/+2
| | | |
* | | | Use more standard section names in an attempt to unconfuse new usersdd2002-07-281-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (and make it easier to find stuff for the old ones). I originally put everything under one "RULE SUBSYSTEM" so it didn't look like devfs(8) is dedicated to the rule subsystem, but since nobody has any idea what else might go here, it's not worth confusing people just to save a little time for someone that might add something rule-unrelated to devfs(8) in a few years. Suggested by: sheldonh, phk
* | | | As of revision 1.38 of make/parse.c, our make(1) will warn too. Note thatjmallett2002-07-282-4/+6
| | | | | | | | | | | | | | | | | | | | this isn't just for the sake of testing behaviour, and that things really do break if this regression occurs.
* | | | Unimplement panic(8) by making sure that we don't recurse into add2002-07-281-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ruleset. If we do, that means there's a ruleset loop (10 includes 20 include 30 includes 10), which will quickly cause a double fault due to stack overflow (since "include" is implemented by recursion). (Previously, we only checked that X didn't include X.)
* | | | Print a warning when we are given two scripts for one target. This is neitherjmallett2002-07-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | as wide-reaching nor intensive as NetBSD's similar, but the warning uses the same text. Inspired by: NetBSD
* | | | Stock -current has more than 300 files in /etc, so 255 inodes for thedd2002-07-283-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /etc filesystem isn't enough; consequently, add "-i 4096" to the newfs command for /etc. This results in 1022 inodes, which should be enough for the forseeable future (although I don't know why we would ever have more than 1000 files in a default /etc). Silence by: -current
* | | | Add a period to the end of the "starting" message to be consistentdd2002-07-281-1/+1
| | | | | | | | | | | | | | | | with the rest of the output during a boot.
* | | | Calculate checksums correctly when LSRR is in effect by passing thefenner2002-07-281-24/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | IP header and protocol header seperately. Also calculate TCP checksums. Submitted by: orion
* | | | Update for traceroute 1.4a12fenner2002-07-281-3/+6
| | | |
* | | | Merge 1.4a12fenner2002-07-284-228/+613
| | | |
OpenPOWER on IntegriCloud