summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make em driver compilable on IA64/alpha.Prafulla Deuskar2002-05-021-4/+4
| | | | | | | | Submitted by: peter MFC after: 3 days Notes: svn path=/head/; revision=95962
* Retire makeLINT.plPeter Wemm2002-05-021-23/+0
| | | | Notes: svn path=/head/; revision=95961
* Makefile uses genwakecode.sh now.Peter Wemm2002-05-021-22/+0
| | | | Notes: svn path=/head/; revision=95960
* Cleanup, quote:Alfred Perlstein2002-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 Notes: svn path=/head/; revision=95959
* As promised make the hack for sizeof(struct disklabel) on alpha annoying.Poul-Henning Kamp2002-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. Notes: svn path=/head/; revision=95958
* Swap the order of mount and nmount calls. We now call nmountMaxime Henrion2002-05-021-14/+14
| | | | | | | | first, since all the consumers of mount_std in the tree have been converted to nmount. Notes: svn path=/head/; revision=95957
* Convert devfs to nmount.Maxime Henrion2002-05-022-7/+7
| | | | | | | Reviewed by: phk Notes: svn path=/head/; revision=95954
* Convert the pseudofs framework to nmount (thus procfs and linprocfs).Maxime Henrion2002-05-022-8/+8
| | | | | | | Reviewed by: des (some time ago), phk Notes: svn path=/head/; revision=95953
* Convert fdescfs to nmount.Maxime Henrion2002-05-021-6/+5
| | | | | | | Reviewed by: phk Notes: svn path=/head/; revision=95952
* Don't reference vop_std* since they are already implicitlyScott Long2002-05-021-3/+0
| | | | | | | | | referenced through the VOP_DEFAULT vector Submitted by: phk Notes: svn path=/head/; revision=95951
* ModernizePoul-Henning Kamp2002-05-021-52/+71
| | | | Notes: svn path=/head/; revision=95950
* Make these functions cancellation points like they should be:Archie Cobbs2002-05-0215-15/+198
| | | | | | | | | | | poll(2), readv(2), select(2), wait4(2), writev(2). PR: bin/37658 Reviewed by: deischen MFC after: 1 week Notes: svn path=/head/; revision=95948
* Make sure calls to pthread_cancel() do not take effect if the targetArchie Cobbs2002-05-023-6/+12
| | | | | | | | | | | thread is already exiting. PR: bin/37614 Reviewed by: deischen MFC after: 1 week Notes: svn path=/head/; revision=95947
* Revert rev 1.1018. rp(4) and dgb(4) are deemed MI, while the rest of theDavid E. O'Brien2002-05-021-37/+0
| | | | | | | | drivers for simular hardware are i386-specific. That is why I did not find the information here. Notes: svn path=/head/; revision=95946
* Use vop_panic() instead of our home-rolled version.Poul-Henning Kamp2002-05-021-16/+6
| | | | Notes: svn path=/head/; revision=95945
* Use vop_panic() instead of rolling our own.Poul-Henning Kamp2002-05-022-43/+19
| | | | Notes: svn path=/head/; revision=95944
* Set the permissions on restored symbolic links.Ian Dowse2002-05-021-1/+19
| | | | | | | | PR: bin/37665 Submitted by: "Michael C. Adler" <mad1@tapil.com> Notes: svn path=/head/; revision=95943
* o Change the implementation of vm_map locking to use exclusive locksAlan Cox2002-05-021-26/+24
| | | | | | | | exclusively. The interface still, however, distinguishes between a shared lock and an exclusive lock. Notes: svn path=/head/; revision=95942
* Join the pissing contest: generate LINT with a single sed(1) command.Dag-Erling Smørgrav2002-05-024-4/+18
| | | | | | | Smaller script, smaller (though equivalent) output. Notes: svn path=/head/; revision=95940
* Add missing UNLOCKsJulian Elischer2002-05-021-1/+9
| | | | | | | Submitted by: dirkx@covalent.net Notes: svn path=/head/; revision=95939
* - Protect randompid and nprocs with the allproc_lock.John Baldwin2002-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. Notes: svn path=/head/; revision=95938
* - Reorder a few things so that when we lock the process at the end ofJohn Baldwin2002-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. Notes: svn path=/head/; revision=95937
* - Reorder execve() so that it performs blocking operations before itJohn Baldwin2002-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. Notes: svn path=/head/; revision=95936
* Un-rot the VOP_ table generator.Poul-Henning Kamp2002-05-021-6/+27
| | | | Notes: svn path=/head/; revision=95935
* Make pkg_info working again when argument is a file not in the currentMaxim Sobolev2002-05-021-2/+5
| | | | | | | | | | | directory. PR: 37571 Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org> MFC after: 1 week Notes: svn path=/head/; revision=95934
* Make `-g' working for symlinks.Maxim Sobolev2002-05-021-3/+20
| | | | | | | | | PR: 33857 Submitted by: darren <igla@batterybackups.net> MFC after: 1 week Notes: svn path=/head/; revision=95933
* Kill local variable which shadows global one. This fixes creation of bzip2Maxim Sobolev2002-05-021-1/+0
| | | | | | | | | compressed packages broken in the previous commit. Pointy hat to: obrien Notes: svn path=/head/; revision=95932
* Hide a pointer to the malloc_type bucket at the end of the freed memory. IfJeff Roberson2002-05-023-3/+103
| | | | | | | | this memory is modified after it has been freed we can now report it's previous owner. Notes: svn path=/head/; revision=95931
* Move around the dbg code a bit so it's always under a lock. This stops aJeff Roberson2002-05-021-8/+7
| | | | | | | | weird potential race if we were preempted right as we were doing the dbg checks. Notes: svn path=/head/; revision=95930
* The width of segsz_t should be 64, not 32 on ia64.Doug Rabson2002-05-021-1/+1
| | | | Notes: svn path=/head/; revision=95929
* Add the csplit(1) utility, which splits files based on context, as specifiedTim J. Robbins2002-05-021-0/+5
| | | | | | | | | | | | by SUSv3. This Makefile got left out of the previous commit. PR: 36191 Reviewed by: mike Notes: svn path=/head/; revision=95927
* Add the csplit(1) utility, which splits files based on context, as specifiedTim J. Robbins2002-05-023-0/+589
| | | | | | | | | | by SUSv3. PR: 36191 Reviewed by: mike Notes: svn path=/head/; revision=95926
* - Changed the size element of uma_zctor_args to be size_t instead of int.Andrew R. Reiter2002-05-022-4/+4
| | | | | | | | | | - Changed uma_zcreate to accept the size argument as a size_t intead of int. Approved by: jeff Notes: svn path=/head/; revision=95925
* - Replaced the Atm_connection storage pool with an uma_zone ofAndrew R. Reiter2002-05-023-29/+31
| | | | | | | | | | | | | Atm_connection items. - Replaced the Atm_connvc storage pool with an uma_zone of Atm_connvc items. - Created void atm_cm_init(void *) and added it to the netatm init code. I'm thinking that there will definetly be more ``subsystem'' init functions to be added so I'll probably change these calls to be a for loop through init routines (or something). Notes: svn path=/head/; revision=95924
* malloc/free(9) no longer require Giant. Use the malloc_mtx to protect theJeff Roberson2002-05-024-10/+46
| | | | | | | | | | mallochash. Mallochash is going to go away as soon as I introduce the kfree/kmalloc api and partially overhaul the malloc wrapper. This can't happen until all users of the malloc api that expect memory to be aligned on the size of the allocation are fixed. Notes: svn path=/head/; revision=95923
* Use shell script version (using awk and sed) of makeLINT.pl.Jun Kuriyama2002-05-023-4/+23
| | | | Notes: svn path=/head/; revision=95922
* Don't cast incorrectly to malloc(3), and don't use errx(3) if malloc(3)Juli Mallett2002-05-021-2/+2
| | | | | | | returns NULL, as malloc(3) sets errno. Use err(3). Notes: svn path=/head/; revision=95921
* In pmap_pinit0, remove duplicate initialization.Marcel Moolenaar2002-05-021-12/+1
| | | | Notes: svn path=/head/; revision=95920
* PCPU(current_pmap) is initialized in pmap_bootstrap. No need toMarcel Moolenaar2002-05-021-1/+0
| | | | | | | do it again. Notes: svn path=/head/; revision=95919
* Remove redundant declarations of getopt(3) externals (since <unistd.h> doesJuli Mallett2002-05-022-4/+2
| | | | | | | | take care of them), and add __FreeBSD__ to the defined() checks for the _PATH_DIVNAME. Notes: svn path=/head/; revision=95918
* __COPYRIGHT() and __SCCSID().Juli Mallett2002-05-021-12/+3
| | | | Notes: svn path=/head/; revision=95917
* An explicit cast to size_t for an inline integer, since the two are not theJuli Mallett2002-05-021-2/+2
| | | | | | | | | | same on Alpha and lint(1) pointed that out. lint(1) on the same architecture pointed out how silly a cast to (u_int) to malloc(3)'s argument was. Change that to size_t. Notes: svn path=/head/; revision=95916
* PAMify rexecd(8).Dag-Erling Smørgrav2002-05-022-116/+89
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=95915
* Add a PAM policy for rexecd(8).Dag-Erling Smørgrav2002-05-022-1/+17
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=95914
* In udf_bmap(), return the physical block number, not the logicalScott Long2002-05-021-1/+5
| | | | | | | block number. This fixes things like cp (ouch!) which use mmap. Notes: svn path=/head/; revision=95913
* xdm plays horrid tricks with PAM, and dumps core if it's allowed to callDag-Erling Smørgrav2002-05-022-0/+2
| | | | | | | | | | | pam_lastlog, so add a dummy session chain to avoid using the one from pam.d/other. I assume gdm does something similar, so give it a dummy session chain as well. Sponsored by: DARPA, NAI Labs. Notes: svn path=/head/; revision=95912
* Add openpam_nullconv.c to SRCS.Dag-Erling Smørgrav2002-05-021-0/+1
| | | | Notes: svn path=/head/; revision=95911
* This commit was generated by cvs2svn to compensate for changes in r95908,Dag-Erling Smørgrav2002-05-0253-131/+283
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=95909
| * Vendor import of OpenPAM Cinnamon.vendor/openpam/CINNAMONDag-Erling Smørgrav2002-05-0253-131/+283
| | | | | | | | | | Notes: svn path=/vendor/openpam/dist/; revision=95908 svn path=/vendor/openpam/CINNAMON/; revision=95910; tag=vendor/openpam/CINNAMON
* | A markup fix, and document -R as non-standard.Juli Mallett2002-05-021-3/+5
| | | | | | | | Notes: svn path=/head/; revision=95906