jtc
4048c19048
Define errno.
1993-10-13 23:45:22 +00:00
jtc
af384ef2d9
Remove "errno" definition.
...
Errno should be defined in the c start up code, crt0.c (It is in most
ports) otherwise the sys_errlst table will be linked into binaries
where it is not used.
1993-10-13 23:41:02 +00:00
jtc
aa13ae606a
Change _dorand48 to __dorand48, as _dorand48 is in the user's namespace.
1993-10-13 21:55:04 +00:00
jtc
98ada58186
Split cfree() out of calloc.c.
...
If a user compiling in a strict ANSI or strict POSIX environment uses his
own function named cfree (which is legal, since cfree is not in a restricted
namespace) and calloc, the link will fail due to the cfree in calloc.c.
1993-10-13 21:44:23 +00:00
cgd
aed90a8659
make user define debug variable. get rid of the COMMON_ETHER
...
define; always require a machdep_common_ether routine, which
may do zip if no common enet addr
1993-10-13 21:22:27 +00:00
jtc
e4da5d66a6
Use __dead instead of volatile.
1993-10-13 18:42:31 +00:00
jtc
2ddbb97f0f
#include <unistd.h>, so getopt(), optarg, opterr, optind, and optopt
...
declarations can be removed from <stdlib.h>.
1993-10-13 18:33:45 +00:00
jtc
1b75821c58
Declare getopt(), getsubopt() and their external variables.
...
Still work to be done to handle all the combinations of _POSIX_SOURCE, and
_POSIX2_SOURCE, etc. to allow the user to select a strictly conforming
compilation environment, but this change allows us to transition
getopt() out of <stdlib.h>.
1993-10-13 18:22:06 +00:00
jtc
7ec10e7095
Moved declarations for cfree, setenv, putenv and the rand48 family
...
into !_ANSI_SOURCE && !_POSIX_SOURCE conditional.
Added extern for getopt's optopt variable.
1993-10-13 17:56:09 +00:00
jtc
716e19806c
Document (well, really just mention) external variable optopt.
...
Add trailing semicolons to the extern variables in the SYNOPSIS section
like all of the other manpages with extern variables.
1993-10-13 17:23:39 +00:00
cgd
b6a7521043
separate globals, add the bootinfo.c file to the lib
1993-10-13 16:33:55 +00:00
mycroft
ababab0671
Forgot to initialize `cp' in setsyserr().
1993-10-13 15:49:55 +00:00
cgd
c141ecaada
fix lbl revision number, and update to latest lbl source (fix bug)
1993-10-13 13:55:38 +00:00
cgd
c667517e13
punt on doing minimal work in favor of less output in 'happy' case.
1993-10-13 12:19:37 +00:00
deraadt
8ebe5e2c2c
add ps_usertramp to to struct sigacts.
...
SunOS compatibility; libc sigtramp
1993-10-13 12:10:20 +00:00
cgd
6592c78474
slight cleanup, also, use correct directory...
1993-10-13 11:36:28 +00:00
cgd
0f46396502
define COMMON_ETHERADDR
1993-10-13 11:31:32 +00:00
pk
08ba41f417
Allow for a group name to be specified in the ``user'' field: user[.group]
...
Allow for max # of invocations to be specified; appended to ``wait''
field: wait/nowait[.max]
Allow for RPC specifications in numeric format.
Inetd now stores its pid in `/var/run/inetd.pid'.
Support for AF_UNIX family.
1993-10-13 11:22:48 +00:00
cgd
78c33b3965
add mini standalone libc, to be filled in as necessary.
1993-10-13 11:16:19 +00:00
cgd
ccca0093a2
add mini standalone libc, to be filled in as necessary. strip extra gunk
1993-10-13 10:58:41 +00:00
deraadt
2c5972e86b
de-POSIX'ify sendsig() and sigreturn().
...
Eventually when we get POSIX signals, we will want to back out of this
change.
1993-10-13 10:05:03 +00:00
cgd
6f2e9c9325
fix one warning, and add (very bogus) ptrace_* functions until
...
i (hopefully) get real ones from somewhere
1993-10-13 09:36:43 +00:00
deraadt
d03d6e0acd
move sysarch() to sys_machdep.c
1993-10-13 09:01:07 +00:00
cgd
5387d8cb1b
deal with libkern
1993-10-13 08:29:45 +00:00
cgd
0eabc3bc13
sysarch() belongs in sys_machdep.c
1993-10-13 08:25:57 +00:00
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