summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* More cleanups, tweaks and features.peter1999-04-248-219/+86
| | | | | | | | | | - make this work: options FOO123=456 *without quotes* - grumble (but accept) vector xxxintr, and tty/net/bio/cam flags. - complain if a device is specified twice (eg: 2 x psm0) - don't require quotes around: port IO_COM2 - recognize negative numbers. (ie: options CAM_DEBUG_UNIT=-1) - GC some more unused stuff (we don't have composite disks from config(8)). - various other nits (snprintf paranoia etc)
* Add an option to disable responses to SAP_GETNEAREST_SERVER requests.jhay1999-04-244-4/+16
| | | | Submitted by: Boris Popov <bp@butya.kz>
* Remove the registration stuff; we're redoing this and the emailedjkh1999-04-2414-88/+14
| | | | registrations have a high failure rate for various reasons.
* local_cron -> local_periodicghelmer1999-04-231-3/+3
| | | | PR: docs/11253
* Spelling policebrian1999-04-232-4/+4
|
* Typo fix in diagnostic: -alldir --> -alldirsalex1999-04-211-2/+2
| | | | | PR: 11049 Submitted by: Gerhard Gonter <gonter@whisky.wu-wien.ac.at>
* int -> size_tbrian1999-04-211-2/+3
|
* Split the recorded chap challenge into two - one for thebrian1999-04-212-19/+25
| | | | | | | | receiver and one for the sender. This allows two simultaneous chap conversations - something that I *thought* I was already doing on a daily basis myself until the existence of the problem was Beaten into me by: sos
* If ioctl TIOCMGET fails, continue. The device may bebrian1999-04-211-4/+5
| | | | | a pseudo device created by an interactive version of rlogin/telnet/ssh & friends
* Add Id.obrien1999-04-211-0/+2
|
* Add compat3x to the mix.obrien1999-04-214-20/+32
| | | | Reviewed by: jkh
* The Alpha probably wouldn't appreciate getting the pc98 isa portpeter1999-04-191-4/+4
| | | | definitions. Change it from machine != I386 to machine == PC98.
* Slightly reorder the all: to make sure it's before any alternate kernelpeter1999-04-191-6/+6
| | | | names for debugging etc. all: should now always be the first target.
* Correct typo.jkoshy1999-04-191-2/+2
| | | | | PR: docs/11185 Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>
* Use pc98/pc98/pc98.h instead of isa/isareg.h in PC98 kernel.kato1999-04-181-2/+5
| | | | Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
* Further cleanups. i386_ioconf.c and alpha_ioconf.c were essentially thepeter1999-04-189-148/+56
| | | | | same and were merged into a single newbus_ioconf.c. CG'd some more unused code.
* Get out the blow torch and hack away all the unused stuff. Note thatpeter1999-04-1712-1832/+144
| | | | | | I zapped the MACHINE_MIPS stuff, it isn't likely to be useful apart from recognition of the machine name. It would be reasonable to expect new ports would look something like the alpha/i386 from a config perspective.
* Corresponding minimal changes for kernel configuration after new-buspeter1999-04-163-105/+131
| | | | commit.
* Made booting with -a work for all configurations. Previously itbde1999-04-153-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only worked for configurations with "swap on generic". usr.sbin/config/config.y: - ignore all "swap [on] device ...' specifications except for warning about them. They haven't done anything related to swap for almost 4 years, and were previously silently ignored, except for "swap on generic" which stopped swap${KERNEL}.c from being generated. Code to support swapping is now deader than before. usr.sbin/config/mkswapconf.c: - don't generate a dummy setconf() function in swap${KERNEL}.c. sys/i386/conf/files.i386: - swapgeneric.c is now standard. It should be merged into autoconf.c so that it doesn't conflict with swap${KERNEL}.c for kernels named "generic". sys/i386/i386/autoconf.c: - don't call setroot() for mfs roots. Since setroot() doesn't do anything harmful, this was just a waste of time, except possibly for booting with -a it may have helped prevent an undesireable call to setconf() by finding a bogus rootdev. - honor -a for ffs roots. -a now overrides all other ways of specifying the root device. Previously, -r had precedence over -a, and the -a handling was usually a no-op. - don't honor -a for non-ffs roots, since it would currently just get in the way of a clean panic. sys/i386/i386/swapgeneric.c: - don't declare things that are now always declared in swap${KERNEL}.c. Don't decide things that are now decided in autoconf.c. Code to support the "generic" case is now dead instead of useless.
* Close PR #11122: check key length before calling strncmp()wpaul1999-04-141-3/+4
| | | | in yp_next_record().
* Clean up the -g/DEBUG handling. This logic can go in the Makefilepeter1999-04-133-30/+8
| | | | so that config -g can work the same as: makeoptions DEBUG="-g"
* Use u_int32_t for sin_addr.s_addr rather than u_long to avoidsimokawa1999-04-131-4/+4
| | | | unaligned access on alpha.
* Syncing with NetBSD version 1998/12/14n_hibma1999-04-115-16/+20
|
* Fix the "internal" wrapping as well as a nasty bug involvingmarkm1999-04-113-9/+17
| | | | | | | the daemon name vs the path. Also fix some warnings and improve the wrapper section of the man page. Nice debugging work by: Sheldon Hearn
* Revert the ACCMAP changes where we OR the peers accmapbrian1999-04-112-37/+7
| | | | | | | | with our own if there are differing bits (last two revisions of lcp.c). This change broke at least one negotiation session. Instead, we just use an OR of the two accmap values when we're doing the ASYNC framing.
* Back out default debug kernel. The flags revert to historical behaviour.grog1999-04-113-52/+60
| | | | | | | | | | | | | | | Requested-by: ache bde dg Modify targets for debug kernels: when -g was specified, make will now build a debug kernel called kernel.debug, and create a stripped version called kernel at the same time. The two targets install and install.debug are otherwise unchanged. Requested-by: dillon Update man page accordingly.
* Fix description of size, it's in kilobytes, not bytes.chuckr1999-04-101-2/+3
|
* add -s to usageache1999-04-101-2/+2
| | | | | PR: 11056 Submitted by: Nickolay N. Dudorov <nnd@mail.nsk.ru>
* add -s to synopsisache1999-04-101-1/+1
|
* Change LKM/modload to KLD/kldload.ghelmer1999-04-081-4/+4
| | | | Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com>
* Change LKM to KLD.ghelmer1999-04-081-2/+2
| | | | Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com>
* 1. Modify config to issue different code for debugging.grog1999-04-072-4/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2. Config complains if you use -g: Debugging is enabled by default, there is no ned to specify the -g option 3. Config warns you if you don't use -s: Building kernel with full debugging symbols. Do "config -s BSD" for historic partial symbolic support. To install the debugging kernel, do make install.debug (BSD was the name of the config file I used; I print out the same name). 4. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 and config to work if a kernel name other than 'kernel' is specified. This is not absolutely necessary, but useful, and it was relatively easy. I now have a kernel called /crapshit :-) 5. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 "clean" target to remove both the debug and normal kernel. 6. Modify all to install the stripped kernel by default and the debug kernel if you enter "make install.debug". 7. Update version number of Makefiles and config.
* 1. Modify config to issue different code for debugging.grog1999-04-072-6/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2. Config complains if you use -g: Debugging is enabled by default, there is no ned to specify the -g option 3. Config warns you if you don't use -s: Building kernel with full debugging symbols. Do "config -s BSD" for historic partial symbolic support. To install the debugging kernel, do make install.debug (BSD was the name of the config file I used; I print out the same name). 4. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 and config to work if a kernel name other than 'kernel' is specified. This is not absolutely necessary, but useful, and it was relatively easy. I now have a kernel called /crapshit :-) 5. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 "clean" target to remove both the debug and normal kernel. 6. Modify all to install the stripped kernel by default and the debug kernel if you enter "make install.debug". 7. Update version number of Makefiles and config.
* Build memcontrol too.msmith1999-04-071-1/+2
|
* This commit was generated by cvs2svn to compensate for changes in r45410,msmith1999-04-072-0/+329
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Commandline tool for manipulating memory range attributes.msmith1999-04-072-0/+329
| |
* | Don't allow upgrade to touch /usr/src; only evil can result fromjkh1999-04-071-1/+12
| | | | | | | | that kind of overlay smashing.
* | Add driver support for gigabit ethernet adapters based on the Alteonwpaul1999-04-062-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Networks Tigon 1 and Tigon 2 chipsets. There are a _lot_ of OEM'ed gigabit ethernet adapters out there which use the Alteon chipset so this driver covers a fair amount of hardware. I know that it works with the Alteon AceNIC, 3Com 3c985 and Netgear GA620, however it should also work with the DEC/Compaq EtherWORKS 1000, Silicon Graphics Gigabit ethernet board, NEC Gigabit Ethernet board and maybe even the IBM and and Sun boards. The Netgear board is the cheapest (~$350US) but still yields fairly good performance. Support is provided for jumbo frames with all adapters (just set the MTU to something larger than 1500 bytes), as well as hardware multicast filtering and vlan tagging (in conjunction with the vlan support in -current, which I should merge into -stable soon). There are some hooks for checksum offload support, but they're turned off for now since FreeBSD doesn't have an officially sanctioned way to support checksum offloading (yet). I have not added the 'device ti0' entry to GENERIC since the driver with all the firmware compiled in is quite large, and it doesn't really fit into the category of generic hardware.
* | When going from DATALINK_HANGUP directly tobrian1999-04-061-1/+5
| | | | | | | | | | | | DATALINK_OPENING, don't forget to change phase to ESTABLISH if we're currently TERMINATE'ing. Helped locate by: Chuck Robey <chuckr@mat.net>
* | Replace LKM with KLD.ghelmer1999-04-061-5/+5
| | | | | | | | Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com>
* | Add an option for resetting and rescanning the probed device list, perhapsjkh1999-04-066-8/+70
| | | | | | | | | | | | | | | | to now detect that CD you just remembered to put in the drive or that pccard NIC that you've inserted (anybody can put pccardd in an mfsroot image now you know.. :) Requested by: Annelise Anderson <andrsn@andrsn.Stanford.EDU>
* | This is a hack. Cron runs with stdin/out/err pointing to /dev/console,peter1999-04-061-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which init thoughtfully revoke()'s when starting a getty on ttyv0. This Cron's popen() was passing these fd's through to cron children (ie: sendmail, *not* normal cron jobs). The side effects were usually not noticed, but it tripped up postfix which did a sanity check to see that stdin/out/err were open, and got EBADF even thought the fd's were in use. I seem to recall sendmail itself has hacks to work around this problem, it had a checkfd012() function, possibly for this same problem. (Postfix has a workaround too now though..) This is a hack, not a fix. It's probably best to check and perhaps close/reopen() /dev/console if needed each time around the event loop. It would probably be useful to actually see any error messages from cron.
* | When we get an LCP TLU, go into PHASE_AUTHENTICATEbrian1999-04-051-2/+2
| | | | | | | | | | | | from any other phase besides PHASE_NETWORK, otherwise there's a chance that we end up sending auth packets and dropping the replies.
* | Remove forgotten variable.brian1999-04-031-2/+1
| |
* | Handle the detection of frames even if we read thembrian1999-04-035-48/+73
| | | | | | | | | | | | | | | | | | with more than one read(). When we detect one, don't forget to pass it to async_Input() and drop our terminal back into command mode. Don't output an extraneous \r if we're passed \r\n to prompt_vprintf in raw mode.
* | Drop PAP & CHAP packets if we're not in NETWORK or AUTHENTICATEbrian1999-04-012-2/+16
| | | | | | | | phase.
* | Update refs for KLD's and kldload.ghelmer1999-04-011-3/+3
| | | | | | | | Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com>
* | Avoid a few warnings on the alphabrian1999-03-315-6/+10
| |
* | Oops - remove register keywordbrian1999-03-311-2/+2
| |
* | Another alignment bogon.brian1999-03-311-3/+7
| |
OpenPOWER on IntegriCloud