summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename 'mac_mbuf_create_from_firewall' to 'mac_netinet_firewall_send' asrwatson2007-10-2615-40/+40
| | | | | | | | | | we move towards netinet as a pseudo-object for the MAC Framework. Rename 'mac_create_mbuf_linklayer' to 'mac_mbuf_create_linklayer' to reflect general object-first ordering preference. Sponsored by: SPARTA (original patches against Mac OS X) Obtained from: TrustedBSD Project, Apple Computer
* Add a period for yar@.ru2007-10-261-1/+1
|
* Sort MLINKS.ru2007-10-261-8/+8
|
* If the INDEX file cannot be opened, print the actual filename / pathsimon2007-10-261-7/+8
| | | | | | | | pkg_version tried to open instead of just "INDEX" to make the actual problem more clear (e.g. missing INDEX-8). MFC after: 3 days Reviewed by: portmgr (pav)
* o Add a note that checkyesno takes a variable by its name, not value.yar2007-10-261-12/+14
| | | | o Improve mdoc(7) markup and style of the paragraph on stop_boot.
* Fix the signature matching code on AHCI controllers.sos2007-10-261-29/+60
| | | | Add SATA ATAPI support for AHCI controllers.
* Update the way we get the mode pages on probe.sos2007-10-262-25/+23
|
* Fix treating some modern chips (mem mapped) as legacy devices.sos2007-10-261-1/+2
|
* Hide geli warnings about sector size beeing bigger than the page size whenpjd2007-10-267-7/+7
| | | | doing regression testing.
* catch up with the code.julian2007-10-261-65/+70
|
* Add GEOM VIRSTOR module to the build.pjd2007-10-261-0/+1
|
* Introduce a way to make pure kernal threads.julian2007-10-2616-105/+390
| | | | | | | | | | | | | | | | | | | | | | | | | | kthread_add() takes the same parameters as the old kthread_create() plus a pointer to a process structure, and adds a kernel thread to that process. kproc_kthread_add() takes the parameters for kthread_add, plus a process name and a pointer to a pointer to a process instead of just a pointer, and if the proc * is NULL, it creates the process to the specifications required, before adding the thread to it. All other old kthread_xxx() calls return, but act on (struct thread *) instead of (struct proc *). One reason to change the name is so that any old kernel modules that are lying around and expect kthread_create() to make a process will not just accidentally link. fix top to show kernel threads by their thread name in -SH mode add a tdnam formatting option to ps to show thread names. make all idle threads actual kthreads and put them into their own idled process. make all interrupt threads kthreads and put them in an interd process (mainly for aesthetic and accounting reasons) rename proc 0 to be 'kernel' and it's swapper thread is now 'swapper' man page fixes to follow.
* Correct documentation of ~/.opiealwaysdes2007-10-261-3/+5
| | | | | | PR: 117512 Submitted by: Jeremy C. Reed <reed@reedmedia.net> MFC after: 1 week
* Save stack only when KTR_GEOM is both compiled into the kernel and enabledpjd2007-10-261-5/+5
| | | | | | | in debug.ktr.mask. Because saving stack is very expensive, it's better only to do it when one really wants to. Reported by: Dan Nelson
* Simplify the old compat #ifdefs.imp2007-10-261-22/+12
|
* Split /dev/nvram driver out of isa/clock.c for i386 and amd64. I have notpeter2007-10-2612-292/+182
| | | | | | | | refactored it to be a generic device. Instead of being part of the standard kernel, there is now a 'nvram' device for i386/amd64. It is in DEFAULTS like io and mem, and can be turned off with 'nodevice nvram'. This matches the previous behavior when it was first committed.
* Ooops. Put back Invariants and witnessimp2007-10-261-4/+4
| | | | Submitted by: csjp
* Add usb serial devices by default. I'm tired of telling people how toimp2007-10-262-4/+28
| | | | do this that should know better :-).
* Implement AUE_CORE, which adds process core dump support into the kernel.csjp2007-10-264-6/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces audit_proc_coredump() which is called by coredump(9) to create an audit record for the coredump event. When a process dumps a core, it could be security relevant. It could be an indicator that a stack within the process has been overflowed with an incorrectly constructed malicious payload or a number of other events. The record that is generated looks like this: header,111,10,process dumped core,0,Thu Oct 25 19:36:29 2007, + 179 msec argument,0,0xb,signal path,/usr/home/csjp/test.core subject,csjp,csjp,staff,csjp,staff,1101,1095,50457,10.37.129.2 return,success,1 trailer,111 - We allocate a completely new record to make sure we arent clobbering the audit data associated with the syscall that produced the core (assuming the core is being generated in response to SIGABRT and not an invalid memory access). - Shuffle around expand_name() so we can use the coredump name at the very beginning of the coredump call. Make sure we free the storage referenced by "name" if we need to bail out early. - Audit both successful and failed coredump creation efforts Obtained from: TrustedBSD Project Reviewed by: rwatson MFC after: 1 month
* Add an option to be able to override the value of the AT91 master clockcognet2007-10-252-0/+3
| | | | | frequency. It'd be better to be able to calculate it at runtime, but we need the information very early, to setup the uart.
* Move some KB920x-specific options into the KB920x file.cognet2007-10-252-4/+4
|
* Fix signedness to make gcc happy.cognet2007-10-253-4/+4
|
* Sort entry points in mac_framework.h and mac_policy.h alphabetically byrwatson2007-10-252-629/+574
| | | | | | | | | primary object type, and then by secondarily by method name. This sorts entry points relating to particular objects, such as pipes, sockets, and vnodes together. Sponsored by: SPARTA (original patches against Mac OS X) Obtained from: TrustedBSD Project, Apple Computer
* Oooops, get the end of the memory right.cognet2007-10-251-1/+1
|
* More style nit.takawata2007-10-251-6/+3
| | | | Pointed out by: njl.
* - Add my birthday to the calendar.lulf2007-10-251-0/+1
| | | | Approved by: kib (mentor)
* - Show that pjd@ and kib@ are my mentors, and that I work in src.lulf2007-10-251-0/+5
| | | | Approved by: kib (mentor)
* Nuke rc.d/nfslocking which has been superceeded by rc.d/{lockd,statd}mtm2007-10-253-64/+3
|
* Change a tab back to a space between #define and __FreeBSD_version.erwin2007-10-251-1/+1
| | | | | | This breaks OSVERSION determination in all ports. Reviewed by: rodrigc
* Don't attach to the "IBM0057" ID. This ID is used by IBM machines forjhb2007-10-251-1/+1
| | | | | | | | | | the PS/2 mouse controller. Thus, when acpi_ibm(4) claimed the mouse device, the mouse would stop working. The one ACPI dump of an R40 that I've looked at includes an HKEY device with the proper "IBM0068" ID, so I'm not sure how the "IBM0057" ID could have helped at all. MFC after: 1 week Approved by: njl
* Fix variable name to be clear what it means.takawata2007-10-251-3/+3
|
* Remove unnecessary whitespacemtm2007-10-251-1/+1
|
* Break out of the I/O retry loop as soon as an I/O operation succeeds ratherjhb2007-10-251-0/+2
| | | | | | than always retrying operations three times. Submitted by: nyan
* Turn EC into poll mode before device_resume invoked .takawata2007-10-251-3/+34
|
* Normalize TCP syncache-related MAC Framework entry points to match mostrwatson2007-10-258-50/+50
| | | | | | | other entry points in the form mac_<object>_method(). Discussed with: csjp Obtained from: TrustedBSD Project
* MFi386: part of 1.52nyan2007-10-251-32/+33
| | | | | Split the pc98_partition specific routine in bd_opendisk() into bd_open_pc98().
* Align.obrien2007-10-257-77/+77
|
* MFi386: part of revision 1.51nyan2007-10-251-161/+83
| | | | | | | | | Rework the read/write support in the bios disk driver some to cut down on duplicated code. - All of the bounce buffer and retry logic duplicated in bd_read() and bd_write() are merged into a single bd_io() routine that takes an extra direction argument. bd_read() and bd_write() are now simple wrappers around bd_io().
* The AWK 23-Oct-2007 release includes fixes for FreeBSD PR's bin/104795obrien2007-10-253-50/+1
| | | | and bin/100443.
* Document the bwk_20071023 import.obrien2007-10-251-4/+4
|
* This commit was generated by cvs2svn to compensate for changes in r172958,obrien2007-10-253-4/+12
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import of bwk's 23-Oct-2007 release.obrien2007-10-253-4/+12
| | | | | | | | This includes fixes for FreeBSD PR's: bin/104795, bin/100443
* | Rename mac_associate_nfsd_label() to mac_proc_associate_nfsd(), and moverwatson2007-10-258-51/+51
| | | | | | | | | | | | | | | | | | from mac_vfs.c to mac_process.c to join other functions that setup up process labels for specific purposes. Unlike the two proc create calls, this call is intended to run after creation when a process registers as the NFS daemon, so remains an _associate_ call.. Obtained from: TrustedBSD Project
* | Consistently name functions for mac_<policy> as <policy>_whatever ratherrwatson2007-10-2511-2761/+2722
| | | | | | | | | | | | | | | | | | | | | | than mac_<policy>_whatever, as this shortens the names and makes the code a bit easier to read. When dealing with label structures, name variables 'mb', 'ml', 'mm rather than the longer 'mac_biba', 'mac_lomac', and 'mac_mls', likewise making the code a little easier to read. Obtained from: TrustedBSD Project
* | Remove some debugging code that, while useful, doesn't belong in the committedtrhodes2007-10-252-16/+6
| | | | | | | | | | | | version. While here, expand a macro only used once. Discussed with/oked by: bde
* | Further MAC Framework cleanup: normalize some local variable names andrwatson2007-10-256-48/+49
| | | | | | | | | | | | clean up some comments. Obtained from: TrustedBSD Project
* | Load the bytes into the EMAC's MAC address register in the properimp2007-10-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | order. The kernel used to shuffle them around to get things right, but that was recently fixed. This makes our boot loader match the behavior of most other boot loaders for the atmel parts. This bug was inherited from the Kwikbyte loader that we started from. This bug was discovered by Bj.ANvrn KNvnig back in June, but fell on the floor. He provided patches to the kernel, include backwards compatibility options that were similar to Olivier's if_ate.c commit.
* | KERNBASE should really be KERNVIRTADDR there too.cognet2007-10-241-2/+2
| | | | | | | | MFC after: 1 week
* | In ate_get_mac(), try to get the mac address in the right order, at leastcognet2007-10-241-6/+6
| | | | | | | | | | | | | | | | in the same order as it's set in ate_set_mac. I remember a discussion about this on -arm, but apparently nothing was done. Warner, is this wrong ? X-MFC After: proper review
* | Handle the case where PHYSADDR != KERNPHYSADDR (ie we do not load the kernelcognet2007-10-241-7/+11
| | | | | | | | | | | | at the beginning of the RAM). MFC After: 1 week
OpenPOWER on IntegriCloud