deraadt
ada4945e6b
patches to make kernel malloc() retryable. from <MDICKSON@CSI.compuserve.com>
1993-05-27 14:34:29 +00:00
deraadt
b671aede02
slight functionality change to make the rbpack() and
...
rbunpack() code that I wrote before work cleaner. Many old drivers
call nnn = q_to_b(queue, buf, len), where nnn gets set to len.
for those who are porting:
q_to_b(queue, buf, len) --> rbunpack(queue, buf, len)
b_to_q(buf, queue, len) --> rbpack(buf, queue, len)
ie. they are essentialy drop in replacements now.
1993-05-27 09:29:40 +00:00
deraadt
2f0c0eb674
tty dynamic allocation
1993-05-26 10:06:41 +00:00
cgd
a8a67cbfaf
fix dependencies on M_LAST's old off-by-one error...
...
(arguably, the old error wasn't an error, but, given some
of the old usage of M_LAST and its name, i say it was)
1993-05-25 18:04:17 +00:00
cgd
44dcf397e8
move sipcreg into i386/include/reg.h where it belongs, right next to ipcreg.
1993-05-24 11:37:12 +00:00
cgd
fe1802950b
add include of select.h if necessary for protos, or delete if extraneous
1993-05-22 11:40:42 +00:00
deraadt
6fb28b3c74
more disklabel changes
1993-05-20 23:12:53 +00:00
cgd
4be87870bf
the id strings are now made immutable by rcs.
1993-05-20 16:20:12 +00:00
cgd
9b611f165b
do something better with version strings for created files,
...
also inclusion protect syscall.h
1993-05-20 16:17:38 +00:00
cgd
cdcb81b16e
hack on the uname "machine name" stuff for hopefully the last time.
...
now it uses MACHINE, as defined in param.h
1993-05-20 15:36:20 +00:00
cgd
b95f963973
add rcs ids, and clean up headers where necessary
1993-05-20 03:53:21 +00:00
cgd
48e0fa217b
fix for new syscalls.master versioning
1993-05-20 02:59:55 +00:00
cgd
342129da5d
kill the "chmod 444" of the syscall-dependent files. makes running
...
makesyscalls.sh again somewhat more difficult than necessary, sometimes.
1993-05-20 02:57:57 +00:00
cgd
230dcf0d05
add $Id$ strings, and clean up file headers where necessary
1993-05-20 02:54:09 +00:00
cgd
99a13fab8d
make uname stuff in init_main machine independent
1993-05-20 02:05:39 +00:00
cgd
8d6c77881c
make kernel select interface be one-stop shopping & clean it all up.
1993-05-18 18:18:40 +00:00
cgd
23af7ea092
clean up comment/rcsid...
1993-05-18 15:38:35 +00:00
cgd
f9350c73f0
getpgrp actually takes void. ask the IEEE...
1993-05-16 01:51:51 +00:00
deraadt
5760558f80
various 8-bit patches from Andrew Chernov <ache@astral.msk.su>
...
tty_compat.c is cleaned up, as is STOP+TIOCSTI in tty.c
1993-05-13 20:58:26 +00:00
cgd
37b890c63c
from Luke Mewburn <zak@rmit.edu.au>:
...
add TIOCSTAT ioctl to give load average stats if requested (for tcsh)
1993-05-13 06:42:56 +00:00
cgd
62781e28ba
fix kernel printf %b format.
...
from Gordon Burditt <gordon@sneaky.lonestar.org>
1993-05-13 06:17:51 +00:00
deraadt
64f341ec2a
ring buffer now uses rbchar's (shorts) instead of chars.
1993-05-10 23:15:37 +00:00
cgd
e9be58fa40
add dcfclock support from patchkit patch 113
1993-05-07 07:15:19 +00:00
cgd
e27c0ba7bc
update for bde's useracc changes. from patchkit patch 137.
1993-05-07 07:06:42 +00:00
cgd
7fb852403d
fix uname initialization
1993-05-07 04:09:18 +00:00
cgd
c5d886aff7
diffs for uname (posix!) system call, provided by John Brezak <brezak@osf.org>
1993-05-06 10:46:12 +00:00
cgd
e811352a74
oops, forgot a c!
1993-05-04 05:48:17 +00:00
cgd
501ba00c04
fix accidental 2dd, and fix comm handling for debug
1993-05-03 02:49:27 +00:00
cgd
a70911f1aa
add starting, elapsed, user, and system times, and clean up a bit
1993-05-02 20:40:31 +00:00
cgd
bd05104f48
add barebones accounting, enabled w/"options ACCOUNTING", via /dev/acct
1993-05-02 09:22:31 +00:00
mycroft
58f76c7974
Clean up deleted files.
1993-05-02 09:14:24 +00:00
cgd
a823bc627d
fix other half of the text file busy problem:
...
don't allow user to exec a file if it's open for writing
1993-04-29 10:12:42 +00:00
cgd
c94345dd9a
JOLITZ MANGLED MY PROFILING PATCH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
...
get the i386 profiling assembly in the right ifdef...
1993-04-29 05:38:52 +00:00
mycroft
c6be5fba43
Give processes 0 and 2 more appropriate names (`scheduler' and `swapper', respectively).
1993-04-28 04:19:25 +00:00
mycroft
bd4084637f
Add rb_read, to read part of a ring buffer into an ordinary buffer.
1993-04-22 07:49:18 +00:00
mycroft
e76bede1e3
Don't try to copy in from NULL pointer.
1993-04-19 12:42:39 +00:00
mycroft
24b644ac3d
Map QMAGIC execs at correct address.
1993-04-18 07:34:34 +00:00
mycroft
f7450657ec
Allow argument to `#!' (i.e. `#!/bin/foo -argument').
1993-04-17 08:07:03 +00:00
mycroft
aabb2e137e
Add proper cast.
1993-04-17 01:38:51 +00:00
glass
ed4a9f1a3c
i hate NDDB......
1993-04-15 07:15:25 +00:00
sef
9c736c1dcf
Added QMAGIC, which is a "compact demand load" format: first page is
...
unmapped, and the a.out header is inside the text section.
1993-04-15 05:48:22 +00:00
cgd
a434508e6d
version's not supposed to be printed here; it's supposed to be printed
...
in machdep.c
1993-04-10 20:46:16 +00:00
glass
550b9e0bef
forgot to update syscalls.master. the makesyscalls.sh generated stuff
...
is now updated
1993-04-10 20:27:10 +00:00
glass
ff2c06d490
fixed '#ifdef NFS' appropriately.
1993-04-10 20:18:57 +00:00
glass
034707f9e5
fixed to be compliant, subservient, and to take advantage of the newly
...
hacked config(8)
1993-04-10 12:04:35 +00:00
cgd
5cc382fc66
add support for PCFS, the MSDOS filesystem.
...
written by Paul Popelka (paulp@uts.amdahl.com ) (patch 129)
invoke w/"options PCFS" in kernel config file.
1993-04-09 19:37:49 +00:00
cgd
a128c34f9c
From: Guido van Rooij <guido@gvr.win.tue.nl>
...
when mmapping a file, permissions are checked as it should be. When
mprotect()-ing the address range afterwards, no protection was checked
regarding the protection of the file originally opened. So
when you open /usr/bin/su RDONLY and SHARED you could afterwards change
the mmapped region to READ|WRITE. This gave the possibility to obtain
root privs obviously.
1993-04-09 17:16:30 +00:00
cgd
5b67f9cea5
changed order of copyright/version notice (to match 4.4 boot string)...
1993-04-06 14:23:00 +00:00
glass
8d58080ba3
used by makesyscalls.sh to produce init_sysent.c, syscalls.c ../sys/syscall.h
...
edit this to add/delete/ifdef system calls
1993-04-06 10:39:51 +00:00
glass
2a0fbbf7d6
added 'makesyscalls.sh' from BNR/2. Edit only 'syscalls.master'
...
recreates init_sysent.c syscalls.c ../sys/syscall.h which should
then be checked back in.
1993-04-06 10:37:09 +00:00
cgd
e9e7ae8a6e
now uses `maxfdescs' to bound `openfiles' resource limit.
1993-04-04 04:32:14 +00:00
cgd
95d13869d1
got rid of accidental extra newline
1993-04-03 11:19:42 +00:00
cgd
5d07e08579
added changes from Steven Reiz <sreiz@aie.nl> (based on
...
those by Poul-Henning Kamp <phk@data.fls.dk>) to get the kernel
to compile properly when gcc2.* is cc. (should still work
when gcc1.39 is in use.)
1993-04-03 02:15:18 +00:00
cgd
fafe485efe
change from make tinguely (tinguely@hookie.cs.ndsu.NoDak.edu) to make
...
opening running programs for writing return ETXTBUSY.
1993-04-03 01:56:45 +00:00
cgd
a381c1fd17
now just prints out version. also, got rid of kernel_version,
...
and fixed wfj's trampling on UCB copyright notices.
1993-04-03 01:41:32 +00:00
deraadt
6efd5159e0
getdomainname fix. had to declare get/setdomainname() implicitly extern.
1993-04-02 20:38:22 +00:00
cgd
b02974b037
Jay Fenlason <hack@datacube.com>:
...
1: the fi_readers and fi_writers fields of the fifoinfo structure were not
being initialized to 0. This caused the driver to not sleep the first
process to open the fifo--it thought there was already another process to
talk to (most of the time.)
2: fifo_open() was calling tsleep() without unlocking the inode of the fifo
file. This caused *any* subsequent access to the file (even an ls (!)) to
hang forever. Note that this bug was usually masked by bug #1 above.
1993-04-02 20:19:48 +00:00
deraadt
355265a866
added: the entire domainanme set. domainmame(1), domainname(2), and a spiffy
...
man page.
1993-04-02 12:24:21 +00:00
cgd
942f89c21f
if PANICWAIT defined, will always wait for a key press before reboot
...
after panic. (note that this only makes a difference if DDB is not
installed.)
1993-03-28 08:40:33 +00:00
cgd
edca1943a4
fixed typo (in a comment)
1993-03-26 23:40:42 +00:00
glass
e0cd0652b6
removed unnecessary #ifdefing, fixed conf/files appropriately
1993-03-26 22:16:30 +00:00
cgd
8cfd6d23f2
changes made by David Greenman's (davidg@implode.rain.com) BPF package.
1993-03-24 23:55:29 +00:00
sef
0be333bc99
Oops. Inserted at the wrong place.
1993-03-24 20:22:51 +00:00
sef
e4eea462cf
Handle one-word cases in word-erase.
1993-03-24 19:41:48 +00:00
cgd
93156ce06e
modified files to support kernfs and fdesc fs
1993-03-23 23:56:07 +00:00
cgd
690826b089
got rid of hightlighted test, and changed copyright/kernel version
...
string delcarations
1993-03-23 22:16:43 +00:00
cgd
e541169ce2
after 0.2.2 "stable" patches applied
1993-03-21 18:04:42 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00