Commit Graph

4560 Commits

Author SHA1 Message Date
jtc eaffcffaa5 Comment out single suffix rules (until I can get a debugger that works). 1993-12-30 18:53:02 +00:00
cgd e3fd3a8611 probably incorrect, but i want it to compile *now*.
add <sys/types.h> where necessary.  from brezak.
1993-12-30 13:26:40 +00:00
cgd 1424954c16 print out what we think is the resident set size. very nasty; the field
in the proc's vmspace struct should be updated, but isn't...
Also, if the process is a zombie or infantile, don't print, because
that could cause a null pointer deref.
1993-12-30 12:05:16 +00:00
cgd d31a94286c Undo that last change. It was 100%, beyond a doubt, completely bogus.
afswitch and af_max were still used, but since they was declared 'common'
by virtue of their declaration in af.h, the symbols were defined at link-
time, and their contents were considered BSS -- init to zero.
Now, you and i know that jumping to zero causes a core dump...
Therefore: af.c has been resurrected, so the procedure pointers actually
point to procedures, tables.c has had it's change nuked, and af.h
has been changed so afswitch and af_max are declared as 'extern'.
It's obvious that that 'fix' wasn't even tested.
1993-12-30 10:43:58 +00:00
cgd 340e659405 get rid of *very* bogus addition to CFLAGS 1993-12-30 08:56:03 +00:00
deraadt debf054992 compile genassym -static as suggested by Jim McKim <mckim@lerc.nasa.gov> 1993-12-30 06:56:48 +00:00
deraadt 89ea303b7c fix __asm() clobber list for some instructions. fix from
Lennart Augustsson <augustss@cs.chalmers.se>
1993-12-30 05:16:43 +00:00
deraadt 1a361f13ba "struct ether_addr" is in netinet/if_ether.h (as in SunOS) 1993-12-30 04:21:05 +00:00
deraadt 49c0e9bead "struct ether_addr" for ethers(3) functions. 1993-12-30 04:17:40 +00:00
cgd a9995150b9 vfork() return type pid_t. reported by Peter Galbavy.
Also, whoever did the re-indenting in this file needs to be shot;
things shouldn't be indented by "tab-space"...
1993-12-30 04:11:56 +00:00
davidb c98d8a269a Fixed a bug I introduced in the last update. devices/*/Makefile were
barfing on the definition of libraries due to the added directory level.
Easy fix, as they don't need that code.
1993-12-30 00:10:17 +00:00
jtc 5b6c771aeb Update the list of primaries that are extensions of POSIX.2. 1993-12-29 22:22:44 +00:00
jtc 7c609895ee Changed to conform to POSIX.2, 4.24.4: the first argument that starts with
a -, or is a ! or a (, and all subsequent arguments shall be interpreted
as an expression ...
The behavior before this change can cause a non-option (eg -owner instead
of -user) to be interpreted as a file name.  Depending on the expression
used, this could cause serious damage:

	find . -owner jtc -exec rm \{\} \;

Will delete every file.
1993-12-29 22:00:13 +00:00
jtc da46ebe7eb Fixed documentation for DPADD and LDADD. 1993-12-29 19:30:15 +00:00
jtc 92b7de73a4 Added single suffix implicit rules. Rules for *.c & *.f files are required
by POSIX.2 --- I added the others (*.p, *.l, *.y, etc.) to be consistant
with all the other default rules.
1993-12-29 18:44:36 +00:00
jtc a5313a04b3 #include <stdlib.h> & <string.h> to bring function prototypes into scope. 1993-12-28 19:51:37 +00:00
jtc b64dadb1ac #include <string.h> to bring function prototypes into scope. 1993-12-28 19:45:46 +00:00
jtc 991b130549 #include <ctype.h> to use the isspace() macro. 1993-12-28 19:42:49 +00:00
davidb be82dd30d7 Changed to use make's new .OBJDIR 1993-12-28 12:48:44 +00:00
davidb 27d889178f Changed to use make's new .OBJDIR
Was using ${CURDIR}/obj (no dot)...
1993-12-28 12:06:43 +00:00
davidb 4fa3f35e89 Changed to use make's new .OBJDIR 1993-12-28 12:03:24 +00:00
davidb 3a435f99f9 Changed to use make's new .OBJDIR 1993-12-28 10:59:05 +00:00
deraadt 8b5553a3e7 fix previous security patch 1993-12-25 02:54:36 +00:00
deraadt fa397dcb09 there is no net/slip.h 1993-12-25 02:28:54 +00:00
deraadt 4e573e80c2 patch security hole talked about on comp.security.misc 1993-12-25 02:28:46 +00:00
ws 778a3db3d0 Correct dumping to WD (was destroyed by MACHINE_NONCONTIG code) 1993-12-24 13:56:14 +00:00
deraadt 8c75649495 must pull in machine-cpu.h 1993-12-24 03:20:59 +00:00
jtc 7d2aaa8290 Replace emitl(), a function that converts a struct tm to a time_t, with
a call to C library function mktime(), which does the exact same thing
(using basically the same algorithm too).
1993-12-24 01:16:59 +00:00
deraadt 6e81a663bd OXTABS expansion was putting fewer than the required spaces if the clists
became full. we now retry the tab expansion later.
1993-12-24 01:07:40 +00:00
jtc 3f5672d010 Explicitly declare function return types to silence "gcc -Wall". 1993-12-23 23:14:43 +00:00
jtc 550dfe1aa0 Be a bit paranoid... This will prevent core dumps when a user gives us
complete garbage as input.
1993-12-23 20:13:15 +00:00
cgd 78cc61f8ef fix that last (for now) 1993-12-23 17:40:13 +00:00
cgd 76cce4cfdd fix fdesc_print return type (again) 1993-12-23 17:37:33 +00:00
cgd 11d6f25907 add proto for dupfdopen() 1993-12-23 17:16:00 +00:00
cgd 3434b666b4 type 9 is ISO-9660 1993-12-23 17:05:41 +00:00
cgd ed0c68f4e7 add files eaten by crash 1993-12-23 14:02:03 +00:00
cgd fc5a16e0c4 add file eaten by crash 1993-12-23 14:00:07 +00:00
pk a71feb52bb Remove some debris, causing "multiple defined" messages to be missed. 1993-12-23 09:37:43 +00:00
cgd f59a5e6fcd fix from Nick Cuccia (cuccia@remarque.berkeley.edu), apparently
originating from Gary Grebus <glg@k8lt.ampr.org>: partition size
must be in units of DEV_BSIZE.
1993-12-23 09:35:51 +00:00
cgd 2b82a53661 add '-L' flag, for those of us who are *really* paranoid...
Logs all rsh commands (including failed ones).
1993-12-23 09:05:45 +00:00
cgd a31e66148f isofs_print return type reverts to 'int' 1993-12-23 07:37:42 +00:00
cgd 61bcdb266e include <machine/cpu.h> rather than <machine/mtpr.h> -- if the latter
exists at all, it's supposed to be included by <machine/cpu.h>
1993-12-23 07:36:06 +00:00
cgd b0603af6e5 fix typo pointed out by Rich Murphey 1993-12-23 07:28:41 +00:00
cgd c231ef26cb need sys/types.h, as pointed out by Rich Murphey. also, use 'machine/pio.h' 1993-12-23 07:12:00 +00:00
cgd fe95a848b5 add Id and clean up 1993-12-23 07:04:31 +00:00
cgd d02ac4c31d mfs_print return type back to 'int' 1993-12-23 07:03:11 +00:00
jtc d486fccc08 Add explicit "int" return types to silence gcc -Wall. 1993-12-22 18:59:39 +00:00
jtc 892c4f7549 #include <string.h> to bring prototypes into scope. 1993-12-22 18:52:58 +00:00
cgd d2f69194b2 quick #ifdef hack to get it to compile with charles' dir header changes 1993-12-22 18:24:11 +00:00
cgd 394d0b6f2c NetBSD has now joined the ranks of SYSV systems with the
dirent/direct changes!
1993-12-22 18:15:21 +00:00