51 Commits

Author SHA1 Message Date
cgd
b18b69d4a1 getpgrp actually takes void. ask the IEEE... 1993-05-16 01:51:51 +00:00
deraadt
1873f83e92 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
8a8826de10 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
d87832f2c6 fix kernel printf %b format.
from Gordon Burditt <gordon@sneaky.lonestar.org>
1993-05-13 06:17:51 +00:00
deraadt
d78ea50509 ring buffer now uses rbchar's (shorts) instead of chars. 1993-05-10 23:15:37 +00:00
cgd
32d3d71914 add dcfclock support from patchkit patch 113 1993-05-07 07:15:19 +00:00
cgd
3418240196 update for bde's useracc changes. from patchkit patch 137. 1993-05-07 07:06:42 +00:00
cgd
ce6a9ce3f5 fix uname initialization 1993-05-07 04:09:18 +00:00
cgd
94470e0e60 diffs for uname (posix!) system call, provided by John Brezak <brezak@osf.org> 1993-05-06 10:46:12 +00:00
cgd
54884b3a56 oops, forgot a c! 1993-05-04 05:48:17 +00:00
cgd
d7f7dfe281 fix accidental 2dd, and fix comm handling for debug 1993-05-03 02:49:27 +00:00
cgd
71e266dada add starting, elapsed, user, and system times, and clean up a bit 1993-05-02 20:40:31 +00:00
cgd
cd4c643593 add barebones accounting, enabled w/"options ACCOUNTING", via /dev/acct 1993-05-02 09:22:31 +00:00
mycroft
c88efa552a Clean up deleted files. 1993-05-02 09:14:24 +00:00
cgd
4ec028b288 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
c2cddb25c7 JOLITZ MANGLED MY PROFILING PATCH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
get the i386 profiling assembly in the right ifdef...
1993-04-29 05:38:52 +00:00
mycroft
43217d0eee Give processes 0 and 2 more appropriate names (scheduler' and swapper', respectively). 1993-04-28 04:19:25 +00:00
mycroft
ed522e39d7 Add rb_read, to read part of a ring buffer into an ordinary buffer. 1993-04-22 07:49:18 +00:00
mycroft
dac2a8cc99 Don't try to copy in from NULL pointer. 1993-04-19 12:42:39 +00:00
mycroft
1bb0bfbfcd Map QMAGIC execs at correct address. 1993-04-18 07:34:34 +00:00
mycroft
214e9cb81b Allow argument to #!' (i.e. #!/bin/foo -argument'). 1993-04-17 08:07:03 +00:00
mycroft
a0e6f2c7bb Add proper cast. 1993-04-17 01:38:51 +00:00
glass
37307e0b61 i hate NDDB...... 1993-04-15 07:15:25 +00:00
sef
028559fcaf 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
0aef61ea6f 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
3080ca48b8 forgot to update syscalls.master. the makesyscalls.sh generated stuff
is now updated
1993-04-10 20:27:10 +00:00
glass
464468164d fixed '#ifdef NFS' appropriately. 1993-04-10 20:18:57 +00:00
glass
806f3c7244 fixed to be compliant, subservient, and to take advantage of the newly
hacked config(8)
1993-04-10 12:04:35 +00:00
cgd
10f92c217b 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
f11ba7bd38 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
210d7348a0 changed order of copyright/version notice (to match 4.4 boot string)... 1993-04-06 14:23:00 +00:00
glass
e0b24d6c97 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
690272c3aa 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
39589876a6 now uses maxfdescs' to bound openfiles' resource limit. 1993-04-04 04:32:14 +00:00
cgd
2d8ae46ccc got rid of accidental extra newline 1993-04-03 11:19:42 +00:00
cgd
10c041bb55 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
bf6d5bbc6b 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
418f0bc15e 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
f93ed71c3f getdomainname fix. had to declare get/setdomainname() implicitly extern. 1993-04-02 20:38:22 +00:00
cgd
18dbd6b199 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
d98a4aa1c4 added: the entire domainanme set. domainmame(1), domainname(2), and a spiffy
man page.
1993-04-02 12:24:21 +00:00
cgd
0cd80e006f 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
a253da2bdb fixed typo (in a comment) 1993-03-26 23:40:42 +00:00
glass
33af42bc58 removed unnecessary #ifdefing, fixed conf/files appropriately 1993-03-26 22:16:30 +00:00
cgd
d0f5a8b03f changes made by David Greenman's (davidg@implode.rain.com) BPF package. 1993-03-24 23:55:29 +00:00
sef
c82271bc13 Oops. Inserted at the wrong place. 1993-03-24 20:22:51 +00:00
sef
a99d96ece0 Handle one-word cases in word-erase. 1993-03-24 19:41:48 +00:00
cgd
e96522ffb8 modified files to support kernfs and fdesc fs 1993-03-23 23:56:07 +00:00
cgd
e684fadf99 got rid of hightlighted test, and changed copyright/kernel version
string delcarations
1993-03-23 22:16:43 +00:00
cgd
00ecdef12c after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00