julian [Thu, 22 Aug 1996 03:50:33 +0000 (03:50 +0000)]
Some cleanups to the callout lists recently added.
note that at_shutdown has a new parameter to indicate When
during a shutdown the callout should be made. also
add a RB_POWEROFF flag to reboot "howto" parameter..
tells the reboot code in our at_shutdown module to turn off the UPS
and kill the power. bound to be useful eventually on laptops
dyson [Wed, 21 Aug 1996 21:56:23 +0000 (21:56 +0000)]
Even though this looks like it, this is not a complex code change.
The interface into the "VMIO" system has changed to be more consistant
and robust. Essentially, it is now no longer necessary to call vn_open
to get merged VM/Buffer cache operation, and exceptional conditions
such as merged operation of VBLK devices is simpler and more correct.
This code corrects a potentially large set of problems including the
problems with ktrace output and loaded systems, file create/deletes,
etc.
Most of the changes to NFS are cosmetic and name changes, eliminating
a layer of subroutine calls. The direct calls to vput/vrele have
been re-instituted for better cross platform compatibility.
sos [Wed, 21 Aug 1996 21:37:07 +0000 (21:37 +0000)]
Add hooks for an IP NAT module, much like the firewall stuff...
Move the sockopt definitions for the firewall code from
ip_fw.h to in.h where it belongs.
pst [Wed, 21 Aug 1996 20:03:57 +0000 (20:03 +0000)]
Fix bugs in the ISO (Fletcher) checksum, obey the -q flag, misc cleanup of
ISO based code, and document new options (courtesy of libpcap).
Submitted by: Tony Li <tli@jnx.com>
ache [Wed, 21 Aug 1996 17:00:54 +0000 (17:00 +0000)]
Bugfix: all device counts >= 256 was broken, they truncated by % 255
because of u_char count field size. It hits when device
header file already present.
asami [Wed, 21 Aug 1996 07:28:57 +0000 (07:28 +0000)]
Be consistent about the codebase we originated from. Always use
"4.4BSD-Lite" (not "4.4 BSD Lite", "BSD 4.4-lite" or some such), this
is what the CSRG people call their release in the red daemon book (and
most of the handbook had it that way).
jkh [Wed, 21 Aug 1996 01:23:33 +0000 (01:23 +0000)]
Implement a change suggested by Archie Cobbs - the seekto argument should
be zero'd only if the operation *fails*, indicating that the file
starting offset is effectively zero. This makes more sense.
fenner [Tue, 20 Aug 1996 23:50:16 +0000 (23:50 +0000)]
Print out ICMP errors that are responses to our own packets by default.
Turn this behavior off using '-Q'. This makes '-v' useless other than as
an ICMP-sniffer, which tcpdump is better at anyway.
Print out another couple of ICMP messages, and fix the printing of the
original packet (mostly byte order problems).
asami [Tue, 20 Aug 1996 10:00:33 +0000 (10:00 +0000)]
Update explanation of *_DEPENDS, in particular note that bsd.port.mk
can now check existence of files specified by full pathnames, not only
executables.
asami [Tue, 20 Aug 1996 09:51:02 +0000 (09:51 +0000)]
(1) Clarify the use of ${MOTIFLIB} by giving examples on what to
substitute.
(2) Bring the *_DEPENDS section up to the current state. Explain that
the pathname in the "path:dir" pair can be a full pathname if you
want a port to depend on something that isn't executable or an
executable that's not expected to be in the user's search path
(like /usr/local/libexec). Also, change the LIB_DEPENDS example
to use jpeg, tcl-7.3's appropriateness as an example is quite
outdated at this point. ;)
julian [Tue, 20 Aug 1996 08:22:01 +0000 (08:22 +0000)]
Submitted by: John Birrell <cimaxp1!jb@werple.net.au>
Here are the diffs for libc_r to get it one step closer to P1003.1c
These make most of the thread/mutex/condvar structures opaque to the
user. There are three functions which have been renamed with _np
suffixes because they are extensions to P1003.1c (I did them for JAVA,
which needs to suspend/resume threads and also start threads suspended).
I've created a new header (pthread_np.h) for the non-POSIX stuff.
The egrep tags stuff in /usr/src/lib/libc_r/Makefile that I uncommented
doesn't work. I think its best to delete it. I don't think libc_r needs
tags anyway, 'cause most of the source is in libc which does have tags.
also:
Here's the first batch of man pages for the thread functions.
The diff to /usr/src/lib/libc_r/Makefile removes some stuff that was
inherited from /usr/src/lib/libc/Makefile that should only be done with
libc.
also:
I should have sent this diff with the pthread(3) man page.
It allows people to type
make -DWANT_LIBC_R world
to get libc_r built with the rest of the world. I put this in the
pthread(3) man page. The default is still not to build libc_r.
also:
The diff attached adds a pthread(3) man page to /usr/src/share/man/man3.
The idea is that without libc_r installed, this man page will give people
enough info to know that they have to build libc_r.
peter [Tue, 20 Aug 1996 00:31:37 +0000 (00:31 +0000)]
If running under a typical sysv-style curses, including ncurses, use
hline() to draw the window split rather than fudging it with dashes.
This causes the line to be drawn in line-draw characters if the terminal
description has them.
julian [Mon, 19 Aug 1996 20:07:07 +0000 (20:07 +0000)]
Collect all the functioons concerned with rebooting into one place
also add the at_shutdown callout list, and change the one user of
the present (broken) method (the vn driver) to use the new scheme.
peter [Mon, 19 Aug 1996 19:42:00 +0000 (19:42 +0000)]
Update some ancient warts in talk:
- use termios, not sgtty
- dont use _putchar(), that was a BSD-curses specific feature not in
other curses packages (such as ncurses)
- use sigaction, not sigvec while I'm there
- box() does different things under sysv/ncurses on 1-line high windows,
and BSD-curses doesn't have hline(), so do it by adding characters
instead. That works on both styles of curses.
julian [Mon, 19 Aug 1996 19:22:26 +0000 (19:22 +0000)]
for kern_conf.c, start allocating dynamic major numbers
half way through the range rather than possibly colliding with
fixed elements. Increase the size of the arrays to take this into account..
remember that each element in the array is now only 1 ponter so this
isn't that much..
also note a possible bug in debugging code in uipc_socket2.c (add XXX)