Commit Graph

277 Commits

Author SHA1 Message Date
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
cgd
76dbc1192b new specfs.h and fifo.h locations 1993-11-12 05:54:12 +00:00
mycroft
f86975f0f0 Clean up deleted files. 1993-11-12 03:44:43 +00:00
glass
af72539915 T_LINEP member of struct tty becomes t_sc. This replaces the
#define t_sc T_LINEP
that appear in tty_tb.c, if_sl.c, and if_ppp.h
1993-11-09 06:22:08 +00:00
cgd
8068dd9add fix from david greenman, davidg@freefall.cdrom.com:
sosend was attempting to reserve space in an mbuf cluster for a datagram
header and because of bugs in the sosend's mbuf allocation algorithm,
sosend was calling uiomove twice as many times as was necessary. It turns
out that PREPEND does the right thing when a cluster is associated with
an mbuf header, so the datagram header allocation can be defered. This
also ends up additionally consuming one less mbuf for the TCP protocol
because TCP always allocates another header mbuf regardless if space is
available to prepend the protocol header. The net result of this fix is
that unix domain and pipe throughput is increased by a measured 10%.
1993-11-05 23:00:27 +00:00
cgd
8900ab37e3 clean up, move some XXX's around, and note that one or two things should be
replaced with timeval{add,sub}, and generally be made more sane.
1993-11-03 09:08:42 +00:00
glass
3e21ea2e33 tablet line discipline compiles and probably works now. 1993-11-02 06:19:24 +00:00
glass
bee2279a89 removed unnecessary #ifdef. config does the right thing. 1993-10-31 19:36:33 +00:00
glass
7a7e6dbd95 removed slip and ppp specific prototypes from tty.h where they didn't belong.
moved them to tty_conf.c within #if Nwhatever > 0 where they do belong.
made sure that if_sl.c, and if_ppp.c still compile quietly.
1993-10-31 19:27:45 +00:00
glass
5e6a2e33c0 fix chris typo. 1993-10-30 16:11:07 +00:00
cgd
b73e5e6647 kill the process 'space' accounting collection for the following reasons:
(1) text calculation incorrect (would 'overbill')
	(2) data calculation incorrect (would 'overbill')
	(3) the maxrss calculation uses stuff which isn't present
		on the sparc.
if 3/4 tests are questionable and/or broken, well...
1993-10-29 19:49:25 +00:00
cgd
06c4106aec limit block sizes requested 1993-10-29 19:25:18 +00:00
cgd
436e431478 BSDI official patch #15:
SUMMARY:
    "panic: vrele: null vp", the problem seems to be that two renames are
    moving the same source, and the second one can't do it.
ALSO:
    in sync, check that rootfs is non-null before using it.
1993-10-27 02:33:40 +00:00
cgd
299ff91b14 BSDI official patch #14:
SUMMARY:
    Here is a patch for a kernel hang that can be provoked with a write
    or send of a negative amount.  The talk program is capable of exercising
    this bug.  This patch also includes a fix for a bug that caused data
    to be delivered to TCP in smaller chunks than desired, and which caused
    TCP to send a short packet when starting up.  Finally, there is a bug
    fix for MSG_PEEK with an oobmark pending.
1993-10-26 22:36:25 +00:00
cgd
889b512ea4 if you try to allocate a buffer larger than MAXBSIZE, panic. 1993-10-26 19:38:55 +00:00
mycroft
118cdf4851 Clean up deleted files. 1993-10-26 13:15:17 +00:00
cgd
13ca4d98c7 it's correct to return EACCES if FS is mounted MNT_NOEXEC. 1993-10-26 01:42:56 +00:00
cgd
c7582cbd4f use copyinstr rather than strcpy to copy in the saved shell-script
name from userland.  From Markus Wild, mw@lamp
1993-10-26 00:32:29 +00:00
cgd
ce7108c729 slightly clean up ws's original patch to this file for the sense
of wait vs. nowait.  this patch from torek.
1993-10-22 02:48:35 +00:00