summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use eproc.e_stats, not a series of crude hacks to fetch it from the u-area.peter1999-11-171-60/+19
| | | | Also, fix some indentation that got messed up somehow..
* Add e_stats (p->p_stats, from struct user->u_stats) to eproc so it'speter1999-11-172-1/+4
| | | | | fetchable via sysctl. This saves ps having to read the u-area for stats. Be sure to recompile libkvm, ps, w, top and the usual suspects.
* Fix invalid option name: DIVERT -> IPDIVERTphantom1999-11-171-1/+1
|
* Add perlopentut.pod, perlreftut.pod and perlthrtut.pod to the list ofsheldonh1999-11-171-3/+4
| | | | | | | | | | pod files to be converted to and installed as manual pages. These were probably overlooked in the last minor version number upgrade to perl5. This change was approved by the perl5 maintainer. PR: 14649 Submitted by: Andy Farkas <andyf@speednet.com.au>
* Allow sub-Makefile's to determine the version of the OS we are make'ing on.obrien1999-11-171-0/+4
|
* Add `mkstemp.c' to the mix if we are building on something older thanobrien1999-11-171-0/+3
| | | | | | | | | | | __FreeBSD_version < 400004. This allows -STABLE to build -CURRENT sources. [mkstemps() was added to -current just before the version bump to 400004 (a matter of hours in this case), so the test is as exact as possible.] Submitted by: marcel
* Make "-mpreferred-stack-boundary=2" the default on the i386.obrien1999-11-172-0/+26
| | | | This reduces the size of the kernel and modules when compiled with GCC 2.95.
* Pay attention to the "KEEP THIS IN SYNC" comment, and sync the `tm.h'obrien1999-11-171-4/+0
| | | | header with src/gcc/usr.bin/cc/cc_tools/Makefile.
* * Remove a trailing ";" from a macro.obrien1999-11-171-26/+26
| | | | * Style cleanup.
* This temperary file can die now.obrien1999-11-171-559/+0
|
* Fix for 11815 (at mount time do a throwaway read of the front of themjacob1999-11-171-131/+321
| | | | | | | tape to force the drive to do a media access so it knows what media may be inserted). Also Ken's make_dev patches- relatively untested.
* Get rid of some trailing commas in enumerated types that cause gcc token1999-11-172-6/+6
| | | | | | complain when some warnings are turned on. Requested by: Bertrand Petit <elrond@phoe.frmug.org>
* Convert the xpt, pass, pt and target drivers to use the newken1999-11-174-18/+27
| | | | make_dev()/destroy_dev() interface.
* Put the listening socket into non-blocking mode before doing anpeter1999-11-171-0/+8
| | | | | | | | | accept(2). This is a not really problem on -current as the accept race is fixed, however it is a MFC candidate for -stable. This could possibly be slightly more efficient and leave the listening socket permanently in non-blocking mode, but I wasn't certain that I could catch all the stream/wait (not nowait) mode implications.
* Fixed sorting on time. On i386's, time differences of more than 2147bde1999-11-171-9/+9
| | | | | | | | | | | | seconds caused overflow. Use a type-safe but slightly slower comparison. Comparisons for other fields are still fragile. Fixed rounding of cputime (don't do extra work to get it slightly wrong by first converting without rounding to milliseconds). Removed dead code for setting cputime. Fixed comments about cputime.
* Fix a bug in the hack that protects against FTP bounce attacks.jdp1999-11-171-3/+2
| | | | | | | | | It used to loop back up to the accept() call and block there, shutting out all other transports until a new connection came in. Now it returns instead after dropping the connection. That will take it back to the select() loop where all transports can be serviced. I intend to MFC this within a day or two since it fixes a DoS vulnerability.
* Remove -O from CFLAGSn_hibma1999-11-177-7/+9
|
* Don't complain loudly about unknown termcap capabilities, eg:peter1999-11-172-2/+2
| | | | | | | | {vladivostok:/usr/home/ken:1:0} echo |more "TERMCAP", line 0, col 60, terminal 'screen': unknown capability 'G0' "TERMCAP", line 0, col 806, terminal 'screen': unknown capability 'AX' Submitted by: Kenneth D. Merry <ken@kdm.org>
* Add option NETGRAPH_KSOCKET.archie1999-11-161-0/+1
|
* Add option NETGRAPH_KSOCKET.archie1999-11-164-0/+4
|
* Add reference to new netgraph node type "ksocket".archie1999-11-164-5/+8
|
* New Netgraph node type "ksocket".archie1999-11-164-0/+392
| | | | Obtained from: Whistle source tree
* New netgraph node type "ksocket".archie1999-11-162-0/+543
| | | | Obtained from: Whistle source tree
* Typon_hibma1999-11-165-5/+5
|
* Add the USB modules.n_hibma1999-11-161-0/+15
|
* Remove some extraneous ifdefs, and don't try to put the socket inbrian1999-11-161-21/+1
| | | | | O_NONBLOCK. The select() is the best best as I don't want to muck about with the send/receive thresholds.
* Use modfind() to check if a kld is already loaded.brian1999-11-164-24/+14
| | | | Submitted mostly by: green
* modfind(char *) -> modfind(const char *)brian1999-11-161-1/+1
| | | | Ok'd by: dfr
* Introduce commandline caching in the kernel.phk1999-11-1611-3/+171
| | | | | | | | | | | This fixes some nasty procfs problems for SMP, makes ps(1) run much faster, and makes ps(1) even less dependent on /proc which will aid chroot and jails alike. To disable this facility and revert to previous behaviour: sysctl -w kern.ps_arg_cache_limit=0 For full details see the current@FreeBSD.org mail-archives.
* Add Nokia Cellular Data Card DTP2 and DTP-2 ver IIroger1999-11-162-0/+32
|
* Added $FreeBSD$ idents.joe1999-11-163-1/+3
|
* Added $FreeBSD$ tags.joe1999-11-1612-0/+12
|
* Commit the remaining part of PR14914:phk1999-11-168-101/+99
| | | | | | | | | | | Alot of the code in sys/kern directly accesses the *Q_HEAD and *Q_ENTRY structures for list operations. This patch makes all list operations in sys/kern use the queue(3) macros, rather than directly accessing the *Q_{HEAD,ENTRY} structures. Reviewed by: phk Submitted by: Jake Burkholder <jake@checker.org> PR: 14914
* Fix usage of m_pullup().wpaul1999-11-161-1/+1
|
* Mchines whose interrupts are not routed through the ISA pic were stillgallatin1999-11-161-3/+11
| | | | | | | | | | | | | | registering their interrupts with rman as though they were going through the ISA pic. This prevents a conflict between isa & pci for irqs on such machines. Also hookup the chipset struct before calling platform.pci_intr_init(). This allows me to call inw/outw down in the platform code. Add interrupt printfs to match the CIA chipset. Reviewed by: dfr Tested by: wilko
* Fixed to compile bs driver with gcc 2.95.2.nyan1999-11-161-4/+7
|
* Sync with sys/i386/isa/pcaudio.c revision 1.57.nyan1999-11-161-11/+6
|
* Fix breakage in previous commit.marcel1999-11-169-17/+17
|
* Fixed warnings.nyan1999-11-163-6/+7
|
* Remove -mno-486 option and add -mpreferred-stack-boundary=2 option.nyan1999-11-161-1/+1
|
* Fix breakage in previous commit.marcel1999-11-167-19/+19
|
* Fix breakage by previous commit.marcel1999-11-161-1/+1
|
* Fix breage by previous commitmarcel1999-11-161-1/+1
|
* Remove unsupported hardstatus related terminal capabilities for thejkoshy1999-11-161-2/+1
| | | | | | | 'xterm' entry. PR: misc/12209 Submitted by: Christian Weisgerber
* This is a partial commit of the patch from PR 14914:phk1999-11-1615-56/+50
| | | | | | | | | | | | | Alot of the code in sys/kern directly accesses the *Q_HEAD and *Q_ENTRY structures for list operations. This patch makes all list operations in sys/kern use the queue(3) macros, rather than directly accessing the *Q_{HEAD,ENTRY} structures. This batch of changes compile to the same object files. Reviewed by: phk Submitted by: Jake Burkholder <jake@checker.org> PR: 14914
* Add type int to those variables without a type. This is caused by themarcel1999-11-1636-135/+135
| | | | | frequent use of ``register var'' instead of ``register int var'' and the removal of the register hint in the previous commit.
* Sync our register usage with NetBSD's (non-)usage.billf1999-11-16242-2011/+2006
|
* Add $FreeBSD$billf1999-11-16241-0/+416
|
* Curchill --> Churchilljoe1999-11-161-2/+2
| | | | | | | | | | | The submitter also posted a change to 'fortunes.sp.ok', but it looks like this file is no longer needed in our version so I've left the typo in the file. (It also doesn't have a $FreeBSD$ tag, and I couldn't easily find in the code whether it will allow comments within it or not.) PR: 14832 Submitted by: mfisher@parsons.rh.rit.edu
* Cosmetic changes.nyan1999-11-165-9/+48
|
OpenPOWER on IntegriCloud