summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Shuffle source selection menu items to make it a little easier to use.jkh1999-05-012-12/+12
|
* Close PR #10971: flush the database cache after forking in ypproc_all_2_svc()wpaul1999-04-301-0/+8
| | | | so that parent and child don't share DB handles.
* Close PR #10970: exit at the end of ypproc_all_2_svc() instead of returning.wpaul1999-04-301-3/+10
| | | | | | This really fixes the condition where a child creates children of its own. I'm leaving the previous sanity tests in though, since they shouldn't hurt, and will give an indication if this ever happens again.
* Implement fascist mode (do not open a datagram socket at all).des1999-04-302-7/+9
|
* Add some extra checks to make sure that a child ypserv process doesn'twpaul1999-04-293-18/+30
| | | | | | | | | try to fork() a child of its own, which could result in several children ypservs running at once. I'm still not sure exactly what leads to this condition, but these fixes should stop it from causing trouble. A new function, yp_fork() checks to see if the current process is already a child of the parent ypserv, and returns failure (and logs an error message) rather than spawning another child.
* pppd/Makefile:jdp1999-04-291-5/+8
| | | | | | | | | Enable MS-CHAP support. release/Makefile: Build a separate NOCRYPT version of pppd, to keep This Great Nation's top-secret cryptographic tools out of the filthy hands of those evil furriners.
* This Implements the mumbled about "Jail" feature.phk1999-04-284-1/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a seriously beefed up chroot kind of thing. The process is jailed along the same lines as a chroot does it, but with additional tough restrictions imposed on what the superuser can do. For all I know, it is safe to hand over the root bit inside a prison to the customer living in that prison, this is what it was developed for in fact: "real virtual servers". Each prison has an ip number associated with it, which all IP communications will be coerced to use and each prison has its own hostname. Needless to say, you need more RAM this way, but the advantage is that each customer can run their own particular version of apache and not stomp on the toes of their neighbors. It generally does what one would expect, but setting up a jail still takes a little knowledge. A few notes: I have no scripts for setting up a jail, don't ask me for them. The IP number should be an alias on one of the interfaces. mount a /proc in each jail, it will make ps more useable. /proc/<pid>/status tells the hostname of the prison for jailed processes. Quotas are only sensible if you have a mountpoint per prison. There are no privisions for stopping resource-hogging. Some "#ifdef INET" and similar may be missing (send patches!) If somebody wants to take it from here and develop it into more of a "virtual machine" they should be most welcome! Tools, comments, patches & documentation most welcome. Have fun... Sponsored by: http://www.rndassociates.com/ Run for almost a year by: http://www.servetheweb.com/
* Deal with new loader syntax in determining how/when to load a userconfigjkh1999-04-282-32/+14
| | | | | | | | script. Submitted by: "Daniel C. Sobral" <dcs@newsguy.com> Avoided by: jkh Demanded by: The Users
* \begin{bdemode}obrien1999-04-281-2/+2
| | | | | sort tcpd* entries \end{bdemode}
* Write config files to /usr/share/skel as well as root's profile.jkh1999-04-282-22/+34
|
* Do the right thing for windowmaker installation if it's picked. Add somejkh1999-04-282-14/+34
| | | | seat belts for failed desktop installations.
* o Make package matching for specific package loading use the Latest/jkh1999-04-2712-61/+216
| | | | | | | | feature of packages now so that no version info is embedded. o Add a default X desktop menu offering afterstep, enlightenment, KDE, GNOME and Windowmaker desktops instead of the boring twm(1) based one if the user so chooses. This will require a little testing.
* lpd tries to be clever and checks if RM == my_hostname.jkh1999-04-273-3/+25
| | | | | | | | | However, it doesn't check if the remote printer name it is sending it to is the same as the local printer name, and so chokes 'cos "laser" is not a real printer. PR: 7081 Submitted by: David Malone <dwmalone@maths.tcd.ie>
* If pkg_info is run with no args, default to "-aI".jkh1999-04-271-2/+7
|
* Make options like NO_F00F_HACK work (with context sensitive lexical rules).luoqi1999-04-272-30/+45
|
* Change ``set device'' so that it parses its arguments as onebrian1999-04-275-62/+91
| | | | | | | | | | device per argument rather than the old way of concatenating everything then splitting the result at commas and whitespace. Old syntax of ``set device /dev/cuaa0, /dev/cuaa1'' may no longer contain the comma, but syntax such as ``set device "!ssh host ppp -direct label"'' is now possible.
* Add support for NetBSDbrian1999-04-269-33/+57
|
* #include <errno.h>, not <sys/errno.h>brian1999-04-265-12/+12
|
* Add support for NetBSD (history() from libedit is different).brian1999-04-261-2/+9
|
* Bump configvers; when the updates to generic/lint get committed, the oldpeter1999-04-241-2/+2
| | | | config has severe indigestion.
* 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>
OpenPOWER on IntegriCloud