Commit Graph

15773 Commits

Author SHA1 Message Date
peter
85b8c8adb1 Define ETHER_SERVICE, since we have one. ie: use getetherxxx() instead
of parsing /etc/ethers manually. This allows it to read NIS.
1996-08-19 14:23:50 +00:00
peter
11a42ec095 s/ETHER_MIN_LAN/ETHER_MIN_LEN/ 1996-08-19 13:51:30 +00:00
asami
8b32276a75 Added Hidekazu Kuroki <hidekazu@cs.titech.ac.jp> for his myriad of
Japanese ports (you've only seen the tip of an iceberg, in case you
are wondering).
1996-08-19 12:11:35 +00:00
julian
7017ff366e fix handling of external objects referenced by mbufs
somehow this got broken between 4.3 tahoe and here, though I've been using
these fixes for over a year here..
1996-08-19 03:32:10 +00:00
julian
df9def6f62 oops somehow this dissppeared along the way..
now I've started working on this again, I discovered it..
1996-08-19 02:42:40 +00:00
julian
2b6919aaf3 fix a broken atalk stack..
the lat commits (3 weeks ago ) broke this, and I'm only now getting
complaints.. oops!
1996-08-19 02:32:44 +00:00
julian
11de36ed37 add callout lists for exit() and fork()
I've been meaning to do this for AGES as I keep having to patch those routines
whenever I write a proprietary package or similar..

any module that assigns resources to processes needs to know when
these events occur. there are existsing modules that should be modified
to take advantage of these.. e.g. SYSV IPC primatives
presently have #ifdef entries in exit()


this also helps with making LKMs out of such things..

(see the man pages at_exit(9) and at_fork(9))
1996-08-19 02:28:24 +00:00
julian
04e6ea40d2 Add man-pages for at_exit, at_fork and at_shutdown()
so that people can look and comment.
I'll add the at_fork and at_exit immediatly, but I'll
add teh at_shutdown later as it's more extensive
and I desire people's comments..

julian
1996-08-19 02:22:15 +00:00
julian
b2b64697e4 move all functions related to shutting down to one file
called kern_shutdown.c

note: I couldn't see anything machine dependant in the
functions boot() and dumpsys() which were in machdep.c
I have left a prototype for cpu_boot() which would go in
machdep.c, but I have nothing to put in it. Iexpect others will
let me know in no uncertain ways that this or that  is machine dependant
and should be there, but I'll way for that to happen.. :)

I haven't actually taken the functions OUT of machdep
or anywhere else yet.. I'm checking in this file so others can have a look
at it and comment. SO PLEASE DO COMMENT!

I am also (in another checkin) addinf a man(9) page for the new
at_shotdown().. er freudian slip there.. at_shutdown() call
so have a look at that (and at_exit and at_fork as well)
and feed me comments..

I'll heck in the changes to make these (shutdown) changes active tomorrow
if no-one objects too strongly..
1996-08-19 02:19:23 +00:00
peter
12c2419134 Clean up the beforeinstall target a bit more, bde pointed out that the old
one was a mess.  (I was in a 'talk' session at the time, can you tell? :-)
1996-08-19 01:21:46 +00:00
peter
aec9a0c389 oops.. attempted to install header files from wrong directory.. 1996-08-18 23:52:20 +00:00
peter
ea45abeecf insert libipx and libdisk into correct order, add libz 1996-08-18 18:57:00 +00:00
peter
be0c1f6db0 Add a bmakefile for zlib. 1996-08-18 17:59:48 +00:00
peter
0e05ff77eb This commit was generated by cvs2svn to compensate for changes in r17651,
which included commits to RCS files with non-trunk default branches.
1996-08-18 17:54:27 +00:00
peter
70c83c0586 Initial import of zlib-1.0.4 1996-08-18 17:54:27 +00:00
jkh
d1e0e29289 Typo police.
Submitted-By: yoshiaki@kt.rim.or.jp
1996-08-18 17:04:41 +00:00
peter
1c4eb4a8b6 make the declaration of the __error() function C++ safe. Otherwise,
the linker comes up with undefined variables because of the #define errno
when using _THREAD_SAFE.
1996-08-18 16:16:18 +00:00
peter
5de44aa3b7 Add __unused to the list of __dead, __dead2, __pure, __pure2 etc.
gcc-2.7 has __attribute__((unused)) as a postfix operator on function
arguments to prevent -Wunused from complaining about them.  gcc < 2.7
doesn't have anything like this (and doesn't care about it either).

eg:
int foo(bar, baz)
  int bar __unused;	/* needed because of function pointer typing */
  char *baz __unused;
{
  return (1);
}
1996-08-18 16:14:03 +00:00
wosch
25ef40abac new section ``Unix history''
* Saulus, Peter H. _A quarter century of UNIX_.
	* Simon Garfinkel, Daniel Weise, Steven Strassmann.
	  _The UNIX-HATERS Hanbook_.
1996-08-18 12:47:33 +00:00
wosch
378e268928 A pipe function call appeared in Version *3* AT&T UNIX, not
Version 6. Close PR #1490

Obtained from: Peter H. Saulus in `A Quarter Century of UNIX', page 50
1996-08-18 11:28:16 +00:00
wosch
331ef39e8f ``make install'' should not install the symlink /usr/sbin/rmt -> /etc/rmt
Only ``make distribution'' in src/etc/Makefile overrides things in /etc

Pointed out by: joerg
1996-08-18 11:05:08 +00:00
asami
46b8da9bc3 (1) Use INSTALL_PROGRAM where we attempt to pass this command line
to configure.

(2) Gently warn user for non-0022 umasks.

Submitted by:	"David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu> (1)
1996-08-18 10:53:16 +00:00
jhay
d6bf2142a9 Accept odd length ipx packets. (Win95 and some dialup servers use it.)
Original idea submitted by:	Atsushi Murai <amurai@spec.co.jp>
1996-08-18 08:38:15 +00:00
joerg
a49962396a Fix a couple of typos that sneaked in with Poul's ETHER_* mega-commit.
Reviewed by:	phk
1996-08-18 07:58:13 +00:00
wosch
24ff198adf use label "mirrors-ctm" for CTM mirrors. 1996-08-17 23:51:45 +00:00
wosch
fc84e0db6d replace shell comment char `#'' with troff comment command `.\"'' 1996-08-17 23:31:38 +00:00
wosch
dfb9d51f1f make install should not install any file in /etc. 1996-08-17 22:27:08 +00:00
joerg
56678549f3 Do not test_unit_ready() before starting the unit... 1996-08-17 20:50:26 +00:00
peter
d489b09360 Fixes from NetBSD:
- inet_ntoa() returns a pointer to a static buffer, dont use it twice
   in the same printf().
 - prevent the possibility of never timing out
 - Report two more ICMP error types (prohibited nets etc)
And some (commented out) enhancements that I use, but some don't like.
1996-08-17 10:37:28 +00:00
asami
09c95c56c1 (1) Ignore patches directory without a patch with a message instead of
bombing mercilessly.

(2) If that directory has a directory called CVS, remind the user of
    the existence of the "-P" option to cvs co and update.

(3) While I'm here, clean up the PATCH_DEBUG code a bit.  In
    particular, don't duplicate a whole bunch of code just for adding
    a single "echo" statement. ;)

Reviewed by:	the ports list
1996-08-17 10:16:02 +00:00
peter
185f2a7ad3 Put on my flame-proof suit and attempt to make the /etc/motd banner
editor safer.  The old one was too deadly, if the blank line after the
"FreeBSD" version banner was missing, it would delete from the beginning
of the file up until the next blank line, possibly to the end of file.
This was not good.
1996-08-17 07:15:38 +00:00
nate
1644aa3579 kzip's usage() does not show the ``-v'' verbose option
Submitted by:	"David E. O'Brien" <obrien@nuxi.cs.ucdavis.edu>
1996-08-16 15:22:25 +00:00
wosch
4efb65b98d update keymap list 1996-08-16 13:51:55 +00:00
wosch
6aac9eb9ee New options
-K      Run as command kbdmap(1).
    -V      Run as command vidfont(1).
    -p, -print
            Print description  of available keymaps or fonts to
            stdout and exit.

Document that users should not choose MSDOS codepage keymaps or fonts.
1996-08-16 13:26:44 +00:00
ache
fcee422588 Remove -p from SYNOPSIS 1996-08-16 12:34:47 +00:00
ache
4d78965cea Remove -p option from getopt string, all corresponding code
already deleted
1996-08-16 12:12:53 +00:00
peter
339b1b78af restore nsccons variable from rev 1.115 that was deleted in rev 1.136
during phk's staticize/cleanup commits.  pstat needs it, the MAXCONS
option is not visible anywhere else, and pstat uses it to find the bounds
of the sccons[MAXCONS] array, which varies.
1996-08-16 10:16:32 +00:00
peter
78010e9735 rpc.rstatd -> rpc.lockd typo
Noticed by: tholo@sigmasoft.com (Thorsten Lockert)
1996-08-16 09:44:40 +00:00
asami
6b84110021 Add Eric Blood (eblood@cs.unr.edu) for his xautolock port. 1996-08-16 07:56:45 +00:00
jkh
8425e7babb Go back to sigaction again now that Peter has found the problem.
Mine was just a "let's move on" kinda fix, Peter's does it right. :)
Submitted-by: peter
1996-08-16 07:53:29 +00:00
asami
9529829c33 Add David Leonard <d@scry.dstc.edu.au> for his dclock port. Gosh,
this is the third port that I imported today that came from a guy
named David....
1996-08-16 07:43:28 +00:00
mpp
930980c67e Add forward(5) to document the .forward file. 1996-08-16 00:15:17 +00:00
mpp
c6763c769f Convert some formatting escape sequences to use mdoc macros when
possible.  E.g. xrefs are .Xr.  Paths are .Pa, etc...
1996-08-15 23:36:21 +00:00
ache
52d9ff24a9 8bit clean ctype fixes 1996-08-15 22:55:53 +00:00
ache
78da01bc66 Localization fixes 1996-08-15 22:49:46 +00:00
ache
f978cfe81f Localization fixes. 1996-08-15 22:11:36 +00:00
jkh
50dd1004f2 Switch from using sigaction to signal. 1996-08-15 21:13:53 +00:00
mpp
0b26c0eb71 Don't claim to be POSIX compliant, since our alarm function isn't. 1996-08-15 21:12:49 +00:00
jkh
4d444750e2 Make libncurses catch SIGWINCH and update the values for LINES and COLS.
I was perplexed when an example I'd written to show the values for these
variables changing as an xterm window was resized didn't work, and looking
into it I see that size tracking for LINES and COLS seems to be one SVR4
enhancement which didn't come across with libncurses.
1996-08-15 21:06:52 +00:00
mpp
950ac9c810 NCARGS is defined as 65536 in the released system, not 20480. 1996-08-15 21:04:29 +00:00