Commit Graph

9737 Commits

Author SHA1 Message Date
Peter Wemm
7c8e2aa48c Fix security bugs with a "new approach", using stdio's powerful buffer
control hooks.
It is similar to an unrolled multi-part snprintf(), in that a "FILE *" is
attached to a string buffer.  There is also an optimisation for the case
where the syslog format string does not contain %m, which should improve
performance of "informational" logging, like from ftpd.
1995-09-15 13:53:39 +00:00
Andreas Schulz
9af3551d46 Correct the calculation of the unit number. it is not minor(x) & 3. It need
to be shifted >> 3. The last bits are the partition info.
1995-09-15 10:45:42 +00:00
David Greenman
03a9df25d1 Indicate that backlog limit is 32. 1995-09-15 10:02:07 +00:00
David Greenman
0937c08c4e 1) Killed 'BSDVM_COMPAT'.
2) Killed i386pagesperpage as it is not used by anything.
3) Fixed benign miscalculations in pmap_bootstrap().
4) Moved allocation of ISA DMA memory to machdep.c.
5) Removed bogus vm_map_find()'s in pmap_init() - the entire range was
   already allocated kmem_init().
6) Added some comments.

virual_avail is still miscalculated NKPT*NBPG too large, but in order to
fix this properly requires moving the variable initialization into locore.s.
Some other day.
1995-09-15 08:31:19 +00:00
Justin T. Gibbs
aee030f52c Integrate rkinit into the build. 1995-09-15 06:20:48 +00:00
Justin T. Gibbs
dabcad5f04 Integrate rkinitd into the build. 1995-09-15 06:20:38 +00:00
Justin T. Gibbs
1d36423686 Fix this file for the last time. My last diff was screwed up. 1995-09-15 06:20:23 +00:00
Justin T. Gibbs
95081b095a Integrate librkinit into the build. 1995-09-15 06:19:31 +00:00
Justin T. Gibbs
d61b48d4da Header files for the rkinit suite. 1995-09-15 06:19:14 +00:00
Justin T. Gibbs
1a5eab9072 Fix the most blatant -Wall errors. 1995-09-15 06:18:56 +00:00
Justin T. Gibbs
c344ca9395 Server side of the rkinit package.
Obtained from: MIT
1995-09-15 06:13:43 +00:00
Justin T. Gibbs
43dcd8e508 Rkinit allows you to safely forward tickets to other kerberos hosts.
Obtained from: MIT
1995-09-15 06:11:53 +00:00
Justin T. Gibbs
b00d18e592 MIT's librkinit. Part of the rkinit suite. Rkinit allows you to forward
tickets to other kerberos hosts safely in one easy step.
1995-09-15 06:09:30 +00:00
David Greenman
d69caef5ed Killed isa_allocphysmem() and isa_freephysmem(). They are completely used
functions. This file is disgusting; the isa DMA stuff is especially bad and
should be rewritten.
1995-09-15 03:10:06 +00:00
David Greenman
6ce5b54918 1) Don't double map the kernel page tables. The double mapping was never
used and went a long way toward confusing the code.
2) Fix proc0's initial stack to not be 48 bytes smaller than it needs to
   be.
3) Correct comment about 'first' arg to init386().
1995-09-15 02:13:18 +00:00
Andrey A. Chernov
b032e1f962 Enhance sup update to run with 3 supfiles: standard/ports/secure 1995-09-15 01:09:59 +00:00
Andrey A. Chernov
cf9b8ec06b Add -fno-strength-reduce to -O2 optimization, all stuff commented out 1995-09-15 01:05:41 +00:00
Andrey A. Chernov
b81f547e3a Add commented out entries for SUP update, 3 standard supfiles handled:
standard/ports/secure
1995-09-15 01:03:55 +00:00
Andrey A. Chernov
5b649dd041 Add international secure-supfile from Mark
Obtained from: announce@freebsd.org
1995-09-15 01:00:38 +00:00
Andrey A. Chernov
9b6002ae5a If no passwd.bak/group.bak/aliases.bak exists, put warning and make them,
commands failed in old case
Produce diffs on group and aliases too
1995-09-15 00:31:38 +00:00
Andrey A. Chernov
44436d27fe If no $LOG/setuid.today exists (f.e. first time to run), put
warning and make it, all following commands fails in old case
1995-09-15 00:22:31 +00:00
Andrey A. Chernov
44ac4ef672 Make it sgid dialer to read lockfiles 1995-09-15 00:05:07 +00:00
Andrey A. Chernov
da2a7625a4 Add reference to /usr/share/examples/startslip 1995-09-14 23:57:58 +00:00
Andrey A. Chernov
a9b3ffea91 Add startslip example 1995-09-14 23:49:31 +00:00
Stefan Eßer
da42a6e8f3 Add vendor ID of Compaq, now that I found what it is ... 1995-09-14 23:24:29 +00:00
Jordan K. Hubbard
28bd0421f2 Correct a small typo I noticed during my 2.1 merge. 1995-09-14 23:17:13 +00:00
Andrey A. Chernov
a5d5ac84b4 Add example scripts 1995-09-14 22:37:50 +00:00
Andrey A. Chernov
f73f49f214 Make cu/uucico sgid dialer to help to work with others lockfiles,
they can't open root.dialer lockfiles in old variant.
1995-09-14 22:18:39 +00:00
Andrey A. Chernov
cb1efdbadd All changes still related to original version:
Don't close line twice.
Change typo == to = in assignment.
Don't restart, if ioctl fails.
Implement uucp-style locking to help dialout pgms.
1995-09-14 22:01:06 +00:00
John Fieber
7de6adb6fc Update the target release month for 2.1. 1995-09-14 21:57:08 +00:00
Justin T. Gibbs
790136a438 Enable kerberosIV authentication/encryption conditionalized on MAKE_EBONES. 1995-09-14 21:29:21 +00:00
Justin T. Gibbs
9d6965ac06 Enable kerberosIV authentication/encryption conditionalized on MAKE_EBONES.
Fix up some of the des calls to be compatible with eBones.
1995-09-14 21:29:08 +00:00
Justin T. Gibbs
075a578e23 Prototypes for the function in new_rnd_key.c from the mit des library. 1995-09-14 21:12:42 +00:00
Justin T. Gibbs
828e0c47c8 Bring in new_rnd_key.c from the mit des library. This gives folks in the
U.S. the ability to build a secure telnet.  Mark is already working on
emultating these function in the export tree, but it will be a while yet.

Kill MISSING since the missing functions are here now.
1995-09-14 21:12:16 +00:00
Justin T. Gibbs
5601df6e0c Point passwd to the new locations of kpasswd.c and kadm.h. 1995-09-14 21:02:16 +00:00
Justin T. Gibbs
794087e9b8 Bring back the multi-homed server fixes from revision 1.6. They got
klobered when the formating changes were "undone".
1995-09-14 20:58:35 +00:00
Stefan Eßer
d7ea35fc88 Improved verification of configuration space accesses working:
Scan for devices instead of assuming that device 0 is present on bus 0
of every PCI motherboard.
1995-09-14 20:27:31 +00:00
Justin T. Gibbs
a7c8d68774 Forgot to bring this patch over. 1995-09-14 19:52:28 +00:00
Andrey A. Chernov
27861c636f Now understand "host!login:" style prompts additionly.
Add -t to specify login script timeout.
Add -w to specify retry wait time.
Describe -p option.
Now understand several -s sections (for several host phone numbers).
Remove -F sw (software flow control), it is impossible with slip.
Change -F hw (hardware flow control) option to -h as in slattach,
we don't need option with argument for only one case.
Call downscript on SIGTERM.
Improve debug diagnostic.
Allow startslip work with several slip lines without killing each other.
Unlink pid file on exit.
Skip \r and \0 in login script parsing instead making them \n.
Use absolute path to default script (/sbin/ifconfig).
Call up/down script in background to prevent hang on them.
1995-09-14 19:03:20 +00:00
Justin T. Gibbs
a032b44df6 Fix a few problems with the depend target.
Pointed out by: Mark Murray <markm>
1995-09-14 18:16:18 +00:00
Stefan Eßer
f0ce89c63f Improve usage message and document "-u" option to select one of multiple
NCR controller cards.
1995-09-14 18:14:28 +00:00
Stefan Eßer
0d1d9baee5 Remove '#ifdef undef' that was only supposed to be in my local test version. 1995-09-14 17:26:24 +00:00
Garrett Wollman
e1765236c2 Remove bogus (caddr_t) casts from FREE macros; they can obscure serious
bugs that the type-checking would otherwise have found.  (This has no
effect on anything that I noticed in the current system other than finding
the bug in some code that I am writing.)
1995-09-14 16:25:06 +00:00
John Dyson
21bf390418 Fixed a typo in vm_fault_additional_pages. 1995-09-14 13:42:52 +00:00
Stefan Eßer
def1b9aa9a Do not include the verbose boot messages, if PCI_QUIET is defined. 1995-09-14 13:13:33 +00:00
Stefan Eßer
7324a7b336 Minor changes to the PCI probe messages. 1995-09-14 13:09:40 +00:00
Julian Elischer
55b7166d83 Submitted by: bde
prototype file follows the sources..
1995-09-14 06:17:28 +00:00
Justin T. Gibbs
312b98f6bb Give "Index" specified filenames preference over other filenames specified
in the diff.  This makes it so that diffs containing files in different
subdirectories that have the same name not patch the same file.  For example
a diff with patches to Makefile, des/Makefile, usr.bin/Makefile would attempt
to patch Makefile three times.
1995-09-14 04:33:35 +00:00
Justin T. Gibbs
f3ebe76761 Bmake fixes for eBones. 1995-09-14 04:11:21 +00:00
Justin T. Gibbs
8fbd000c5d Don't cast die with (__sighandler_t *) when its passed to signal(). Instead
have die take an int arg that it never uses.
1995-09-14 04:08:58 +00:00