637 Commits

Author SHA1 Message Date
ats
5c36476ca0 Add sgsc to the clean/cleandir targets. 1995-02-21 10:30:41 +00:00
wollman
508504ecff Use POSIX.2 regular expressions, get rid of libcompat. 1995-02-21 04:05:20 +00:00
phk
2ce55aa815 Be more exclusive about cvs-locks. 1995-02-21 02:09:47 +00:00
guido
a5eaebecd0 Implement maxprocperuid and maxfilesperproc. They are tunable
via sysctl(8). The initial value of maxprocperuid is maxproc-1,
that of maxfilesperproc is maxfiles (untill maxfile will disappear)

Now it is at least possible to prohibit one user opening maxfiles

-Guido

Submitted by:
Obtained from:
1995-02-20 19:42:42 +00:00
phk
21582849dd Use absolute path for the "ctm" program. 1995-02-20 19:07:32 +00:00
phk
141f6db26d The new and improved mkCTM. Learning from this experience it has been
improved on a couple of accounts.  Amongst these are "damage control"
more than 100 files removed and it will bail out...
1995-02-20 03:03:02 +00:00
jkh
5f4b7bc92c 1. Get all the nodes in this texinfo document happily pointing in the proper
directions.

2. Drop in a Makefile that properly installs the info files for this.
1995-02-19 09:11:07 +00:00
phk
540b71c23a Some recent small changes. Probably about time I start writing this in C. 1995-02-19 04:51:41 +00:00
bde
476ac66c48 Write setconf() in KNF, in K&R C, and in Standard C.Standard C. 1995-02-18 21:32:19 +00:00
wpaul
09b7a3d45c Do away with 'options SWAP_GENERIC' once and for all: I get ill
just thinking about it.

Two changes need to be made to allow 'config kernel swap generic' to
work properly without requiring any compile-time flags:

/usr/src/usr.sbin/config/mkswapconf.c: we need to define a dummy stub
for the setconf() function to replace the one in swapgeneric.c that
isn't available in non-generic configurations.

/usr/src/sys/i386/i386/autoconf.c: the -a boot flag causes setroot()
to be skipped and lets setconf() prompt the user for a root device.
If you skip setroot() in a non-generic kernel, you could get severely
hosed. To avoid this, we silently ignore the -a flag if rootdev != NODEV.
(rootdev is always initialized to NODEV in swapgeneric.c, so if
we find that rootdev is something other than NODEV, we know we're
not using a generic configuration.)
1995-02-18 18:05:35 +00:00
jkh
6d90dafba0 Remove bogus reference to snp.4. Somebody kinda screwed up their move! :) 1995-02-18 17:10:40 +00:00
ugen
17d7743fc9 Manpage for snoop device itself. 1995-02-17 17:53:52 +00:00
ugen
6ad7ac26ed Add manpage to makefile 1995-02-17 16:41:43 +00:00
ugen
763438f018 Watch fresh-made manpage.. 1995-02-17 16:40:32 +00:00
ugen
d722999cd2 This is watch - programm to work with /dev/snp,
it still lacks manpage-i will commit it today later.
For now to test try: watch [ttyname] :)
1995-02-17 14:36:03 +00:00
jkh
fd8db944d6 Rename TMPDIR to PKG_TMPDIR, just to make Jeff happy.. :-) 1995-02-16 12:43:00 +00:00
jkh
995d7a80c6 Make a link to /etc/rmt when we're installed. 1995-02-16 12:34:35 +00:00
bde
386260138a config.y:
Support slice numbers in device names.  The syntax is `<driver name>
[<unit number>] ['s' <slice number>] [<partition letter>]'.  Only
`['s' <slice number>]' is new here.  The slice number defaults to 0
so that there is no change in the output from config if this new
feature is not used.

Replace some magic disk numbers by `dk' slice and label macros.

mkswapconf.c:
Improve the output formatting:
Generate <> style includes.
Print minor numbers in hex so that slice numbers are easy to see and edit.
Print the rootdev and dumpdev names in comments like the swapdev names.
1995-02-16 12:17:30 +00:00
bde
38bd7314f4 Always return null-terminated identifiers from yylex(). 1995-02-16 11:52:11 +00:00
wpaul
2d9bdef553 ypbind jumbo patch :)
The existing ypbind exhibits some truly anti-social behavior. After
initially establishing a binding with an NIS server, the following events
take place:

- ypbind waits for 60 seconds before trying to broadcast a ping again
- after the 60 seconds expires, ypbind sends out broadcasts every 5 seconds
  come hell or high water.

These broadcasts travel far and wide, even to NIS servers in other domains
which dutifully log the packets even though they don't respond to them.
This leads to lots of unnecessary traffic and bloated log files.

This behavior has been fixed/changed. Here's what happens now:

- We still broadcast every 5 seconds at startup, just like before.

- Once bound, we send out packets once every 60 seconds to the server
  we're bound to AND NO ONE ELSE.

- If we fail to receive a reply from our server within FAIL_THRESHOLD
  seconds, we assume our server has croaked and go back to broadcasting
  everywhere every 5 seconds again until somebody answers. FAIL_THRESHOLD
  is currently set to 20 seconds.

Other fixes/improvements:

- ypbind now logs 'server not responding' and 'server OK' messages where
  appropriate.

Thanks to Thomas Graichen <graichen@omega.physik.fu-berlin.de> for
reporting the problem and guilt-tripping me into fixing it. :)
1995-02-16 01:21:44 +00:00
wollman
b561709c87 Allow the user access to net.inet.igmp, even though there's nothing
sysctl(8) can interpret there.  (Someday there might be.)
1995-02-16 00:28:42 +00:00
ache
2b346ee394 pkg_manage added 1995-02-15 20:52:52 +00:00
ache
3a865efa2b This commit was generated by cvs2svn to compensate for changes in r6462,
which included commits to RCS files with non-trunk default branches.
1995-02-15 20:47:56 +00:00
ache
85e70fdb05 pkg_manage utility, using file selector 1995-02-15 20:47:56 +00:00
phk
c89046c555 Various nitpicking from Stephen.
Reviewed by:	phk
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-02-15 19:41:38 +00:00
ache
fc072de9a3 Add more verbosity for status, if standalone 1995-02-15 17:43:12 +00:00
ache
2cb7ba94ef This commit was generated by cvs2svn to compensate for changes in r6448,
which included commits to RCS files with non-trunk default branches.
1995-02-15 17:33:04 +00:00
ache
48179f425a non-X mixer, useful into rc.local 1995-02-15 17:33:04 +00:00
jkh
865c4a7d98 Make pkg_install use /var/tmp instead of /tmp
Suggested by:	hsu
1995-02-15 03:48:13 +00:00
jkh
783d0964f6 I've found two bugs in manctl(8). There are two spurious ";" after a "then"
in the script. The result is the following :

203 [23:47] root@keltia:/build/cvs-1.4A2# manctl
/usr/sbin/manctl: 165: Syntax error: ";" unexpected

Here is the fix :
Submitted by:	Ollivier Robert <Ollivier.Robert@keltia.frmug.fr.net>
1995-02-15 00:07:59 +00:00
wpaul
0800cc9478 Added three line hack to nfs_ops.c to add support for the 'resvport'
mount option: you need this little bugger in environments with facsist
SunOS NFS servers (like mine :).
1995-02-13 01:56:22 +00:00
jkh
5eb65213a5 Updated this to be more FreeBSD-like; there was a lot of bipartisan cruft
in here that just made it a heck of a lot more confusing to maintain.
Somebody like Joerg can reality-check this at some point, when they have more
time.  For now, it works.
1995-02-12 01:51:34 +00:00
ats
d046e3a758 Fix a little typo. Change the "race record" to a "trace record" :-). 1995-02-10 22:07:42 +00:00
phk
3b11b18c58 Clean up some details, to make it clear to gcc that we do not try to do
something stupid.
1995-02-10 05:25:00 +00:00
wollman
f56d4ade79 mtree * MD5 = better security
Idea from: Dr. John T. Wroclawski
1995-02-10 03:12:42 +00:00
wollman
df7354d684 Implement TCP MIB variables. 1995-02-09 23:16:17 +00:00
bde
2daabec736 Add ctm and sgsc. ctm is has proved useful and sgsc seems to have been
forgotten.
1995-02-09 15:36:08 +00:00
bde
5548cacc82 Restore the field widths that were clobbered by the previous commit so that
the columns in ioconf.c line up if there are no long names.
1995-02-08 18:42:58 +00:00
dima
ae6eee4ee5 Fixed usage() (cosmetic changes. "(string)" looks much better
than "(string" :-)
1995-02-08 01:07:16 +00:00
sos
a22b375b05 Added new choises of cursors. 1995-02-07 11:56:21 +00:00
phk
f1b2dcf633 Stephen lost a -D, now it's back. 1995-02-06 02:22:29 +00:00
phk
58be14ac2d Removed the name length limitations on the device-driver names entirely.
Now device-names can be more than 3 chars.
1995-02-05 21:15:21 +00:00
jkh
839ad52739 PCVT userland utilities.
Submitted by:	hm
1995-02-05 13:49:25 +00:00
jkh
8a338bacd9 This commit was generated by cvs2svn to compensate for changes in r6199,
which included commits to RCS files with non-trunk default branches.
1995-02-05 13:49:25 +00:00
phk
873b076b61 Added final '\n' 1995-02-04 20:02:01 +00:00
phk
47e4dbe85e A couple of sensible changes from down under...
Reviewed by:	phk
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-02-04 19:20:49 +00:00
se
4564ae83e7 Moved "#include <pci/pcivar.h>" from "usr.sbin/lsdev/i386.c"
to "/sys/i386/include/devconf.h", where it really belongs.
1995-02-04 12:47:19 +00:00
bde
79321cab65 Include ncr.c from where it is now. 1995-02-03 20:49:10 +00:00
se
0cdba524c9 Add #include <pci/pcivar.h> for definition of PCI_EXTERNAL_LEN.
Reviewed by:
Submitted by:
Obtained from:
1995-02-03 20:26:50 +00:00
jkh
7b026c1466 Cosmetic fix.
Submitted by:	Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
1995-02-02 03:36:51 +00:00