Commit Graph

395 Commits

Author SHA1 Message Date
deraadt
fa2aa77517 make panic a varargs function 1994-01-30 13:22:05 +00:00
jtc
5235180083 Fix spelling error in Copyright notice 1994-01-28 23:43:26 +00:00
cgd
55d2821ec0 make sure PT_STEP's are in #ifdefs 1994-01-28 19:06:17 +00:00
deraadt
6aac4eb9f1 undo totally misguided changes from Andrew Chernov in rev. 1.7:
RTS has nothing to do with ttyblock()
also, close a race.
1994-01-28 11:32:43 +00:00
cgd
1b2497a000 if you define PT_[GS]ETFPREGS, then you'd better define struct fpreg, etc. 1994-01-28 06:51:13 +00:00
cgd
4dc27cd628 add new type 1994-01-28 04:55:41 +00:00
cgd
1758eaf2cb kill hack for vfs_bio jolitz-ish hack 1994-01-27 07:45:21 +00:00
cgd
07c0d9025d get rid of jolitz hack, and add panic() where appropriate 1994-01-27 07:39:32 +00:00
cgd
ad869e40c0 kill two patchkit bogons 1994-01-27 03:26:48 +00:00
mw
1a3cc08a27 All hp300 ifdefs apply for amiga too. 1994-01-26 21:58:43 +00:00
mw
9c81b541aa amiga wants RTC started early, too (like i386 and mac) 1994-01-26 21:55:44 +00:00
glass
ff3c7667ae remove warning 1994-01-23 19:11:25 +00:00
deraadt
abf6a6bfdd more COMPAT_SUNOS changes. 1994-01-23 06:06:21 +00:00
deraadt
316b930486 pull in COMPAT_SUNOS stuff from magnum 1994-01-23 05:56:27 +00:00
cgd
aca2b87e68 don't forget to free old pathname buffer 1994-01-22 06:15:54 +00:00
ws
2cee3e073f Make procfs really work for debugging.
Implement not & notepg files in procfs.
1994-01-20 21:22:47 +00:00
cgd
8c996398fc clean up, break script handling out of check_exec(), and comment a bit. 1994-01-16 03:09:59 +00:00
cgd
e11a5f7688 casting for exec_package field changes 1994-01-16 03:08:18 +00:00
cgd
92cb33abed add function for FD handling 1994-01-16 03:07:33 +00:00
deraadt
135ef10a6d prevent an explicit splimp->splnet lowering. (which blows up on
machines with a levelled-spl system that check for lowering)
de-ansify two function definitions.
1994-01-14 22:20:25 +00:00
deraadt
af01174969 `extern int cpu' isn't used at all. 1994-01-14 03:41:49 +00:00
cgd
bc53d82fa7 fix utimes() to deal with NULL timeval ptr 1994-01-13 23:51:43 +00:00
cgd
8ca18c3fa8 use exec_map 1994-01-13 06:23:57 +00:00
cgd
7422e2a40c trim debugging code, for now, and kill dead code (unused options) 1994-01-13 02:33:57 +00:00
cgd
f023b7235d trim extra debugging code, for now 1994-01-13 02:33:28 +00:00
cgd
6c7058a8ea EXEC_DEBUG -> DEBUG, and trim extra debugging code, for now 1994-01-13 02:29:32 +00:00
mycroft
497cad8b12 Remove the evil #ifndef; we no longer need it. 1994-01-11 23:19:00 +00:00
mycroft
4448a68e2c Get rid of disklabel indirection functions. 1994-01-11 16:35:44 +00:00
mycroft
a537084311 Cleanup. 1994-01-10 06:10:30 +00:00
mycroft
27a2653bc6 *Really* fix the wakeup code this time. 1994-01-10 05:58:37 +00:00
mycroft
b58ba6927f Wake up the blasted process when we detach! 1994-01-10 04:20:29 +00:00
cgd
3fbd67b7d3 implement PT_ATTACH and PT_DETACH. 1994-01-09 23:57:15 +00:00
ws
30a6426c82 Fix typo in last 1994-01-09 18:46:17 +00:00
cgd
4c8ff3970f try until error != ENOEXEC, so that formats can report errros reasonably 1994-01-09 17:11:42 +00:00
cgd
b0bc24471f PT_STEP is actually machine dependent. not all machines have it! 1994-01-09 16:52:11 +00:00
ws
528eaca557 Really observe lmc_loadbuf.cnt and
correct argument order on execsw restoration.
1994-01-09 16:47:40 +00:00
briggs
fd601bd3d6 Ugh. Missed the other. mac=>mac68k... 1994-01-09 15:56:22 +00:00
briggs
e53963b58b mac => mac68k 1994-01-09 15:54:20 +00:00
cgd
34ea9285e9 de-macroify kill_vmcmds() 1994-01-08 18:05:29 +00:00
mycroft
ec0fa1f388 Use NULLVP, just for Correctness (tm). 1994-01-08 16:06:04 +00:00
mycroft
c6afda5ec5 Trivial stylistic change for consistency. 1994-01-08 15:24:02 +00:00
cgd
2079970043 SHM_LOCK and SHM_UNLOCK aren't just HPUXCOMPAT 1994-01-08 15:09:01 +00:00
cgd
47529628bb core reorg 1994-01-08 11:18:56 +00:00
cgd
957ce06f24 far reaching but relatively minor cleanup and slight reorg of exec code 1994-01-08 07:14:24 +00:00
mycroft
d3106cb44a Fix some casting. 1994-01-08 05:51:17 +00:00
mycroft
155811b49c #include vm_kern.h. 1994-01-08 05:29:15 +00:00
mycroft
e879c04f57 #include vm_user.h. 1994-01-08 04:22:36 +00:00
mycroft
8955aeedd5 #include vm_user.h. 1994-01-08 04:15:41 +00:00
cgd
b418b2c18f oops; fix that last 1994-01-07 19:26:44 +00:00
cgd
163a1d473e do the *right* thing with resident set size 1994-01-07 19:13:17 +00:00
deraadt
f70a340fd9 cleanup a printf 1994-01-07 18:03:56 +00:00
deraadt
d4e74a7cda really fix the tab code 1994-01-07 17:51:24 +00:00
cgd
582eb13c4a from Mike Karels <karels@bsdi.com>: clear the PENDIN flag if ICANON
is cleared, and retain the PENDIN flag if set when ICANON is set
1994-01-05 16:25:37 +00:00
cgd
a83f6577b0 minor cleanup; extra spaces, patchkit info, etc. 1994-01-05 13:49:52 +00:00
cgd
2c5c3a2774 add support for union and loopback mounts, from jsp 1994-01-04 14:10:48 +00:00
cgd
ba67215d35 generalize dupfdopen() to allow dups and moves. from jsp 1994-01-04 12:26:21 +00:00
cgd
914aac9116 field name change 1994-01-04 11:29:55 +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
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
cgd
42d0ba8c0a move getnewfsid() to where jsp says it belongs. update for header
files; clear new field and delete old vtype name.
1993-12-22 13:51:14 +00:00
cgd
87dfd3227e cast to match header (changed back...) 1993-12-22 13:46:28 +00:00
cgd
146889c8fd add portal and lofs entries 1993-12-22 13:43:18 +00:00
cgd
c3ee44a1b9 various bug fixes from BSDI, via jsp. Kill some iffy fixes
by wfj (and replace them with better ones from BSDI).  add support
for p_vnode, and add proc_reparent() function, from jsp.
1993-12-22 13:42:27 +00:00
cgd
a67d24d94b add support for p_vnode, from jsp 1993-12-22 13:39:27 +00:00
cgd
afce447ada p_spare is in the 'zero range' now 1993-12-21 10:39:17 +00:00
cgd
adbe4b0962 kill two wrong 'case's 1993-12-21 07:19:14 +00:00
cgd
621f7b658f more of the same; gah! 1993-12-21 06:39:12 +00:00
cgd
d797e926cf kill a billism 1993-12-21 06:30:28 +00:00
cgd
a6eecc8e2a load average changes from magnum 1993-12-20 12:42:34 +00:00
cgd
bdabe240d0 replace VREF as appropriate to avoid logical recusion 1993-12-20 10:42:39 +00:00
cgd
842286f9c4 make searching a bit easier 1993-12-20 05:42:37 +00:00
mycroft
7f50bd1829 Canonicalize all #includes. 1993-12-18 04:21:37 +00:00
mycroft
21edb9924e Canonicalize all #includes. 1993-12-18 03:59:02 +00:00
mycroft
b4d3382694 Canonicalize all #includes. 1993-12-17 07:56:32 +00:00
deraadt
493603cecd fix from Daniel Harris <daniel@werple.apana.org.au>
VTIME code must untimeout
1993-12-16 18:09:08 +00:00
pk
e7356e6993 Use proc pointer passed in uio rather then curproc for credentials (should
perhaps be done for b_proc also).
1993-12-16 16:28:43 +00:00
deraadt
252dd4bb0e VMIN/VTIME support from Marc Teitelbaum <marc@vangogh.cs.berkeley.edu> 1993-12-13 14:40:31 +00:00
deraadt
e5fc8b4460 update to new syscalls.master 1993-12-12 19:42:13 +00:00
deraadt
c38503af4d sparc must flush register windows before vm_deallocate or else fireworks
must deallocate shm's
set/reset emulation environment at the right times
keep arg buffer around for later use
canonicalize all #includes.
support STACKGAP for COMPAT_SUNOS code
support OMAGIC/NMAGIC-style memory loading
don't assume VM_MIN_ADDRESS is 0.
(changes come from magnum branch)
1993-12-12 19:38:37 +00:00
deraadt
9dd14b7930 make syscall#0 "syscall", like in 4.4 (causes SYS_syscall to be defined) 1993-12-12 19:28:21 +00:00
deraadt
9e62501f7b support OMAGIC/NMAGIC a.out's
cannonicalize #includes
change VTEXT check
(this stuff comes from the magnum branch)
1993-12-12 19:26:18 +00:00
cgd
94dd8a0dfb dtrt with 'error' in setpriority() 1993-12-10 07:19:16 +00:00
deraadt
3cf1d8505e echo ^V^? correctly as ^?. From Edward Wang <edward@homer.CS.Berkeley.EDU> 1993-12-09 22:58:17 +00:00
pk
9610135cb8 Do the right thing when arguments are NULL.
Don't leave filesystems marked busy after copyout() errors.
1993-12-09 18:00:18 +00:00
pk
644f409712 Properly initialize the credentials fields in the buffer used in physio().
Actually use the credentials of `curproc' when doing IO (among other things,
this allows us to read /dev/drum when swapping on an NFS mounted file).
1993-12-07 23:46:13 +00:00
mycroft
620a222f9f If EXEC_DEBUG, display name of file we're trying to exec. 1993-12-06 14:18:58 +00:00
cgd
86b5a367cf use progname.core for core dump names 1993-12-04 07:11:11 +00:00
cgd
5419d0bd49 initialize uninitialized variable, from Andy Heffernan <ahh@netcom.com>. 1993-12-01 22:05:04 +00:00
pk
392cf19708 return from rmfree() if we loose space with no options left. 1993-11-29 13:21:00 +00:00
deraadt
2a9aacbf1c don't permit TIOCSCTTY on /dev/tty, or kernel recursion happens
from Lars Fredriksen <ludvig!lars@wixer.bga.com>
1993-11-24 03:40:10 +00:00
deraadt
bd783b4d80 initialize pseudo devices with pdevinit[], not with a bunch of
#include/#ifdef pairs..
1993-11-23 07:49:04 +00:00
cgd
facd69a0ee do something better with lookup return values; suggested by BSDI's msdosfs mod 1993-11-20 09:40:32 +00:00
cgd
5838270f1e patch from Ukai Fumitoshi <ukai@kmc.kyoto-u.ac.jp>
to do the right thing with NFS fsid's and getnewfsid()
1993-11-19 02:31:23 +00:00
cgd
dde22728d4 drag changes down from magnum 1993-11-15 10:21:08 +00:00
deraadt
33d816fdbc add a ptyattach() function, as in magnum. 1993-11-15 09:17:05 +00:00
cgd
1259031077 kill bogus test 1993-11-15 07:54:45 +00:00
cgd
4878a43c3d Add the System V message queue and semaphore facilities. Implemented
by Daniel Boulet <danny@BouletFermat.ab.ca>
1993-11-14 13:21:59 +00:00
cgd
02d6aea5bf Add the System V message queue and semaphore facilities. Implemented
by Daniel Boulet <danny@BouletFermat.ab.ca>
1993-11-14 13:08:09 +00:00
cgd
a7c7f39bad fix to keep acctwatch() from being called before the vnode is unlocked.
from Mark Tinguely <tinguely@plains.nodak.edu>.
1993-11-14 06:55:24 +00:00
cgd
c6ff42e027 from Mike Karels, via bsdi-users: nuking session pointer prevents cleanup. 1993-11-12 15:15:57 +00:00