summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix fd leak. Threads people: does the call above to `access' need to bewollman2002-05-031-1/+3
| | | | | | | underscored as well? PR: 37717 Submitted by: fred@clift.org (slightly modified by me)
* Get rid of bogus holder for realloc(3).jmallett2002-05-031-6/+5
|
* Rewrite the loop that handles substitution in the -I case, and try to makejmallett2002-05-031-15/+75
| | | | | | | | | it easier to understand. Making it easy to understand isn't all that easy, so litter the code with comments so some other poor soul can come along some day and work on this if they see fit to do so. Avoid calling strlen(3) to check for a nil-string, when we can just check for *str=='\0'. Approved by: src/tools/regression/usr.bin/xargs/
* Rename `lflag' to `Lflag' to match the option's case.jmallett2002-05-031-6/+6
|
* s/pfs_badop/vop_eopnotsupp/des2002-05-031-17/+9
| | | | Submitted by: phk
* Revert revision 1.22. I incorrectly modified the Berkeley identifiers.jmallett2002-05-031-3/+12
| | | | Requested by: bde, mike
* Revert vendor identifiers, and #if 0 what is #if 0/#else for OpenBSD.jmallett2002-05-036-13/+52
| | | | | | Add __FBSDID() properly. Requested by: bde, mike
* Regenerate -I output since an argument bogon in the -I code was fixed, amongjmallett2002-05-031-1/+1
| | | | other things.
* Unbreak static build and remove usage() that isn't usage().des2002-05-031-15/+8
| | | | Reviewed by: bde
* This commit was generated by cvs2svn to compensate for changes in r95978,des2002-05-031-2/+2
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Initialize other to all-zeroes before using it (perforce change 10738)des2002-05-031-2/+2
| |
* | Initialize time_second to 1 instead of zero to pacify slightly bogus arp code.phk2002-05-032-7/+5
| | | | | | | | Various minor style fixes from BDE.
* | Don't grab the lock until somewhat later in attach to avoid a lockphk2002-05-032-12/+14
| | | | | | | | reversal.
* | Name ufs_vop_[gs]etextattr() consistently with the rest of our VOPs andphk2002-05-034-16/+16
| | | | | | | | | | | | | | put then in the ufs_vnops where they belong, rather than in the ffs_vnops. Ok'ed by: rwatson Sponsored by: DARPA & NAI Labs.
* | As malloc(9) and free(9) are now Giant-free, remove the Giant locktanimura2002-05-034-26/+7
| | | | | | | | across malloc(9) and free(9) of a pgrp or a session.
* | The first argument of pgsigio() is now struct sigio **.tanimura2002-05-031-1/+1
| |
* | Remove Apple Airport card, since it seems to be mac-only.imp2002-05-031-10/+11
| | | | | | | | | | | | | | | | | | Change date to today. Add socket low power WLAN CF card Add SMC 2602W which I use all the time Comment out the create-ibss example. FreeBSD doesn't yet have that media option. Also change it to master-ibss since that's what OpenBSD really uses (and that is a change in their man page too)
* | Additional patches from OpenBSD. Mostly grammar fixes and the like,imp2002-05-031-5/+9
| | | | | | | | | | | | | | | | however I'm adding the Dlink DWL520 as supported from OpenBSD. Also adding Dlink DWL650 since I have one in my hot little hands and it works great. # I suspect that OpenBSD needs this too :-)
* | Fix the lock order reversal between the sigio lock and a process/pgrp lock intanimura2002-05-033-2/+10
| | | | | | | | funsetownlst() by locking the sigio lock across funsetownlst().
* | Adjust KINFO_PROC_SIZE due to segsz_t being changed from a 32-bit tomarcel2002-05-031-4/+1
| | | | | | | | a 64-bit integral.
* | Pre-generate the optimized x86 crypto code and check it in rather thanpeter2002-05-0315-41/+14661
| | | | | | | | | | | | | | | | | | | | | | depending on perl at build time. Makefile.asm is a helper for after the next import. With my cvs@ hat on, the relatively small repo cost of this is acceptable, especially given that we have other (much bigger) things like lib*.so.gz.uu checked in under src/lib/compat/*. Reviewed by: kris (maintainer)
* | bzero out the sync command buffer when sending commands. This was causingscottl2002-05-032-5/+13
| | | | | | | | | | | | problems when enumerating multiple arrays. This is an MFC candidate.
* | Bring the wi man page into the 21st centry. This man page is basedimp2002-05-021-26/+218
| | | | | | | | | | | | | | | | | | heavily on OpenBSD's wi man page, with OpenBSDisms replaced by FreeBSDisms. I also added a note about where the man page came from. I hope that I've not broken anything that ru cleaned up. We now run this through tbl, but that appears to be automatic. Obtained From: OpenBSD
* | MFNetBSD:joe2002-05-021-1/+4
| | | | | | | | | | | | | | | | revision 1.94 date: 2001/12/30 20:26:59; author: augustss; state: Exp; lines: +5 -2 Make sure we don't have any pending softintrs when entering polling mode. Thanks to Darrin for finding and fixing this problem when using USB keyboards in DDB.
* | Retire makeobjops.pl - replaced by ../tools/makeobjops.awk.peter2002-05-021-473/+0
| |
* | Make em driver compilable on IA64/alpha.pdeuskar2002-05-021-4/+4
| | | | | | | | | | Submitted by: peter MFC after: 3 days
* | Retire makeLINT.plpeter2002-05-021-23/+0
| |
* | Makefile uses genwakecode.sh now.peter2002-05-021-22/+0
| |
* | Cleanup, quote:alfred2002-05-021-32/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This leaves some vestiges of the old locking, including style bugs in it. I've only noticed anachronisms in socketvar.h so far (I've merged net* but not kern or all of sys). The patch also has old fixes for style bugs in accf stuff and namespace pollution in uma... The largest style bugs are line continued backslashes in column 80 and (these are fixed), and starting the do-while code for the new macros in column 40, which is quite unlike the usual indentation (see sys/queue.h) and not even like the indentation for the old macros (column 32) (this is not fixed). Submitted by: bde
* | As promised make the hack for sizeof(struct disklabel) on alpha annoying.phk2002-05-021-3/+14
| | | | | | | | | | | | Run make world (or recompile whatever program whines) to get rid of warning. Compat bits will be removed entirely in about two weeks.
* | Swap the order of mount and nmount calls. We now call nmountmux2002-05-021-14/+14
| | | | | | | | | | first, since all the consumers of mount_std in the tree have been converted to nmount.
* | Convert devfs to nmount.mux2002-05-022-7/+7
| | | | | | | | Reviewed by: phk
* | Convert the pseudofs framework to nmount (thus procfs and linprocfs).mux2002-05-022-8/+8
| | | | | | | | Reviewed by: des (some time ago), phk
* | Convert fdescfs to nmount.mux2002-05-021-6/+5
| | | | | | | | Reviewed by: phk
* | Don't reference vop_std* since they are already implicitlyscottl2002-05-021-3/+0
| | | | | | | | | | | | referenced through the VOP_DEFAULT vector Submitted by: phk
* | Modernizephk2002-05-021-52/+71
| |
* | Make these functions cancellation points like they should be:archie2002-05-0215-15/+198
| | | | | | | | | | | | | | | | poll(2), readv(2), select(2), wait4(2), writev(2). PR: bin/37658 Reviewed by: deischen MFC after: 1 week
* | Make sure calls to pthread_cancel() do not take effect if the targetarchie2002-05-023-6/+12
| | | | | | | | | | | | | | | | thread is already exiting. PR: bin/37614 Reviewed by: deischen MFC after: 1 week
* | Revert rev 1.1018. rp(4) and dgb(4) are deemed MI, while the rest of theobrien2002-05-021-37/+0
| | | | | | | | | | drivers for simular hardware are i386-specific. That is why I did not find the information here.
* | Use vop_panic() instead of our home-rolled version.phk2002-05-021-16/+6
| |
* | Use vop_panic() instead of rolling our own.phk2002-05-022-43/+19
| |
* | Set the permissions on restored symbolic links.iedowse2002-05-021-1/+19
| | | | | | | | | | PR: bin/37665 Submitted by: "Michael C. Adler" <mad1@tapil.com>
* | o Change the implementation of vm_map locking to use exclusive locksalc2002-05-021-26/+24
| | | | | | | | | | exclusively. The interface still, however, distinguishes between a shared lock and an exclusive lock.
* | Join the pissing contest: generate LINT with a single sed(1) command.des2002-05-024-4/+18
| | | | | | | | Smaller script, smaller (though equivalent) output.
* | Add missing UNLOCKsjulian2002-05-021-1/+9
| | | | | | | | Submitted by: dirkx@covalent.net
* | - Protect randompid and nprocs with the allproc_lock.jhb2002-05-021-101/+122
| | | | | | | | | | | | | | | | | | - Reorder fork1() to do malloc() and other blocking operations prior to acquiring the needed process locks. - The new process inherit's the credentials of curthread, not the credentials of the old process. - Document a really weird race that will come up with KSE allows multiple kernel threads per process.
* | - Reorder a few things so that when we lock the process at the end ofjhb2002-05-021-107/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exit1() we don't have to release it until we acquire schd_lock to call cpu_throw(). - Since we can switch at any time due to preemption or a lock release prior to acquiring sched_lock, don't update switchtime and switchticks until the very end of exit1() after we have acquired sched_lock. - Interlock the proctree_lock and proc lock in wait1() and exit1() to avoid lost wakeups when a parent blocks waiting for a child to exit at the bottom of wait1(). In exit1() the proc lock interlocked with proctree_lock (and released after acquiring sched_lock) is that of the parent process. - In wait1() use an exclusive lock of proctree lock while we are looking for a process to harvest. This allows us to completely remove all references to the process once we've found one (i.e., disconnect it from pgrp's, session's, zombproc list, and it's parent's children list) "atomically" without needing to worry about a lock upgrade. - We don't need sched_lock to test if p_stat is SZOMB or SSTOP when holding the proc lock since the proc lock is always held with p_stat is set to SZOMB or SSTOP. - Protect nprocs with an xlock of the allproc_lock.
* | - Reorder execve() so that it performs blocking operations before itjhb2002-05-022-63/+74
| | | | | | | | | | | | | | | | locks the process. - Defer other blocking operations such as vrele()'s until after we release locks. - execsigs() now requires the proc lock to be held when it is called rather than locking the process internally.
* | Un-rot the VOP_ table generator.phk2002-05-021-6/+27
| |
* | Make pkg_info working again when argument is a file not in the currentsobomax2002-05-021-2/+5
| | | | | | | | | | | | | | | | directory. PR: 37571 Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org> MFC after: 1 week
OpenPOWER on IntegriCloud