summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Install mac_partition include files.rwatson2002-10-242-1/+3
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* respect TDF_SINTR, also for SINGLE_NO_EXIT threading mode, if a threaddavidxu2002-10-242-12/+12
| | | | was already suspended, do nothing.
* #ifdef out assignToPartition on non x86 arches to unbreak the worldgallatin2002-10-241-0/+2
| | | | on alpha, sparc64 and ia64
* Eliminate warnings.ru2002-10-241-2/+5
|
* Preprocess with tbl(1), eliminate warnings.ru2002-10-242-5/+5
|
* Restored sigaction's name in its prototype.bde2002-10-241-1/+1
|
* Fixed a warning.ru2002-10-241-1/+1
|
* When expanding a specific [1-char] variable, only expand said specificjmallett2002-10-241-1/+1
| | | | | | | [1-char] variable. Don't just automatically expand something which starts with that character. Obtained from: OpenBSD [3 years ago!]
* * Modernize aio(4), providing instructions for static and dynamic kernelsheldonh2002-10-248-148/+16
| | | | | | | | | | | | | | linking. * Fix disorder in the SEE ALSO sections of aio_*(2). * Remove unnecessary cross-references from the SEE ALSO sections of aio_*(2); config(8), kldload(8) and kldunload(8) are cross-referenced from aio(4). * Remove the KERNEL OPTIONS sections from aio_*(2), now that these pages cross-reference aio(4), which contains suitable kernel linking reference material.
* Fixed references and a bunch of other warnings.ru2002-10-249-9/+266
|
* Add cross-references to the aio(4) manual page.des2002-10-246-0/+6
| | | | Submitted by: Craig Rodrigues <rodrigc@attbi.com>
* Add a simple man page for the aio facility.des2002-10-242-0/+62
|
* A version of SGR disabling stuff that is believed to be safe.ru2002-10-242-8/+9
| | | | Submitted by: Werner LEMBERG <wl@gnu.org>
* Add new loader tunable hw.acpi.ec.event_driven so that we controliwasaki2002-10-241-1/+4
| | | | | | EcWaitEventIntr()'s behavior. Some EC controllers require this for working properly (including sleep/wakeup).
* Fix kernel build on sparc64 in the IPDIVERT case.mux2002-10-241-1/+1
|
* don't forget to remove kse from idle queue.davidxu2002-10-242-0/+4
|
* Move thread related code from kern_proc.c to kern_thread.c.julian2002-10-244-320/+1010
| | | | | | | | | | Add code to free KSEs and KSEGRPs on exit. Sort KSE prototypes in proc.h. Add the missing kse_exit() syscall. ksetest now does not leak KSEs and KSEGRPS. Submitted by: (parts) davidxu
* - Now that uma_zalloc_internal is not the fast path don't be so fussy aboutjeff2002-10-241-179/+198
| | | | | | | | | | | extra function calls. Refactor uma_zalloc_internal into seperate functions for finding the most appropriate slab, filling buckets, allocating single items, and pulling items off of slabs. This makes the code significantly cleaner. - This also fixes the "Returning an empty bucket." panic that a few people have seen. Tested On: alpha, x86
* o Fix a size calculation based on a 8KB page, while under EFImarcel2002-10-245-33/+71
| | | | | | | | | | | | pages are 4KB. o As a second order fix, don't assume we have enough space after the bootinfo block left in a page to hold the memory map. o A third order fix as that we removed the assumption that a bootinfo block fits in a single 8KB page. PR: ia64/39415 submitted by: Espen Skoglund <esk@ira.uka.de>
* Remove unneeded variables.nyan2002-10-241-3/+0
|
* The rc driver is not needed for pc98.nyan2002-10-241-1/+0
|
* Build the following modules on ia64 as well:marcel2002-10-241-1/+20
| | | | | ar, asr, bktr, cardbus, cbb, ep, exca, hea, hfa, ipfilter, lomac, netgraph, pccard, rc, sound, sppp, vinum.
* - Move the destructor calls so that they are not called with the zone lockjeff2002-10-241-5/+6
| | | | | | | | held. This avoids a lock order reversal when destroying zones. Unfortunately, this also means that the free checks are not done before the destructor is called. Reported by: phk
* Unbreak by merging the change in r1.51 of src/libexec/ftpd/Makefile.kuriyama2002-10-241-1/+1
|
* Duplicate the variable name in the v->name field, as otherwise it points tojmallett2002-10-241-1/+3
| | | | | | | | data that will be modified. And do the appropriate thing now and free the v->name buffer along with other relinquished memory. XXX There is duplication here of destroying a Var, which is probably bogus, and probably missed in a few places.
* Remove gcc-specific optimization/debugging CFLAGSkris2002-10-241-1/+1
|
* Replace wcsstr() with an implementation based on strstr(), which is fartjr2002-10-241-38/+32
| | | | | | more efficient. The problem with the previous implementation was that it calculated the length of the first argument ("big") with wcslen() when it was not necessary.
* Restore Berkeley SCCS id.tjr2002-10-241-1/+5
|
* Commit of Makefile missed in earlier pass.rwatson2002-10-241-0/+9
| | | | Submitted by: kuriyama
* Unbreak the automatic remapping of an INADDR_ANY destination addressiedowse2002-10-241-5/+4
| | | | | | | | | | | | | | | to the primary local IP address when doing a TCP connect(). The tcp_connect() code was relying on in_pcbconnect (actually in_pcbladdr) modifying the passed-in sockaddr, and I failed to notice this in the recent change that added in_pcbconnect_setup(). As a result, tcp_connect() was ending up using the unmodified sockaddr address instead of the munged version. There are two cases to handle: if in_pcbconnect_setup() succeeds, then the PCB has already been updated with the correct destination address as we pass it pointers to inp_faddr and inp_fport directly. If in_pcbconnect_setup() fails due to an existing but dead connection, then copy the destination address from the old connection.
* Minor tweaks to the acpi.4 man page: xref acpiconf.8, and one of therwatson2002-10-241-6/+2
| | | | | | bugs (device naming) isn't present [anymore]. Submitted by: Hiten Pandya <hiten@angelica.unixdaemons.com>
* Remove the Standards section again until we get these functions sortedtjr2002-10-241-8/+0
| | | | out. This will probably have to wait until after 5.0-R.
* Place mac_prepare() with the other mac_prepare*() functions.chris2002-10-241-10/+10
|
* Attempt improved use of fts results: use the correct path to therwatson2002-10-241-4/+14
| | | | | | | | | | object to retrieve label information on, rather than directly consuming the fts-provided paths (none of which are quite right). This is based on the similar readlink() code, and may contain the same bugs. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* mac_free() no longer accepts a void * parameter; only mac_t's are supposedchris2002-10-241-9/+20
| | | | | | | | to be passed. Point this out in a warning notice, which will eventually go away, sometime between now and -RELEASE. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Teach "ls -Z" to use the policy-agnostic MAC label interfaces ratherrwatson2002-10-248-239/+70
| | | | | | | | | | | than the LOMAC-specific interfaces for listing MAC labels. This permits ls to view MAC labels in a manner similar to getfmac, when ls is used with the -l argument. Next generation LOMAC will use the MAC Framework so should "just" work with this and other policies. Not the prettiest code in the world, but then, neither is ls(1). Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Use the MAC interface to list process MAC labels rather than usingrwatson2002-10-248-172/+58
| | | | | | | | | | the LOMAC-specific interface (which is being deprecated). The revised LOMAC using the MAC framework will export levels listable using this mechanism. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Remove superfluous empty "FILES" section.chris2002-10-231-1/+0
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Remove hard sentence breaks.chris2002-10-231-11/+19
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Provide a simple sample labeled access control policy, mac_partition.rwatson2002-10-232-0/+337
| | | | | | | | | | | | | | This policy can be loaded dynamically, and assigns each process a partition number, as well as permitting processes to operate outside the partition. Processes contained in a partition can only "see" processes inside the same partition, so it's a little like jail. The partition of a user can be set using the label mechanisms in login.conf. This sample policy is a good starting point for developers wanting to learn about how to produce labeled policies, as it labels only one kernel object, the process credential. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Provide a simple sample labeled access control policy, mac_partition.rwatson2002-10-231-0/+1
| | | | | | | | | | | | | | | | | | This policy can be loaded dynamically, and assigns each process a partition number, as well as permitting processes to operate outside the partition. Processes contained in a partition can only "see" processes inside the same partition, so it's a little like jail. The partition of a user can be set using the label mechanisms in login.conf. This sample policy is a good starting point for developers wanting to learn about how to produce labeled policies, as it labels only one kernel object, the process credential. PR: Submitted by: Reviewed by: Approved by: Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Remove efree(), it isn't used consistently enough to even pretend that itjmallett2002-10-2310-27/+24
| | | | | | might help on the systems it could possibly be used as a bandaid for. In fact, the only thing it's useful for is instrumenting free(3) calls, and in that capacity, it's better served as a local patch, than a public wrapper.
* Rename ifconfig's "mac" argument to "maclabel" to prevent confusionrwatson2002-10-233-9/+9
| | | | | | | | | | regarding 802.1 MAC and Mandatory Access Control (MAC). Some potential for confusion remains further in other areas of the system regarding Message Authentication Codes (MAC). Requested by: wollman Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Fix for changed getbsize arg type.markm2002-10-231-3/+4
|
* We must be careful to avoid recursive copy-on-write faults whenmckusick2002-10-231-1/+14
| | | | | | trying to clean up during disk-full senarios. Sponsored by: DARPA & NAI Labs.
* Remove the hack to build groff statically on alpha, now that the rtldgallatin2002-10-231-6/+0
| | | | | | | | has been extended to grok binaries with only one PLT_LOAD segment An UPDATING entry about this is pending review.. Approved by: ru
* More lobotomy:phk2002-10-238-111/+6
| | | | | | | remove CHUNK_BSD_COMPAT, it was a bad idea, and now its gone. remove DOSPTYP_ONTRACK, missed in OnTrack removal commit. unifdef -DHAVE_GEOM make tst01 compile again.
* Remove another 10 mindless #ifdefs.phk2002-10-231-59/+45
|
* We always need sys/pcpu.h now, not just for the SMP case.jhb2002-10-231-1/+1
| | | | Approved by: jake
* Rely on sysctl kern.disks to be there, and get rid of one of the far toophk2002-10-231-69/+36
| | | | | many lists of disk device driver names in the system. At this point we should really get the names from the XML, but hey...
OpenPOWER on IntegriCloud