summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename g_bde_read_sector() to g_bde_read_keysector() pick up the offsetphk2003-04-251-5/+5
| | | | in the work structure.
* Alphas with libc.so between 2003/03/12 and 2003/03/29 cannot beru2003-04-251-0/+15
| | | | | | upgraded cleanly. Document the reason and possible workarounds. Requested by: gallatin
* Remove Giant from getpgid() and getsid() and tweak the logic to morejhb2003-04-251-30/+28
| | | | closely match that of 4.x.
* - Don't bother using the proc lock to test just P_SYSTEM as that is set injhb2003-04-251-8/+6
| | | | | | fork1() and never changes. - The proc lock is enough to cover reading p_state, so push down sched_lock into the PRS_NORMAL case of the switch on p_state.
* - Push down Giant into the sysarch() calls that still need Giant.jhb2003-04-256-8/+15
| | | | | - Standardize on EINVAL rather than EOPNOTSUPP if the sysarch op value is invalid.
* Push down Giant around calls to proc_rwmem() in kern_ptrace. kern_ptrace()jhb2003-04-251-0/+7
| | | | should now be MP safe.
* Push Giant down into kern_sigaction() instead of locking it around callsjhb2003-04-251-8/+6
| | | | to kern_sigaction() in the various callers of the function.
* - Push down Giant around vnode operations in ktrace().jhb2003-04-251-22/+39
| | | | | | | | | | | | | - Mark the ktrace() and utrace() syscalls as being MP safe. - Validate the facs argument to ktrace() prior to doing any vnode operations or acquiring any locks. - Share lock the proctree lock over the entire section that calls ktrsetchildren() and ktrops(). We already did this for process groups. Doing it for the process case closes a small race where a process might go away after we look it up. As a result of this, ktrstchildren() now just asserts that the proctree lock is locked rather than acquiring the lock itself. - Add some missing comments to #else and #endif.
* Lock Giant around calls to useracc() in osf1_sigreturn() so that thejhb2003-04-251-1/+5
| | | | function is MP safe.
* Lock Giant around userland_sysctl() to get the hostname in osf1_sysinfo()jhb2003-04-251-0/+5
| | | | | so that the function is MP safe. The rest of the function doesn't need Giant.
* Use a switch to convert the Linux sigprocmask flags to the equivalentjhb2003-04-251-3/+14
| | | | | | | | | | | FreeBSD flags instead of just adding one to the Linux flags. This should be identical to the previous version except that I have at least one report of this patch fixing problems people were having with Linux apps after my last commit to this file. It is safer to use the switch then to make assumptions about the flag values anyways, esp. since we currently use MD defines for the values of the flags and this is MI code. Tested by: Michael Class <michael_class@gmx.net>
* Mention PAE support.jake2003-04-251-0/+8
| | | | | Reviewed by: bmah Sponsored by: DARPA, Network Associates Laboratories
* When using `compat' mode, be sure to re-dispatch setpwent, endpwent,nectar2003-04-252-0/+58
| | | | | | | | | | setgrent, and endgrent also. (The previous NSS implementation used to simply twiddle the internal data of the various modules directly.) A symptom (group list set incorrectly in sshd) was Reported by: Glenn Johnson <gjohnson@srrc.ars.usda.gov> Sponsored by: DARPA, Network Associates Laboratories
* Remove a stray sentence.jake2003-04-251-3/+0
|
* - Lock the vm_object when iterating over its list of resident pages.alc2003-04-251-0/+8
|
* Convert the midway driver to use busdma. Except for this conversion theharti2003-04-257-3671/+3495
| | | | | | | | | | | | | | | | | | | | following changes have been done: - stylify. The original code was too hard to read. - get rid of a number of compilation options (Adaptec-only, Eni-only, no-DMA). - more debugging features. - locking. This is not correct yet in the absence of interface layer locking, but is correct enough to not to cause lock order reversals. - remove RAW mode. There are no users of this in the tree and I doubt that there are any. - remove NetBSD compatibility code. There was no way to keep NetBSD non-busdma and FreeBSD busdma code together. - if_en now buildable as a module. This has been actively tested on sparc64 and i386 with ENI server and client cards and an Adaptec card (thanks to kjc). Reviewed by: mdodd, arr
* Regen.jhb2003-04-259-102/+9
|
* Oops, the thr_* and jail_attach() syscall entries should be NOPROTO ratherjhb2003-04-253-21/+21
| | | | than STD.
* Whitespace fix up, no content changes. Translators can ignore this.bmah2003-04-251-41/+42
|
* Update HTT support text.bmah2003-04-251-3/+9
|
* Remove harmless invalid cast.jake2003-04-252-2/+2
| | | | Sponsored by: DARPA, Network Associates Laboratories
* s/filesystem/file system/bmah2003-04-252-18/+18
| | | | | | | | s/bootloader/boot loader/ I hate search and replace sweeps like this as much as anyone else, but in each case I used both alternatives within a single document, so I'm trying to enforce some internal consistency.
* New release notes: i386 boot loader 1.5TB limit, OpenSSH 3.6.1p1.bmah2003-04-252-2/+30
| | | | Modified release notes: Add note about 1.5TB limit to sysinstall note.
* The documented login.conf variable for setting the login prompt isdes2003-04-251-1/+1
| | | | | | | | "login_prompt". This makes more sense than "prompt" which is what login actually used, so change the code to match the documentation. PR: docs/51396 MFC in: 3 days
* Repair the UFS2 superblock location consistency check so that it succeedstjr2003-04-251-1/+1
| | | | | | | on valid superblocks instead of issuing the error "not a BSD filesystem". fs_sblockloc is a byte offset, not a fragment number. This change makes quot work properly on UFS2 filesystems, which is important now that UFS2 is the default.
* New release note: chown(8)/chgrp(1) -v -v.johan2003-04-252-0/+8
|
* Forced commit to note that WARNS was changed in the prev commit sincejohan2003-04-250-0/+0
| | | | this code is WARNS=5 clean. Try to keep it that way.
* Make fxp(4) INTR_MPSAFE (but do not enable MPSAFE just yet):njl2003-04-252-51/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Add fxp_start_body() and change fxp_start() to just acquire locks and then call fxp_start_body(). Places that would call fxp_start() with locks held (mutex recursion) now call fxp_start_body() directly. Remove MTX_RECURSE flag from sc_mtx. [gallatin] - Change fxp_attach() to work without the softc lock, saving interrupt hooking until the head of fxp_attach(). - Call ether_ifattach() before overriding ifp parameters. This reverts part of 1.155. - Remove multiple error paths in fxp_attach(). - Teardown interrupt in fxp_detach() before unlocking the softc. - Make sure mutex is not held in fxp_release() - Delete the miibus instance and/or self in fxp_release(), not in fxp_detach(). This can happen if attach fails partway through. - Move ifmedia_removeall to fxp_release() since attach may fail after media have been allocated. - Add locking to fxp_suspend, fxp_resume, fxp_start, fxp_intr, fxp_poll, fxp_tick, fxp_ioctl, fxp_watchdog. - Pass in ifp to fxp_intr_body since its callers sometimes already use it. - Add compatibility define for INTR_MPSAFE for 4.x. [gallatin] - You don't need to bzero softc. Ideas from: gallatin, mux Tested by: >400M packets of dd/ssh, NFS, ping on i386 UP
* Similar to chmod(1); make -v -v mean very verbose and showjohan2003-04-254-6/+44
| | | | | | | | the old and new uid/gid. PR: 41341 Submitted by: Edward Brocklesby <nighthawk@unrealircd.com> Reviewed by: bde@ (an older version)
* Restore bzip2(1) support in loader(8) after Peter's renames ofru2003-04-251-2/+11
| | | | malloc() to Malloc(), and free() to Free(), in zalloc_malloc.c.
* - Relax the Giant required in vm_page_remove().alc2003-04-251-3/+2
| | | | | | | | | | - Remove the Giant required from vm_page_free_toq(). (Any locking errors will be caught by vm_page_remove().) This remedies a panic that occurred when kmem_malloc(NOWAIT) performed without Giant failed to allocate the necessary pages. Reported by: phk
* Removing comment in some text files for fixit floppy overflow.kuriyama2003-04-251-3/+5
| | | | Approved by: re (murray)
* Import latest changes from the vendor. This also is reported to fix thescottl2003-04-254-38/+116
| | | | | | | driver at long last! Many thanks to vaidas.damosevicius@if.lt for keeping this issue alive and pursuing Intel for a fix, Intel/ICP for working on the driver, and Sergey Osokin for bringing the original patches up to 5-CURRENT.
* Change default to be 'process all events before calling daemon.'imp2003-04-251-2/+4
| | | | | | | | Also, put a small work around into devd to prevent a hang on boot this would cause because select used to return 2 rather than 0 for no evetnts due to a bug I fixed a few days ago in subr_bus.c. I'll remove this workaround May 7th. You have until then to upgrade your kernel if you want to run a new devd with an older kernel.
* Add warning about a potential hang on boot at devd after 20030507 ifimp2003-04-251-0/+10
| | | | | you have an old kernel and a new userland. I've just committed a fix for devd to work around the kernel bug, but that goes away on May 7th.
* Add an argument to get_mcontext() which specified whether thedeischen2003-04-2513-52/+52
| | | | | | | | | | | | | | | | | | | | syscall return values should be cleared. The system calls getcontext() and swapcontext() want to return 0 on success but these contexts can be switched to at a later time so the return values need to be cleared in the saved register sets. Other callers of get_mcontext() would normally want the context without clearing the return values. Remove the i386-specific context saving from the KSE code. get_mcontext() is not i386-specific any more. Fix a bad pointer in the alpha get_mcontext() code. The context was being bcopy()'d from &td->tf_frame, but tf_frame is itself a pointer, so the thread was being copied instead. Spotted by jake. Glanced at by: jake Reviewed by: bde (months ago)
* Connect libpthread to the (i386) world. It is currently installeddeischen2003-04-251-1/+4
| | | | | | | as libkse and will once again be renamed libpthread after more testing. Approved by: re
* Remove the %gs restoring hack (already commented out).deischen2003-04-252-12/+2
| | | | | | | Don't install man pages. Temporarily (again) rename the library to libkse. It will be put back to libpthread after more wide-spread testing.
* Update the DRM to the latest from DRI CVS. Includes some bugfixes and removalanholt2003-04-2534-2557/+437
| | | | | | of the infrastructure for the gamma driver which was removed a while back. The DRM_LINUX option is removed because the handler is now provided by the linux compat code itself.
* Back out previous delta to fix fsck on filesystems without an fstab entry,jmallett2003-04-251-1/+23
| | | | | | | | | | | | | where we want to take the disklabel filesystem type of "4.2BSD" and use fsck_4.2bsd on those filesystems. Add a comment about why the code is there, now that we know: * XXX This is a kludge to make automatic filesystem type guessing * from the disklabel work for "4.2BSD" filesystems. It does a * very limited subset of transliteration to a normalised form of * filesystem name, and we do not seem to enforce a filesystem * name character set.
* Include altkstack pages in the RSS regardless of whether the processtjr2003-04-251-8/+6
| | | | is swapped out. Pointed out by jhb.
* In compat mode, we `redispatch' the lookup. It is probably a goodnectar2003-04-241-0/+1
| | | | | | | | idea to re-initialize `struct passwd', because e.g. pw_class might get set by one module, but not by another. Add another call to the internal pwd_init function to accomplish this. Sponsored by: DARPA, Network Associates Laboratories
* Add an ioctl handler for the DRM. This removes the need for the DRM_LINUXanholt2003-04-242-0/+17
| | | | option, which has been a source of frustration for many users.
* Regen.jhb2003-04-249-12/+174
|
* Document support for the new 'U' flag, which was implemented back in Marchgad2003-04-241-6/+17
| | | | | | as revision 1.64 of newsyslog.c. I plan to MFC these changes next week. MFC after: 1 week
* Fix the thr_create() entry by adding a trailing \. Also, sync up thejhb2003-04-243-12/+12
| | | | MP safe flag for thr_* with the main table.
* VOP_FSYNC() expects to be called with the vnode locked, so lock fvp intruckman2003-04-241-1/+9
| | | | | | nfs_rename() before calling VOP_FSYNC() and unlock fvp immediately after. Reviewed by: bde
* Fix a bug with df on large (>1TB) nfsv3 file servers on 32 bit clientpeter2003-04-241-11/+23
| | | | | | | machines where the 'long' number of blocks in struct statfs wont fit. Instead of chosing an artificial 512 byte block size, simply scale it up until we avoid an overflow. NFSv3 reports the sizes in bytes, and the blocksize is a figment of nfsclient's imagination.
* Catch up with nsdispatch.c: nsdispatch(3) is now `hidden' bynectar2003-04-241-1/+3
| | | | | | namespace.h. Sponsored by: DARPA, Network Associates Laboratories
* Don't complain about missing NSS methods when built statically. It isnectar2003-04-241-1/+3
| | | | | | annoying and not very useful. Sponsored by: DARPA, Network Associates Laboratories
OpenPOWER on IntegriCloud