Commit Graph

10001 Commits

Author SHA1 Message Date
Mark Murray
26e19bc736 As init/Makefile now 'knows' how to build secure code if necessary, clean
out the .if (<building secure>) / .endif
1995-10-01 15:15:09 +00:00
Joerg Wunsch
6aee553317 Make the mkinit internal command issue an #undef for each #define, to
avoid "duplicate definition" warnings.
1995-10-01 15:13:31 +00:00
Mark Murray
090bf93cd1 Make this make work the same way as passwd and xntpd. Here it will allow
secure/sbin/init to be cleaned out, and sbin/Makefile to be tidied up.
1995-10-01 15:12:47 +00:00
Joerg Wunsch
6d753bdd67 Posixize:
sh  -c [-aCefinuvx] command_string [ command_name [argument ...]  ]        1

 4.56.3  Options

    -c          Read commands from the command_string operand.  Set the
                value of special parameter 0 (see 3.5.2) from the value of
                the command_name operand and the positional parameters
                ($1, $2, etc.) in sequence from the remaining argument
                operands.

Pointed out by: Kaleb Keithly (kaleb@x.org)
1995-10-01 15:11:42 +00:00
Peter Dufault
5dde8b2750 Support the 1542CP by recognizing the new ID. Try to make future
1542 revs work by assuming the next few sequential ID codes are
new Adaptec boards and enabling them after printing a warning.

Conditionalize the informational boot messages with "if (bootverbose)".
1995-10-01 15:09:51 +00:00
Mark Murray
05d2e241d0 Define CRYPTOBJDIR if secure is being built 1995-10-01 15:04:42 +00:00
Mark Murray
6cef1ad675 Define CRYPTOBJDIR if secure is being built 1995-10-01 14:55:06 +00:00
Mark Murray
670e751a63 ed/Makefile is able to 'decide' for itself whether to build secure or
unceumbered ed. Remove the superfluous .if (...) / .endif
1995-10-01 14:24:01 +00:00
Mark Murray
6eb5c24ff8 Use the same make technique as passwd and xntpd for the secure ed(1). This
will allow the secure/bin/ed directory to be cleaned out and the bin/Makefile
to be cleaned up.
1995-10-01 14:17:29 +00:00
David Greenman
7329854ac4 Two critical bugfixes:
1) "obj" was't initialized properly, resulting in an important vm_page_lookup
   always failing (resulting in a panic).
2) busy pages could be put on the cache queue or freed (resulting in a panic).
1995-10-01 05:50:27 +00:00
John Fieber
1a44ab0cf5 Added a very complete new chapter on printing.
This brings the printed handbook to ~275 pages.
Submitted by:	Sean Kelly <kelly@fsl.noaa.gov>
1995-10-01 04:43:15 +00:00
Peter Wemm
373efd489b Catch the case where the children can die too soon causing wait3()
to return ECHILD, which causes the while loop to run forever.
(eg: when accidently running nfsiod on a slow system with a kernel
 without NFS support...)
Obtained from: NetBSD; Frank van den Linden <frank@struis.fwi.uva.nl>
1995-10-01 03:23:13 +00:00
Peter Wemm
b3c66dae6f Cosmetic fix: The usage message was wrong.. One of the commands (mstate)
was listed as taking no args, when in fact it needs a port.
1995-10-01 03:13:33 +00:00
Andrey A. Chernov
f86d82c8e8 Change non-existent /usr/lib/uucp to /usr/libexec/uucp 1995-09-30 17:50:32 +00:00
Andrey A. Chernov
d54d4366c8 Refle 1995-09-30 17:20:27 +00:00
John Fieber
a282510c29 Add sup. 1995-09-30 15:46:54 +00:00
John Fieber
6ad7aac80b Remove /usr/share/FAQ, add /usr/share/examples/sup. 1995-09-30 15:42:49 +00:00
John Fieber
089e6be009 Remove FAQ. 1995-09-30 15:33:08 +00:00
John Fieber
6f2fec346f Move supfile examples from share/FAQ/extras to share/examples/sup 1995-09-30 15:24:57 +00:00
David Greenman
90b8a1a5c7 Make ATAPI support completely optional - if ATAPI isn't defined, the
original code/algorithm is used completely (with one bugfix). This makes
it "safe" to bring these changes into -stable.
1995-09-30 15:19:44 +00:00
Jordan K. Hubbard
5f614f1df9 Bring IDE CDROM support up to latest version (1.8a?) from Serge.
Submitted by:	vak@cronyx.ru
1995-09-30 00:11:19 +00:00
Joerg Wunsch
a67ac8c6f2 Call the -u UCMD command on exit. The command is called with the
current unit number, and the "new" unit number of -1.  This allows the
script to actually deconfigure the SLIP interface (e.g. by running
"ifconfig delete") which has been impossible previously.

This is most likely a candidate for 2.1, too.
1995-09-29 22:03:13 +00:00
Andrey A. Chernov
d6cf037780 Remove duplicated targets which now build from main tree
if available and allowed
1995-09-29 20:23:09 +00:00
Garrett Wollman
489a79ab18 Reword confusing comment.
Requested by: Nate Williams
1995-09-29 20:10:40 +00:00
Andrey A. Chernov
e6af2dc882 Build secure libcrypt if available and allowed 1995-09-29 19:56:05 +00:00
David Greenman
86d61837c8 Latest version from Matt Thomas. This version works with the newer
DC21041 NICs and with ZNYX cards.

Submitted by:	Matt Thomas
1995-09-29 19:52:10 +00:00
Andrey A. Chernov
0bf30bc7b2 Build secure telnet if available and allowed 1995-09-29 19:50:40 +00:00
Andrey A. Chernov
12e35e512e Build secure telnetd if available and allowed 1995-09-29 19:47:51 +00:00
Andrey A. Chernov
153193f392 Build secure libtelnet if available and allowed 1995-09-29 19:45:25 +00:00
Andrey A. Chernov
f73c1ad4e0 Build secure init if available and allowed 1995-09-29 19:35:10 +00:00
Andrey A. Chernov
9c52d82f1e Build secure ed if available and allowed 1995-09-29 19:31:55 +00:00
Bruce Evans
372e515faa This gets() used \r\n, which is doggish. 1995-09-29 18:52:47 +00:00
Bruce Evans
89e45c9b7f Don't use gets().
sys_curses/system.c:
Don't use gets() better.  Neither gets() nor fgets() is appropriate for
discarding a line of input.
1995-09-29 18:44:53 +00:00
Bruce Evans
6ef8b8ca0c Build tools subdir first to reduce bogons caused by inadequate dependency
handling for the tools binaries.  E.g., after libc.a is changed, it
previously took two `make' passes and one `make depend' pass following
one of the `make' passes to bring everything up to date.  Now one `make'
pass followed by one `make depend' pass is sufficient.

Dependency handling seems to be difficult to handle cleanly when
interdependent things are built in different directories.
1995-09-29 18:32:39 +00:00
Jean-Marc Zucconi
f310327a5b Update to the 1995/09/20 version. Previous version was 1993/12/17. 1995-09-28 20:49:15 +00:00
Jean-Marc Zucconi
c28f850118 Makefile: use CFLAGS+= instead of CFLAGS=. Don't use the f2c's malloc.
main.c: reinstitute the -o option to rename C output file.
1995-09-28 20:43:33 +00:00
Jean-Marc Zucconi
5d60853225 Update to the 1995/09/20 version. Previous version was 1993/12/17
The diffs are large mainly because of prototyping changes.
1995-09-28 20:36:16 +00:00
Bruce Evans
7da87484df Fix checks for open() failing. open() may successfully return 0.
ld.c:
Fix a an error message that said that open() failed after fopen() failed.
1995-09-28 19:43:22 +00:00
Bruce Evans
252eedb90d Intitialize $(tmac_s_ and $(tmac_m). Use the initialized variable $(device)
instead of the uninitialized one $(DEVICE).

I hoped these changes would fix some of the large runtime macro processing
bugs, but they seem to only fix some small build-time macro substitution
bugs.  E.g., `man ms' now tells you to invoke groff with the flags `-ms'
instead of the bogus flags `-m'; `man groff now tells you that the default
device is `ps' instead of the bogus device `'.
1995-09-28 19:31:07 +00:00
Bruce Evans
abc260cb3f Fix FAT_CURSOR to give scanlines 0-15 instead of (the current start)-15. 1995-09-28 18:43:40 +00:00
Bruce Evans
8f160768d6 Fix CLEANFILES. Some temporary files were missing. 1995-09-28 18:24:54 +00:00
Bruce Evans
691cda9ce1 Fix SRCS so that `make depend' works. There were some .l's and some .y's.
The filenames in SRCS must have one of the extensions .s, .S, .c, or .cc
if they are to be handled by bsd.dep.mk.  Lex and yacc files must be
converted to C files and kept around for everything to work.  This is
handled fairly automatically if the names of the generated C files are
put in SRCS.  Unfortunately these names must be put in CLEANFILES too.

pcvt Makefiles:
Fix DPADD.  It was missing.

Fix CLEANFILES.  Some temporary files were missing.

Fix CFLAGS.  There were some `-I dir' options.

There must be no whitespace separating -I and -D options from the
corresponding args if these options are to be handled by bsd.dep.mk.
1995-09-28 18:23:44 +00:00
Bruce Evans
2b326c58f6 Install si.4. Only the link to it was (unsuccessfully) installed. 1995-09-28 17:44:40 +00:00
Bruce Evans
9987ab26d8 Fix SRCS (.c's were .o's) so that `make depend' works. 1995-09-28 17:33:16 +00:00
Nate Williams
911dfcda93 Added John Polstra for his work with ld and friends. 1995-09-28 17:01:06 +00:00
Garrett Wollman
04887fe7f0 Correctly determine the local timezone, by looking at the tm_gmtoff result
from localtime() rather than the bogus struct tz filled in by gettimeofday.
1995-09-28 15:28:40 +00:00
Andrey A. Chernov
1012b636c9 Change SUPFILEx order, secure first, ports second to make base system update first
All stuff commented out
1995-09-28 14:59:44 +00:00
Jordan K. Hubbard
88a4ccb902 Doc latest matcd changes.
Submitted by: Frank Durda IV <uhclem%nemesis@fw.ast.com>
1995-09-28 13:16:46 +00:00
Jordan K. Hubbard
0134f4737b o Support for CDIOCPREVENT and CDIOCALLOW ioctls that xcdplayer
were making and were no-brainers.  However, the xcdplayer
    eject button didn't work because xcdplayer gave up and didn't bother
    to try the EJECT ioctl anyway when CDIOCALLOW was not available.
    This all works now.

o   A change so that xcdplayer gets TOC entry data for the lead-out area
    on the disc.  Xcdplayer can now play the last track on a CD, which
    it would not do in earlier versions (but no one reported).
    Cdplayer gets the TOC data differently and it works in old and new
    versions.

o   Eliminated a race condition that caused the driver to sleep forever
    on very slow and heavily loaded systems on rare occasions when
    the system was doing lots of audio-related ioctls to the drive.

o   Fixed a problem where a locked drive could be unlocked by accessing
    one of the non-locking devs.  Door locking now follows the documented
    rules.

o   Made all wait channel strings unique to matcd.

Submitted by: Frank Durda IV <uhclem%nemesis@fw.ast.com>
1995-09-28 13:15:49 +00:00
Nate Williams
6f5457454c Make the error message more readable when 'ld.so' cannot locate a needed
shared library.  Formerly, the message looked like this:

    ld.so: run: libjdp1.so.1.0: Undefined error: 0

The new message looks like this:

    ld.so: run: Can't find shared library "libjdp1.so.1.0"

(Where "run" is the name of the program being executed.)

Submitted by:	jdp@polstra.com (John Polstra)
1995-09-27 23:17:33 +00:00