Commit Graph

23241 Commits

Author SHA1 Message Date
gwr 2ada6af51b Oops, part of that last commit was not meant to go in.
The definitions of va_alist, va_dcl belong elsewhere.
1996-10-27 20:50:00 +00:00
gwr a0d9bd5bb2 The hack-ish tricks to make the ANSI-style va_start macro work in
non-ANSI mode were not quite complete.  This makes non-ANSI work.
Perhaps it would be better to eliminate this hack altogether...
1996-10-27 20:30:52 +00:00
gwr 9b8d79eeed Clarify the purpose of this file (user-level code only). 1996-10-27 19:27:54 +00:00
oki eb605060cc Add options EXEC_SCRIPT and EXEC_AOUT. 1996-10-27 09:14:59 +00:00
oki 2c83ce47ad add options EXEC_SCRIPT and EXEC_AOUT
Sync with ALL, config again.
1996-10-27 09:07:50 +00:00
oki dd2ea83317 add EXEC_SCRIPT and EXEC_AOUT 1996-10-27 08:52:04 +00:00
perry c99082b87b Bump to 1.2B. We really need to centralize this. 1996-10-26 19:03:47 +00:00
is e4d79db27e enable bznsc driver 1996-10-26 17:42:07 +00:00
ragge 85ac030199 Move vax-specific microcode install stuff into etc.vax. 1996-10-26 08:12:09 +00:00
cgd ca80cc0ce0 add -Wcast-qual 1996-10-25 23:47:01 +00:00
perry 31ea8a8bb2 Bump to 1.2B. We really need to centralize this. 1996-10-25 23:28:44 +00:00
cgd ce53653783 make the namei struct members ni_dirp and ni_next, and the componentname
struct member cn_nameptr 'const', since they should never be used to
modify the path name.  (Only the pathname buffer, cn_pnbuf, should be
modified.)  Propagate the const poisoning to code that uses the namei
and componentname structs.
1996-10-25 23:13:58 +00:00
cgd 8800178e5c -Wcast-qual cleanups. Don't discard 'const' when casting. 1996-10-25 22:15:54 +00:00
cgd 9fa0b6391e don't thow away char_type's 'const'ness via a cast when passing it to scanc().
(1) that causes -Wcast-qual to be unhappy, and (2) the cast is unnecessary!
1996-10-25 22:11:39 +00:00
explorer 37449d45b0 Fix the get-a-shell hole, even if we are not currently open to that attack.
(1.2 release is, however, and this should be pulled up and released ASAP)

The previous version (1.11) checked into current limits the duration of
setuid-root periods much more than the 1.2 released version does, so the
attacker DID get a shell, but it was not a root shell.
1996-10-25 22:07:53 +00:00
cgd ca829ca73c don't assign non-const pointers from const pointers; make the appropriate
pointers 'const'.  (-Wcast-qual)
1996-10-25 22:01:44 +00:00
cgd a67c0b16b8 define path name string variables that we should not (and, thankfully, do
not) modify as 'const char *' rather 'char *'.
1996-10-25 21:57:58 +00:00
cgd eaa37ec87a remove bogus cast of second arg to bcmp(). (nm_name is a const char*,
and was being unnecessarily cast to 'char *'; -Wcast-qual.)
1996-10-25 21:52:02 +00:00
cgd 2ab4192195 update alpha_XXX_dmamap() invocations to match prototype. 1996-10-25 21:33:30 +00:00
cgd 614fa7e02e make the first arg of b_to_q (the u_char * that points to data to be
stuffed into the queue) const, since it's not modified.
1996-10-25 21:22:10 +00:00
cgd ef6504281a remove duplicate prototypes from tty_subr.c (ndqb, putc, b_to_q), and
make the first arg of b_to_q (the u_char * that points to data to be
stuffed into the queue) const, since it's not modified.
1996-10-25 21:20:29 +00:00
cgd a5649f782f first arg to alpha_XXX_dmamap is now a vm_offset_t 1996-10-25 20:58:11 +00:00
cgd 22b29b5058 prototype alpha_XXX_dmamap(), the alpha DMA mapping hack. 1996-10-25 20:48:59 +00:00
thorpej e50a1d048c Bump NetBSD version to 1.2B (kernel interface changed) 1996-10-25 20:13:16 +00:00
leo 0cda663b65 Make installboot work for 1.2 & 1.2A (should be part of 1.2 patches). 1996-10-25 20:05:04 +00:00
leo 599db9a26c Nuke declaration of susword(). It's declared in systm.h now. 1996-10-25 20:02:34 +00:00
leo 819ba49d29 Nuke 2 useless instructions that only cause _doboot to panic now that
page zero is *properly* protected.
1996-10-25 20:00:39 +00:00
leo a93d33fb93 db_memrw.c:
- Sync with hp300 version.

Machdep.c:
 - Notify the vm-system that kernel-text is read/execute
 - Notify the vm-system that page zero isn't mapped

[ Grrr.. How do you cancel a check-in when you find out too late they
  should have different comments ]
1996-10-25 19:58:42 +00:00
scottr 25e56cb761 Be explicit about iostat transfer rate by displaying `KBps' instead of
`Kps'.  As per (and noticed by) J.T.
1996-10-25 18:30:52 +00:00
scottr c847b03d13 `Kb' means kilobits, `Mb' means megabits. Since we're talking about bytes,
not bits, use the uppercase `B' when reporting statistics, and be explicit
about it where appropriate.  Noticed by J.T.
1996-10-25 18:21:57 +00:00
thorpej 2ea1f6b673 Add the `toolong' count to the IP stats display. 1996-10-25 07:41:35 +00:00
fvdl f577ebda70 Move 'not finished' printf within AUDIO_DEBUG ifdefs, it should normally
be silent about this and caused confusion with stray interrupts.
1996-10-25 07:25:48 +00:00
thorpej 096b0d6c6e In udp_output(), sanity check the length of the packet to be transmitted.
If it's larger than IP_MAXPACKET, return an error condition.
Based on a patch from Bill Fenner <fenner@parc.xerox.com>
1996-10-25 06:35:16 +00:00
thorpej 59bbc2199e In rip_output(), sanity check the length of the packet to be transmitted.
If it's larger than IP_MAXPACKET, return an error condition.
Based on a patch from Bill Fenner <fenner@parc.xerox.com>
1996-10-25 06:33:36 +00:00
thorpej e55c8a9c7e Before concatenating frags, sanity check the length of the packet. If it's
larger than IP_MAXPACKET, discard it.
Based on a patch from Bill Fenner <fenner@parc.xerox.com>
1996-10-25 06:30:32 +00:00
thorpej 65c188b3c7 Make length and offset fields unsigned. From Kevin M. Lahey <kml@nas.nasa.gov>
Add a counter to IP stats, to count packets which are discarded on the
grounds that they are too large.
1996-10-25 06:24:16 +00:00
thorpej ee34a9ab6d Make length and offset fields unsigned. From Kevin M. Lahey <kml@nas.nasa.gov> 1996-10-25 06:22:24 +00:00
cgd 702e7ec138 make script_kvars an array of unsigned longs, and cast when assigning the
elements, to avoid warnings (with -Wcast-qual) about 'volatile'
qualifiers being discarded.
1996-10-25 00:33:00 +00:00
cgd bba547e063 second and third args to scanc() (string and table) are not and should not
be modified.  Make them 'const'.
1996-10-24 23:50:31 +00:00
cgd a5b6b0d19f pull up from libkern:
>when casting const pointers, preserve const qualifiers. (-Wcast-qual)
1996-10-24 23:47:27 +00:00
cgd 311fcee75f when casting const pointers, preserve const qualifiers. (-Wcast-qual) 1996-10-24 23:45:32 +00:00
jtc ab90fa0e5c POSIX.1 requires that stdio buffers be flushed on abort. 1996-10-24 20:45:55 +00:00
is 6e74f35ac9 First small hack at 68060 support: processor configuration register.
(We don't use the new instructions lpstop and plpa in our kernel, so no hurry.)
1996-10-24 18:30:17 +00:00
is b88543e379 Remove addressing bug in hand-optimized assembly code. 1996-10-24 15:52:08 +00:00
jtc 99db2fd388 fix typo 1996-10-24 13:00:32 +00:00
fvdl 753949629e Make this compile again if PCI_CONF_MODE is defined (unused label). 1996-10-24 12:32:29 +00:00
fvdl 016d7b35dc Make this compile without COMPAT_10 (unused variable). 1996-10-24 12:22:43 +00:00
cgd 574f71ab26 replace a construction in sys_setitimer() that was too tricky for its
(and my!) own good with a more straightforward one that is equally (and
more apparently) correct.
1996-10-24 04:35:33 +00:00
lukem 9ab7d8e652 use unique temporary files for all operations except 'r' and 'R', which still
base temp files on dumpdate. explain why in the man page. fixes [bin/2870]
1996-10-24 04:01:10 +00:00
cgd c35f913835 Fix typo in last commit 1996-10-24 00:12:50 +00:00