Commit Graph

14104 Commits

Author SHA1 Message Date
mycroft
3541700d61 Create and strvis(3) the argument and environment lists only as needed.
Do not keep extra copies around.
1995-05-18 20:33:20 +00:00
mycroft
5ea2d5e6a6 Clean up the FPU state more thoroughly on exec. 1995-05-18 18:59:16 +00:00
mycroft
3cd42e791d Do the right thing for an empty environment. 1995-05-18 15:35:59 +00:00
mycroft
3a23f31a10 Avoid an extra (gratuitous) pass through strvis(3). 1995-05-18 15:27:31 +00:00
mycroft
d70850c69c Gather the argument and environment lists when we actually want to print them. 1995-05-18 14:37:03 +00:00
mycroft
ac582e04f5 Fix one more reallocing bug. 1995-05-18 13:59:25 +00:00
mycroft
70258d9a3a Fix up another pointer if we realloc the argument list. 1995-05-18 12:21:54 +00:00
cgd
e9678161e2 from PR 952, by Thor Lancelot Simon: don't turn off echo when
inputting an S/KEY one-time password.
1995-05-17 20:24:39 +00:00
mycroft
be21323869 Modify getpwent() to use __ypparse(). 1995-05-17 17:36:43 +00:00
mycroft
6ee8835631 Keep argv[0] in a register. 1995-05-17 15:55:26 +00:00
mycroft
6480692679 Print out interrupt CPU time. 1995-05-17 15:51:47 +00:00
mycroft
0181b81de4 Newer version from CSRG. 1995-05-17 15:50:06 +00:00
mycroft
4a07259331 Always turn off ISIG and IEXTEN. 1995-05-17 13:35:50 +00:00
cgd
abdf873225 remove these at paulus's request. There's only one da30 in existence,
and he's planning on taking it out of service.
1995-05-17 08:30:58 +00:00
cgd
3ebc44f6e1 isa softc structs are larger than 'struct device' 1995-05-17 02:07:03 +00:00
briggs
0521ad83a0 Make comment fit reality. 1995-05-17 00:45:55 +00:00
briggs
2b47f281fe Some cleanup. 1995-05-17 00:37:33 +00:00
briggs
94ce6105d2 Add configuration for my gateway machine. 1995-05-17 00:33:59 +00:00
briggs
a43ca9e742 Nuke cpu_exec and remove extra semicolon on cpu_swapout() panic string
(preparing for more changes in a bit...)
1995-05-17 00:30:16 +00:00
briggs
fd807928aa Add a memcpy entry point as at least a temp fix for compiling with a
recent gcc2 snapshot.
1995-05-17 00:28:14 +00:00
christos
56a08eccca Fixed bug where ${#} was interpreted incorrectly as ${#var} and thus
misparsed. Keith Bostic reported it.
1995-05-17 00:05:25 +00:00
briggs
6201783f37 Set A2 to PS_STRINGS in setregs(). 1995-05-17 00:00:42 +00:00
jtc
f90f8d10aa Removing -DKERNEL, transition to _KERNEL has been completed 1995-05-16 22:24:17 +00:00
jtc
c61d94462f Do not emit ti and te sequences. This loses for terminals with termcap
entries that switch to and from an alternate text page.  When viewing a
file with fewer lines than the screen length, more would switch to the
alt screen, display the file, and then switch back.
1995-05-16 22:18:33 +00:00
mycroft
783186a896 Put the address of the ps_strings structure in %g1. 1995-05-16 21:16:37 +00:00
chopps
0282985f87 PS_STRINGS in A2. Add fputype, remove cpuspeed. switch to new coredump 1995-05-16 20:59:07 +00:00
pk
ed9d5444a2 Really test # of status bytes. 1995-05-16 17:02:00 +00:00
mycroft
3ad209c804 Calculate environ directly from argc and argv, rather than searcing down
the argument list.
1995-05-16 16:25:04 +00:00
pk
85dbf66a28 Remove redundant copy of sunos_sigreturn(). 1995-05-16 16:06:48 +00:00
pk
39a8c80c65 Prototype internal function. 1995-05-16 15:28:01 +00:00
mycroft
f178e0996d Sync these. 1995-05-16 14:58:44 +00:00
mycroft
4b15d144ec Put the address of the ps_strings structure in A2. 1995-05-16 14:34:19 +00:00
mycroft
565b3ad195 Put the address of the ps_strings structure in %ebx. 1995-05-16 14:30:47 +00:00
mycroft
470f22b967 Update copyright. 1995-05-16 14:26:15 +00:00
mycroft
5eb65c6b09 Use the new ps_strings format. 1995-05-16 14:23:06 +00:00
mycroft
6506fa2b16 Use the new ps_strings format. Find the arguments using their
addresses in the argv array, rather than guessing based on the location
of NULs.
1995-05-16 14:21:08 +00:00
mycroft
bfd22ffde8 Generate the new ps_strings format. 1995-05-16 14:19:03 +00:00
mycroft
59c1e76057 Change ps_{argv,env}str to char**. 1995-05-16 14:17:34 +00:00
phil
29db7c74b1 Changes from Matthias Pfaller: lpt driver changes, clock code similar
to i386, interrupts from static table to dynamic table, other small
fixes (locore.s byte operates -> double operands ...)
1995-05-16 07:30:30 +00:00
cgd
dd614d8474 parenthesize macro arg usage 1995-05-16 05:26:36 +00:00
ws
de7fa9654c Sort keyword table correctly, so binary search really works 1995-05-15 13:10:10 +00:00
cgd
b5f33fc18e re-add an #endif that was (apprently) clobbered. 1995-05-15 03:29:54 +00:00
christos
fbac2e9de2 Fixed new bug the previous fix introduced:
false
    foo=bar
    echo $?

would print 1
Also fixed the long standing bug:

    false
    echo `echo $?`

would print 0
The exitstatus needs rethinking and rewriting. The trial and error method
is not very efficient
1995-05-15 02:47:38 +00:00
cgd
0bfc08ac63 oops; forgot a '{' 1995-05-15 02:09:58 +00:00
cgd
05af191f3b spacing fixups and KNF. #define ether address size, so it's not
hardcoded as '6' all over.
1995-05-15 01:30:44 +00:00
cgd
cd172a4d08 KNF 1995-05-15 01:25:21 +00:00
cgd
b4cd363b69 simplify ip_output() out-of-memory condition slightly, and style nits. 1995-05-15 01:24:53 +00:00
cgd
e7164bb2fd "routine" precedence has a value of 0. 1995-05-15 01:22:44 +00:00
leo
640101f0f8 - Remove double mapping of kernel stack
- Change to new coredump format
1995-05-14 19:09:10 +00:00
leo
b78d405c36 Don't mess with SCU on the Falcon. 1995-05-14 15:55:51 +00:00