summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Gratuitous "typo in comment" fix.ceri2006-02-052-2/+2
|
* Bring these files somewhat into the present.ceri2006-02-0514-149/+126
| | | | | | | Perform some rewording while here. Remove register.hlp, since the code that deals with it was removed nearly 7 years ago.
* Change group for /var/audit to audit, so that audit review can berwatson2006-02-051-0/+2
| | | | | | delegated to non-administrators. Obtained from: TrustedBSD Project
* Allocate an 'audit' group, membership in which will grant the auditrwatson2006-02-051-0/+1
| | | | | | | review right by virtue of read file permission on /var/audit and its contents. Obtained from: TrustedBSD Project
* Convert NULL checks into KASSERT (and move them before the firstnetchild2006-02-052-28/+31
| | | | | | | | | | | | dereferencing) since a NULL value would be a bug here. Note: Both affected functions look very similar. A refactoring may be beneficial. CID: 483, 485 Found with: Coverity Prevent(tm) Discussed with: ariff MFC after: 5 days
* an driver not endian clean, so don't enable on sparc64imp2006-02-051-2/+6
|
* forced commit: previous commit was CID 429netchild2006-02-050-0/+0
|
* forced commit: previous commit was CID 483netchild2006-02-050-0/+0
|
* A pointer was checked for NULL after dereferencing it. The check is notnetchild2006-02-051-4/+4
| | | | | | | | | | | | | needed here, except there's a bug which results in detaching the device twice. Move the NULL pointer check to the beginning of the function and convert it into a KASSERT. CID: 420 Found with: Coverity Prevent(tm) Discussed with: ariff MFC after: 5 days
* Make pflog a seperate module. As a result pflog_packet() becomes a functionmlaier2006-02-056-3/+55
| | | | | | | | pointer that is declared in pf_ioctl.c Requested by: yar (as part of the module build reorg) MFC after: 1 week X-MFC with: yar's module reorg
* Fix memory leak in some failure cases.netchild2006-02-051-2/+6
| | | | | CID: 420 Found with: Coverity Prevent(tm)
* Add AUDITVNODE[12] flags to namei(), which cause namei() to audit pathrwatson2006-02-052-1/+22
| | | | | | | | | and vnode attribute information for looked up vnodes during the lookup operation. This will allow consumers of namei() to specify that this information be added to the in-process audit record. Submitted by: wsalamon Obtained from: TrustedBSD Project
* shut up strict-aliasing rules warning.ume2006-02-051-1/+1
|
* Move asr driver from global NOTES to i386-specific NOTES. Requestorkensmith2006-02-052-6/+6
| | | | | | reports it is neither endian-clean or 64-bit clean. :-) Requested by: scottl
* Squash a couple more invalid long casts.scottl2006-02-051-2/+2
|
* Now, thread name is stored in kernel, userland no longer has to keep it.davidxu2006-02-053-7/+2
|
* use syscall thr_set_name to implement pthread_set_name_np.davidxu2006-02-051-9/+18
|
* Regenerate.davidxu2006-02-055-7/+16
|
* Implement thr_set_name to set a name for thread.davidxu2006-02-053-1/+31
| | | | Reviewed by: julian
* Import support for the Atmel AT91RM9200 CPU/Microcontroller. This SoCimp2006-02-0427-0/+5436
| | | | | | | | | | | | | | | | | | | | | | | | | | is a ARM920T based CPU with a bunch of built-in peripherals. The inital import supports the SPI bus, the TWI bus (although iicbus integration is not complete), the uarts, the system timer and the onboard ethernet. Support for the Kwikbyte KB9202 (http://www.kwikbyte.com) board is also included, although there's no reason why the 9200 and the 9201 wouldn't also work. Primitive support for running under the skyeye emulator is also provided (although skyeye's support for the AT91RM9200 is a little weak). The code has been structured so that other members of Atmel's arm family can be supported in the future. The AT91SAM9260 is not presently supported due to lack of hardware. The arm7tdmi families are also not supported becasue they lack an MMU. Many thanks to cognet@ for his help and assistance in bringing up this board. He did much of the vm work and wrote parts of the uart and system timer code as well as the bus space implementation. The system boots to single user w/o problem, although the serial console is a little slow and the ethernet driver is still in flux. This work was sponsored by Timing Solutions, Corporation. I am grateful to their support of the FreeBSD project in this manner.
* Enable getty(8) on ttyu2 by default in order to get machines that use amarius2006-02-041-1/+1
| | | | | | | | | RSC (Remote System Control) connected via uart2 as console working out of the box. On machines that use uart2 to connect a keyboard and thus the ttyu2 node doesn't exist this will trigger a warning from getty(8) but cause no real harm. MFC after: 1 week
* - Add support for using LOM (Lights Out Management) and RSC (Remote Systemmarius2006-02-042-13/+33
| | | | | | | | | | | | | | | | | | | | | | | Control) devices as console. These are microcontrollers which are either on-board or part of an add-on card and provide terminal server, remote power switch and monitoring functionality. For console usage these are connected to the rest of the system via a SCC or an UART. This commit adds support for the following variants (corresponds to what 'input-device' and 'output-device' have to be set to): rsc found on-board in E250 and supposedly some Netra, connected via a SAB82532, com. parameters can be determined via OFW rsc-console RSC card found in E280R, Fire V4x0, Fire V8x0, connected via a NS16550, hardwired to 115200 8N1 lom-console LOMlite2 card found in Netra 20/T4, connected via a NS16550, hardwired to 9600 8N1 - Add my copyright to uart_cpu_sparc64.c as I've rewritten about one third of that file over time. Tested on: E250, E280R Thanks to: dwhite@ for providing access to an E280R OK'ed by: marcel MFC after: 1 week
* Silence the strict-alias warnings. Make a trip through (void *) whenimp2006-02-041-16/+16
| | | | | | casting a structure to a uint32_t *. Many drivers in the tree do this, but I'll not update them until these changes can be reviewed by the pedantic standards folks.
* Remove an unnecessary call to pmap_remove_all(). The given page is notalc2006-02-041-1/+0
| | | | mapped because its contents are invalid.
* Type of overrun_buf doesn't matter to this code, but does to gcc.imp2006-02-042-4/+4
| | | | Make it a void *.
* Perform minor rewording and grammatical improvement. Add a missing Xr.ceri2006-02-041-31/+40
|
* Use void * for pointer rather than u_int8_t *, since it doesn'timp2006-02-041-5/+4
| | | | matter. Well it does for type punning warnings.
* Now that TUNABLE_ULONG is in the tree, and has been for a while, use it.imp2006-02-041-3/+3
| | | | This also avoids typepunning.
* Don't type pun accidentally. Instead, be explicit that we're typeimp2006-02-041-6/+8
| | | | punning with an union so that the compiler knows.
* Remove reference to non-existant manpage.brueffer2006-02-041-1/+0
| | | | Confirmed by: rwatson
* Call the audit syscall enter/exit functions for the amd64 architecture,wsalamon2006-02-042-1/+10
| | | | | | | both 32-bit and 64-bit paths. System calls will now be audited. Obtained from: TrustedBSD Project Approved by: rwatson (mentor)
* Make login audit-enabled, submitting audit records for the login and logoutwsalamon2006-02-045-3/+238
| | | | | | | | | events. The specifics of submitting the records is contained within login_audit.c. Document the auditing behavior in the man page. Obtained from: TrustedBSD Project, Apple Computer, Inc. Approved by: rwatson (mentor)
* When ndis_attach() runs, it has to very briefly initialize the cardwpaul2006-02-041-14/+34
| | | | | | | | | | | | | | | | | | | | | | | | in order to query the underlying Windows driver for the station address and some other properties. There is a slim chance that the card may receive a packet and indicate it up to us before ndis_attach() can call ndis_halt_nic(). This is bad, because both the softc structure and the ifnet structure aren't fully initialized yet: many pointers are still NULL, so if we make it into ndis_rxeof(), we will panic. To fix this, we need to do the following: - Move the calls to IoAllocateWorkItem() to before the call to ndis_init_nic(). - Move the initialization of the RX DPC and status callback function pointers to before ndis_init_nic() as well. - Modify ndis_rxeof() to check if the IFF_DRV_RUNNING flag is set. If it isn't, we return any supplied NDIS_PACKETs to the NIC without processing them. This fixes a crash than can occur when activating a wireless NIC in close proximity to a very busy wireless network, reported by Ryan Beasley (ryan%^$!ATgoddamnbastard-****!!!DOTorg. MFC after: 3 days
* Add a brief FREEBSD-upgrade file to provide direction on how to performrwatson2006-02-041-0/+19
| | | | | OpenBSM upgrades. Right now, this is very easy, but in the future it will probably become more complicated.
* Add a -A argument to mergemaster to allow explicitly specifying anrwatson2006-02-042-8/+17
| | | | | | | | | architecture to pass through to the underlying makefiles. This is quite useful when building on an i386 box to populate an amd64 NFS root. Head nod: dougb MFC after: 1 week
* Don't forget to set the address of the next descriptor to 0 when we'recognet2006-02-041-0/+1
| | | | | zeroing a physical page, or we could end up re-zeroing portions of memory we have zeroed before, which is clearly not wanted.
* Squash another use of vtophys. Instead of creating separate busdma objectsscottl2006-02-041-39/+42
| | | | | for doing static memory transfers, start collecting them into a single object.
* MFi386:cognet2006-02-041-0/+4
| | | | | | | | | | revision 1.288 date: 2006/02/04 14:11:33; author: wsalamon; state: Exp; lines: +4 -1 Hook up the audit system to system call entry and exit. System calls will now be audited. Obtained from: TrustedBSD Project Approved by: rwatson (mentor)
* Now that the em driver no longer needs to directly touch the scheduler, ↵scottl2006-02-041-3/+0
| | | | | | remove some unneeded headers.
* Initialize PWD early on (don't expect it to be inherited from theschweikh2006-02-041-0/+2
| | | | | | environment or set it only when changing directories with cd). PR: standards/92640
* s/staticly/statically/gschweikh2006-02-041-2/+2
|
* s/varable/variable/; s/tored/stored/schweikh2006-02-041-2/+2
|
* Remove some white space at EOL.schweikh2006-02-045-15/+15
|
* Remove spurious "union arg" from printf.hphk2006-02-042-4/+3
| | | | Make sure to always print something in the alternate time format.
* Hook up the audit system to system call entry and exit. System calls willwsalamon2006-02-041-0/+3
| | | | | | | now be audited. Obtained from: TrustedBSD Project Approved by: rwatson (mentor)
* Create childproc_jobstate function to report job control state, thisdavidxu2006-02-041-42/+49
| | | | also fixes a bug in childproc_continued which ignored PS_NOCLDSTOP.
* Assign audit identifiers to alpha/linux system calls so that they willrwatson2006-02-041-173/+174
| | | | | | be audited. Obtained from: TrustedBSD Project
* Autogenerate hardware notes for the ce(4) driver.brueffer2006-02-043-0/+5
|
* Regenerate.rwatson2006-02-044-196/+196
|
* Audit FreeBSD 32-bit system calls on 64-bit FreeBSD systems.rwatson2006-02-041-216/+216
| | | | Obtained from: TrustedBSD Project
OpenPOWER on IntegriCloud