Commit Graph

3199 Commits

Author SHA1 Message Date
cgd 1957319559 add "sysarch()", as a fn returning ENOSYS, here, where it belongs 1993-10-13 08:19:03 +00:00
cgd ca99ee2862 md signal context. 1993-10-13 07:58:39 +00:00
cgd 944e753f33 get rid of #ifndef KERNEL around inclusion of cdefs.h 1993-10-13 07:51:09 +00:00
cgd a1c3bf517a use the new location for libkern, auto-depend on it, and include
the right one, for profiling or non-profiling.
1993-10-13 06:43:17 +00:00
mycroft ba01cff101 Check boundary of *c* partition against the DOS partition table, not the *a*
partition, as we might want the latter to not necessarily be at the beginning
of the NetBSD section.
1993-10-13 06:26:14 +00:00
cgd 2fcc3cd764 add a bunch of .NOTMAINs 1993-10-13 06:17:16 +00:00
cgd 15f1203e06 slight cleanup, and ... (gasp) add comments 1993-10-13 05:55:19 +00:00
mycroft a56ad85df4 Clean up deleted files. 1993-10-13 05:42:10 +00:00
cgd 2d4295eb29 move 'boot' and 'libkern' into 'lib'. generally clean up 'kernel library'
building and dependencies.
1993-10-13 05:40:23 +00:00
cgd 2918003a45 make make after depend finally work. have to do more work, but that's
OK...
1993-10-13 05:28:03 +00:00
deraadt 9b8b095ea1 fix typos 1993-10-13 03:27:52 +00:00
deraadt c52686ddb3 from magnum branch: nbqd() was broken 1993-10-13 03:15:57 +00:00
deraadt ecb833f678 initialize d_ttys and d_stop properly 1993-10-13 02:38:16 +00:00
deraadt 2ab4b5e978 fixups for dynamic tty allocation:
cdevsw[]->d_ttys must be initialized
XXstop() functions must be callable from cdevsw[]->d_stop
the console tty is used before vm system is up, and must
allocate it's own clists..
1993-10-13 02:36:39 +00:00
deraadt 4a2a17c2f1 rebuild files from syscalls.master 1993-10-13 02:32:36 +00:00
deraadt bb5626a7c8 Add a stub auditsys() system call that does nothing.
SunOS /sbin/fsck calls it..
1993-10-13 02:31:47 +00:00
cgd 4c3b65bb97 use 'hosttype' rather than 'HOST' 1993-10-13 02:00:30 +00:00
jtc 029a63116f Streamline the char/word/line counting logic in anticipation of multibyte
character support.
1993-10-12 23:32:20 +00:00
jtc a3d7805594 Like cat, set the return-value variable "rval" instead of exiting when
we encounter run-time errors.
Update usage message.
1993-10-12 22:39:43 +00:00
jtc 799c55f316 Moved _POSIX2_VERSION macro from <limits.h>. 1993-10-12 21:58:49 +00:00
jtc 0132d3aed8 POSIX2_VERSION macro is supposed to live in <unistd.h> 1993-10-12 21:56:55 +00:00
jtc c5ff256532 POSIX.2 requires special behavior if the first character of the optstring
argument is a colon.
Updated the manpage to reflect the above change, and expanded the example to
the one used by the POSIX.2 rationale, as it more clearly explains how
the new behavior is to be used.
The manpage should be rewritten --- it is much more confusing than it
should be.
1993-10-12 21:52:45 +00:00
cgd 247aa8acb6 dm should be suid games. note that perms on /usr/games are wrong,
and will be, until we get the mtree setup working (and get rid of
the install -d's for directories...)
1993-10-12 21:23:51 +00:00
glass 428bb7f594 netboot is now in the tree. the argument that finally resulted in it being here
will also keep netboot from compiling until fixes are made.
1993-10-12 06:02:08 +00:00
glass b9e5a43208 sun3 port updated. netboot integrated. 1993-10-12 05:27:46 +00:00
glass 8585a64107 sun3 port updated. netboot integrated. 1993-10-12 05:17:41 +00:00
deraadt 63a052d489 fixed two icky rcs-log's. 1993-10-12 03:48:52 +00:00
deraadt fe806afec2 pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca> 1993-10-12 03:22:19 +00:00
cgd 41ec5a7f5c adding sysarch() man page 1993-10-12 02:16:33 +00:00
pk a451477f66 Removed `ld -r -X' line from the .cc.so and .C.so rule, as ld does
not yet support it.
1993-10-11 21:49:06 +00:00
mycroft 0c4b6b5612 Don't core dump on blank lines. 1993-10-11 20:53:48 +00:00
jtc 91ebf777c7 Moved cuserid() from getlogin.c to its own file, cuserid.c.
getlogin() and cuserid() do very different things, getlogin() is POSIX,
while cuserid() is not (it was removed in the 1990 revision).
1993-10-11 19:45:52 +00:00
jtc a3b3dd2348 Install cbrt link to sqrt manpage. 1993-10-11 19:20:24 +00:00
jtc 11b51f8dcb #include <machine/ansi.h>, declare size_t typedef.
Only include <sys/types.h> if !_POSIX_SOURCE.
1993-10-11 19:08:26 +00:00
jtc 7050b3fd65 declare char *tzname[2]; 1993-10-11 18:45:05 +00:00
jtc 847ee7d5b1 Changed preprocessor conditional so non-standard functions would not be
declared in a _POSIX_SOURCE environment.
1993-10-11 18:43:45 +00:00
jtc 9770032514 Make C++ safe by wrapping in __BEGIN_DECLS, __END_DECLS. 1993-10-11 18:28:04 +00:00
phil b43476d41c Changing a bsd => bsr. 1993-10-11 18:23:17 +00:00
jtc 9064bd694b Move forward declaration of struct rusage into !_POSIX_SOURCE conditional. 1993-10-11 18:18:10 +00:00
jtc 3088508ccf Moved definition of M_FOO constants into !_ANSI_SOURCE && !_POSIX_SOURCE
conditional.
1993-10-11 18:13:24 +00:00
jtc 9a6746f2ce Restore define for L_cuserid and add cuserid prototype.
It was provided, but not documented.
1993-10-11 18:01:45 +00:00
deraadt 13c7bc2156 machdep.c: setregs() adjusts the stack correct and warns about problems
cpu_exec_aout_makecmds() that understands sunos ZMAGIC.
trap.c: just Theo's debugging stuff, delete later.
1993-10-11 10:53:26 +00:00
cgd ed8d9adecd needs libcrypt 1993-10-11 10:52:31 +00:00
deraadt 2521f66843 setregs():
%sp needs to be offset +sizeof(struct rwindow)
	warn if %sp isn't double-word aligned, it MUST be.
1993-10-11 04:26:33 +00:00
deraadt c147fc9845 various: timeout parms typecast properly
net-posted patches from torek
	sys-fbio.h -> machine/fbio.h
1993-10-11 02:49:44 +00:00
deraadt a851f1b5f1 bwtwo.c, cgthree.c: sys-fbio.h -> machine/fbio.h
if_le.c: #ifdef MULTICAST some things, and do arp the old way
1993-10-11 02:45:49 +00:00
deraadt b3147a8677 various changes, suffice to say that 4.4 syscalls do not look like ours 1993-10-11 02:44:06 +00:00
deraadt 2e78184935 cons.c, zs.c: tty->t_stop doesn't exist here. I think it goes through d_stop
automatically now, but have not checked.
	l_ioctl() has no last parameter 'p'
fb.c: move sys/fbio.h to machine/fbio.h
various: typecast parms for timeout() properly
zs.c: extra level of indir in cdevsw[]->d_ttys
1993-10-11 02:36:38 +00:00
deraadt d5b0b3dffa New location for libkern, fixes for many paths.
+ lots of temp changes to be backed out later!
DEBUG=-g always, use gcc, link with libgcc.a, include dirs in
a weird place for my development environment.
1993-10-11 02:33:25 +00:00
deraadt 7ee2311b78 stdarg.h, varargs.h, psl.h, autoconf.h: posted patches from torek
cpu.h: cpu_adjstack() won't work well in the NetBSD execve - need a
	different model, stub enablertclock() for now..
exec.h: a netbsd-type exec.h file (ie. empty)
param.h: add MID_MACHINE
pmap.h: delete kernel_pmap hack - it doesn't work for us, + two proto's
vmparam.h: VM_MIN_ADDRESS = 0!
1993-10-11 02:28:23 +00:00