summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* -Wall'ify (mostly).archie2002-10-022-7/+18
|
* Let kse_wakeup() take a KSE mailbox pointer argument.archie2002-10-0211-10/+13
| | | | Reviewed by: julian
* De-obfuscate local use of members of 'struct thread', for which we havejmallett2002-10-021-3/+4
| | | | local variables, and group assignment.
* Unhook rpc.rstatd from the build until it actually compiles.jhb2002-10-021-2/+1
|
* Code that has been #if0'd with the comment "WHY" since revision 1.1 canjmallett2002-10-021-8/+1
| | | | disappear.
* Remove 6-years-stale #if0, the behaviour isn't ever going to be limited tojmallett2002-10-021-5/+1
| | | | compatible mode, as far as I know, since we use it...
* MFi386: fork1 apparently takes 4 args nowgallatin2002-10-021-1/+1
| | | | Forgotten by: scottl
* Add an example showing how to use wcstok(). Fix ordering of See Also section.tjr2002-10-021-2/+15
|
* PC98 is not a true architecture, but a subarchitecture of i386, so we needphk2002-10-021-1/+4
| | | | to use a slightly differnt command to PC98::buildworld.
* Teach ncal(1) about month names specified on the command line.roam2002-10-022-3/+24
| | | | | | Reviewed by: -audit Approved by: silence on -audit MFC after: 3 weeks
* Add the 'restrict' type qualifier to the prototypes of `sigaction',robert2002-10-0210-15/+21
| | | | | | `sigprocmask', `sigaltstack', and `sigwait' as well as to the prototypes of the apparantly unimplemented functions `sigtimedwait' and `sigwaitinfo'. This complies with IEEE Std 1003.1-2001.
* Use %d in a printf() format string and cast the argument to int instead oftjr2002-10-021-1/+1
| | | | | using %td when we know that the number is between 0 and 9; mksyntax is a build tool and needs to work on -stable.
* Since bpf is no longer an optional component, remove associated ifdef's.sobomax2002-10-023-22/+3
| | | | | Submitted by: don't quite remember - the name of the sender disappeared with the rest of my inbox. :(
* Absorb <sys/bus_private.h> into kern/subr_bus.c to prevent misunderstandings.phk2002-10-022-109/+75
| | | | | Suggested by: bde Approved by: dfr
* Mark two places where an unsigned number is checked "if (foo < 0)" withphk2002-10-021-0/+2
| | | | | | | | an XXX comment. Somebody[TM] should look at this in some detail. Spotted by: FlexeLint
* Fix mis-indentation.phk2002-10-026-14/+14
| | | | Spotted by: FlexeLint
* #include the right thing for PC98phk2002-10-021-0/+4
| | | | Sponsored by: DARPA & NAI Labs.
* Further improve --fast-read mode - when reading archive from stdin ensure thatsobomax2002-10-021-2/+9
| | | | | | | | SIGTERM we are sending to decompressor when there is nothing left to do is actually delivered to decompressor, not to the another copy of tar, which does unblocking. MFC after: 2 weeks
* style(9):mike2002-10-021-5/+5
| | | | | o Align members of struct if_nameindex. o Align and sort function prototypes.
* Move GEOM's sysctls under kern.geom.phk2002-10-021-9/+11
| | | | Sponsored by: DARPA & NAI Labs.
* Add restrict type-qualifier.mike2002-10-024-14/+15
|
* Put some failing ioctl related printfs under a suitable debug flag.phk2002-10-021-12/+14
| | | | Sponsored by: DARPA & NAI Labs.
* o Add typedef for size_t.mike2002-10-021-4/+11
| | | | | | o Fix regoff_t typedef to not require <sys/types.h> as a prerequisite (specifically use `__off_t' instead of `off_t'). o Add restrict type-qualifier to function prototypes.
* Use standards visibility conditionals to conditionalize most of thismike2002-10-021-5/+15
| | | | | | | header (details on how the visibility conditionals work are available in <sys/cdefs.h>). Use standard types instead of BSD specific ones, so that this header compiles in the standards case (specifically this means changing `u_int' to `unsigned int').
* Some kernel threads try to do significant work, and the default KSTACK_PAGESscottl2002-10-0235-100/+394
| | | | | | | | | | | | | doesn't give them enough stack to do much before blowing away the pcb. This adds MI and MD code to allow the allocation of an alternate kstack who's size can be speficied when calling kthread_create. Passing the value 0 prevents the alternate kstack from being created. Note that the ia64 MD code is missing for now, and PowerPC was only partially written due to the pmap.c being incomplete there. Though this patch does not modify anything to make use of the alternate kstack, acpi and usb are good candidates. Reviewed by: jake, peter, jhb
* Add LIBEXPAT definition.phk2002-10-021-0/+1
|
* Build libexpat out of src/contrib/expat.phk2002-10-022-0/+109
| | | | Not connected to the build yet.
* This commit was generated by cvs2svn to compensate for changes in r104349,phk2002-10-0252-0/+29055
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import (trimmed) of eXpat version 1.95.5phk2002-10-0252-0/+29055
|
* Too strict error checking in rev. 1.22 broke pwd_mkdb(8) in NISmaxim2002-10-021-2/+2
| | | | | | environment. An empty UID and GID are valid there. Spotted by: rwatson
* Cast malloc() assignments.mdodd2002-10-021-6/+6
|
* size_t is not a struct (fix mislabelling in a comment).dd2002-10-022-2/+2
|
* Use more standard variable names for modevent functions.mdodd2002-10-022-4/+4
|
* Create/destroy memory zones on module load/unload, not on devicemdodd2002-10-022-15/+48
| | | | attach/detach.
* Include <sys/cdefs.h> so the visibility conditionals are available.mike2002-10-021-0/+2
| | | | (This should have been included with the previous revision.)
* Use visibility conditionals. Only TCP_NODELAY ends up being definedmike2002-10-021-1/+6
| | | | in the standards case.
* o Update a visibility conditional.mike2002-10-021-32/+24
| | | | | | | o Adjust some comments in keeping with the header's local style. o Change some typedefs to use types that don't require namespace pollution or deprecated types. o Move some macros to the "does not belong in this header" section.
* Removed bits related to MBRs now that they have a proper home inbde2002-10-021-20/+0
| | | | <sys/diskmbr.h>.
* Add an -o option to exit after receiving one reply. This can be useddd2002-10-022-5/+12
| | | | | | | | to test whether a link is live. PR: 38573 Submitted by: David Taylor <davidt@yadt.co.uk> Obtained from: NetBSD
* Add a new MAC entry point, mac_thread_userret(td), which permits policyrwatson2002-10-0214-0/+113
| | | | | | | | | | | | | | | | modules to perform MAC-related events when a thread returns to user space. This is required for policies that have floating process labels, as it's not always possible to acquire the process lock at arbitrary points in the stack during system call processing; process labels might represent traditional authentication data, process history information, or other data. LOMAC will use this entry point to perform the process label update prior to the thread returning to userspace, when plugged into the MAC framework. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Don't crash when the user feeds us nonesense in the form:dd2002-10-021-3/+4
| | | | | | | ifconfig IF ether WHATEVER -alias PR: 42544 Submitted by: Mike Makonnen <makonnen@pacbell.net>
* Correct the exports(5) example to use -ro in the paragraph that talksdd2002-10-021-2/+2
| | | | | | | about how exporting / and /usr works even if they're read-only. PR: 42076 Submitted by: Marco Molteni <molter@tin.it>
* Remove options NO_MODULES=true. Lots of modules build, but may not loadjake2002-10-021-4/+0
| | | | or work properly. MAC modules work at least :).
* In a diskless setup, rc.d/initdiskless may overwrite parts of /etc ondd2002-10-023-0/+11
| | | | | | | | | | | | a per-machine or per-cluster (with different ways of expressing what's part of a cluster) basis. In order for this to be effective, rc.conf has to be reread after initdiskless is finished. Implement this by adding a hook to etc/rc which rereads rc.conf by request. This can also be implemented by renaming initdiskless to initdiskless.sh and sourcing rc.conf there manually, but it was decided that, that would be uglier than a hook in etc/rc. Developed in concert with: gordon
* Remove some #if 0'd code. After this, a "make unifdef" here producesdd2002-10-021-41/+0
| | | | | | no changes (against crypto telnet). Reviewed by: MD5
* Merge from crypto telnet: permit the argument to -s to be a hostname.dd2002-10-021-1/+0
|
* Permit the argument to the -s option to be a hostname. I see nodd2002-10-022-2/+0
| | | | | | | | reason to restrict this to a numeric address. PR: 41841 Submitted by: Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>, Maxim Maximov <mcsi@agava.com>
* Remove the "special processes" section. It has rotted, and the ideadd2002-10-021-7/+0
| | | | | | | | ceased to be useful when the number of "special processes" went from 3 to one per device. I considered replacing it with a "kernel threads" section, but this seemed like the wrong place for that. PR: 40969
* Don't claim to return the fileid which we unloaded. The kerneldd2002-10-011-9/+1
| | | | | | | | doesn't do this, and it wouldn't be very useful if it did, since the caller supplies us with that number. PR: 41329 Submitted by: Michael Galassi <nerd@xyz.com>
* Correct minor errors in the code examples.dd2002-10-011-3/+2
| | | | | PR: 41993 Submitted by: David Lay <dsl@foozle.org>
OpenPOWER on IntegriCloud