summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add the following mount options to the nfs_opts array:rodrigc2007-10-271-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | noatime, noexec, suiddir, nosuid, nosymfollow, union, noclusterr, noclusterw, multilabel, acls, force, update, async. These options correspond to MOPT_STDOPTS, MOPT_FORCE, MOPT_UPDATE, and MOPT_ASYNC. Currently, mount_nfs converts these "-o" options from strings to MNT_ flags via getmntopts(), and passes the flags from userspace to the kernel. This change will allow us in future to pass these mount options as strings directly to the kernel via nmount() when doing NFS mounts.
* | Include <stdlib.h> for the right prototype for exit(3).yar2007-10-271-0/+1
| |
* | Remove duplicate "union" from ext2_opts.rodrigc2007-10-271-1/+1
| | | | | | | | Noticed by: bde
* | Set the program name if the crunched program is selected throughyar2007-10-271-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | argv[1] to mimic crt0 behaviour. Do the job by a direct assignment to __progname in order to stay compatible with NetBSD, whose setprogname() is a deliberate no-op. The reason for this change is that some programs (usually those imported from NetBSD) use getprogname() to distinguish between their aliases. (See pkill aka pgrep for example.) This change can be useful, and applicable, to NetBSD, too.
* | In nmount(), if MNT_ROOT is in the mount flags, filter itrodrigc2007-10-271-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | out instead of returning an error. (1) This makes the behavior consistent with mount(2). (2) This makes update mounts on the root file system work properly. (3) The explicit checks for MNT_ROOTFS in src/sbin/fsck_ffs/main.c and src/usr.sbin/mountd/mountd.c which were put in to eliminate errors during update mounts on the root file system can be removed. The only place were MNT_ROOTFS can be validly set is inside the kernel, i.e. with vfs_mountroot_try(). Reviewed by: phk MFC after: 3 days
* | fix buildsam2007-10-271-0/+1
| |
* | Don't destroy an ACPI device_t for a PCI device and reassign the ACPIjhb2007-10-271-2/+13
| | | | | | | | | | | | | | | | | | | | handle to the PCI device_t if the ACPI device_t is already attached to a driver. This happens on the Tablet TC1000 which for some reason includes two PCI-ISA bridges and treats the second bridge as an ACPI system resource device. Reviewed by: njl (a while ago) MFC after: 3 days
* | Don't test the APIC flag in the cpuid features for amd64 to see if ajhb2007-10-271-4/+0
| | | | | | | | | | | | | | local APIC is present or not. All amd64 CPUs have a local APIC and some BIOSen don't set the CPUID_APIC flag. MFC after: 1 week
* | Missed in the previous commit to this file:jhb2007-10-271-0/+3
| | | | | | | | | | | | Actually support the new HT capability type from HT 2.00b. MFC after: 3 days
* | Don't always re-route IRQs on resume. If this link hasn't been used, thenjhb2007-10-271-1/+16
| | | | | | | | | | | | disable it with _DIS rather than assigning it an IRQ on resume. MFC after: 1 week
* | Bump up the limit for when to print the resources for a given resourcejhb2007-10-271-1/+1
| | | | | | | | | | | | | | manager in hex vs decimal to 1000 from 100 so that IRQs are printed in decimal. MFC after: 3 days
* | Use the correct variable to check for a malloc failing. This fixes asimon2007-10-271-1/+1
| | | | | | | | | | case where mountd would fail to start with "out of memory" logged to syslog.
* | Give each posixsem MAC Framework entry point its own counter and test caserwatson2007-10-271-9/+74
| | | | | | | | | | | | | | in the mac_test policy, rather than sharing a single function for all of the access control checks. Obtained from: TrustedBSD Project
* | Small improvement for __isctype(): don't use __mb_sb_limit butache2007-10-271-1/+1
| | | | | | | | | | hardcode 128 here instead, since default locale never define anything above 127 char.
* | Add support for the pre-exisiting module shutdoen handshake.julian2007-10-271-7/+6
| | | | | | | | Fix some comments.
* | rename the process to 'idle' and 'intr' as per jhb.julian2007-10-272-4/+4
| |
* | Initialise the initial process pointer to NULL so that we know we don'tjulian2007-10-271-1/+1
| | | | | | | | | | | | | | have an idle process yet. I'm guessing that on my system this was always 0 already. found by: Ed Schouten
* | Change vm_page_cache_transfer() such that it does not transfer pagesalc2007-10-271-10/+20
| | | | | | | | | | | | | | | | | | that would have an offset beyond the end of the target object. Such pages should remain in the source object. MFC after: 3 days Diagnosed and reviewed by: Kostik Belousov Reported and tested by: Peter Holm
* | If kthread_exit() is called on the last kthread in a kproc, thenjulian2007-10-261-0/+6
| | | | | | | | | | all the work in kproc_exit must be done. We don't actually have a user of this yet but why leave it to chance.
* | if one changes a function's arguments, one must also change the callers.julian2007-10-261-2/+2
| |
* | Update comment following MAC Framework entry point renaming andrwatson2007-10-261-1/+6
| | | | | | | | | | | | reorganization. Obtained from: TrustedBSD Project
* | Use the smaller cgbase() macro in ufsread.c if UFS_SMALL_CGBASE isjhb2007-10-264-4/+5
| | | | | | | | | | | | | | | | defined. This lets each boot program choose which version of cgbase() it wants to use rather than forcing ufsread.c to have that knowledge. MFC after: 1 week Discussed with: imp
* | Remap and virtualize mixer controls for HP nx6110 withariff2007-10-261-2/+26
| | | | | | | | | | | | | | | | | | | | AD1981B AC97 codec, unifying master volume control. * Remap "phout" --> SOUND_MIXER_VOLUME (internal speakers) * Virtual "vol" --> { "phout", "ogain" (headphone) } Tested by: Frederic Chardon MFC after: 3 days
* | Enable headphone jack-sense for HP nx6100 with AD1981B AC'97 codec,ariff2007-10-261-0/+1
| | | | | | | | | | | | | | automuting internal speakers. Tested by: Frederic Chardon MFC after: 3 days
* | oops, over optimised and broke non-SMP buildsjulian2007-10-261-1/+3
| |
* | - Add myself as a new doc/www committer.miwi2007-10-261-0/+1
| | | | | | | | Approved by: jkois (mentor)
* | kthread_exit needs no stinkin argument.julian2007-10-262-3/+6
| |
* | Doc police fixesjulian2007-10-263-64/+97
| | | | | | | | thanks to: ru@
* | style(9)obrien2007-10-261-11/+13
| |
* | Document the '-P pidfile' command line argument.simon2007-10-261-1/+5
| | | | | | | | | | | | PR: docs/116658 Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk> MFC after: 3 days
* | Add . to the include path so that we follow the 'machine' symlink we createjhb2007-10-261-1/+1
| | | | | | | | | | | | during depend on amd64. Reported by: rwatson
* | Aparrently MACXOCOMLEN exisrts only on my machinejulian2007-10-261-1/+1
| |
* | The arm boot code uses this function as well. Redefining cgbase()imp2007-10-261-1/+1
| | | | | | | | | | | | | | | | saves about 500 bytes in the boot code. While the AT91RM9200 has 12k of space for the boot loader, which is more than i386's 8k, the code generated by gcc is a bit bigger. I've had this in p4 for about two years now.
* | Forced commit:jkois2007-10-260-0/+0
| | | | | | | | | | - Note that my last commit was discussed with remko@. - Note that my first mentee will be miwi@.
* | Fill in my data:jkois2007-10-261-0/+7
| | | | | | | | | | | | - add my entry - mheinen@ was my mentor for de_DE (doc/www) - remko@ was my mentor for full doc/www
* | Disable the coretemp and nvram on pc98.nyan2007-10-261-2/+2
| |
* | MFi386: revision 1.476nyan2007-10-261-0/+13
| | | | | | | | Add more (commented-out) usb devices.
* | Reduce diffs against i386.nyan2007-10-261-29/+29
| |
* | 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.
OpenPOWER on IntegriCloud