cgd
72db136279
kill bogus include
1994-05-07 04:17:10 +00:00
cgd
7409c5a619
do the syscall shuffle
1994-05-07 01:05:04 +00:00
cgd
a16dcc73f6
signal stack changes; overall upgrade
1994-05-07 01:01:29 +00:00
cgd
0e794e2d48
stub pathconf, kill some spaces
1994-05-07 00:59:59 +00:00
cgd
d159660914
stub fpathconf
1994-05-07 00:58:57 +00:00
cgd
3c56e9ea46
function name changes
1994-05-07 00:57:23 +00:00
cgd
31596c7cad
setrun changes name
1994-05-07 00:56:46 +00:00
cgd
c13c91e483
sysctl kernel prof info
1994-05-07 00:55:46 +00:00
cgd
e15a2ee17e
sysctl update
1994-05-07 00:53:37 +00:00
cgd
ed848af6f7
function name changes
1994-05-07 00:51:06 +00:00
cgd
fb0ef4a4b7
deprecate all of the info getting/setting functions
1994-05-07 00:49:08 +00:00
mycroft
d714600da2
Clean up deleted files.
1994-05-07 00:47:19 +00:00
cgd
ebf440b13b
stub for sysctl
1994-05-07 00:46:28 +00:00
cgd
5a6e2953a0
clock info gathering
1994-05-07 00:42:11 +00:00
cgd
2046e01e40
do the syscall shuffle. this is most of the rest
1994-05-07 00:39:06 +00:00
cgd
d604909779
latent support for general sysctl-ish stuff
1994-05-06 22:42:07 +00:00
mycroft
8f6071b2ce
Put some more code in splstatclock(), just to be safe.
1994-05-06 22:02:25 +00:00
cgd
673fd7c059
a conditional p_regs!
1994-05-05 22:28:44 +00:00
mycroft
426793003e
Remove now-bogus casts.
1994-05-05 09:27:37 +00:00
mycroft
4b2f221eac
Remove now-bogus casts.
1994-05-05 09:15:48 +00:00
mycroft
26ebb5fdde
Now setpri() is really toast.
1994-05-05 09:06:10 +00:00
mycroft
be856288a8
setpri() is toast.
1994-05-05 09:02:30 +00:00
mycroft
a2bf298443
Remove now-bogus casts.
1994-05-05 08:58:07 +00:00
mycroft
5362749c72
Correct spelling error.
1994-05-05 08:50:25 +00:00
mycroft
56c97e52bf
Remove now-bogus cast.
1994-05-05 08:46:53 +00:00
mycroft
62bf6a1578
Remove now-bogus casts.
1994-05-05 08:37:38 +00:00
cgd
a0a7429482
lots of changes: prototype migration, move lots of variables, definitions,
...
and structure elements around. kill some unnecessary type and macro
definitions. standardize clock handling. More changes than you'd want.
1994-05-05 05:35:42 +00:00
mycroft
f8a6ac17b2
More return types...
1994-05-04 11:24:06 +00:00
mycroft
b4719466f8
More return types...
1994-05-04 11:04:58 +00:00
mycroft
7b1bf9c7d2
Add return types where missing. Simplify some of the compat conditionals.
...
Include compat code if COMPAT_SUNOS with or without COMPAT_43.
1994-05-04 10:27:20 +00:00
mycroft
511a02415f
Fix panic when closing a file descriptor on which access rights have been sent
...
but not received.
1994-05-04 09:50:11 +00:00
mycroft
495d3519fa
HPUXCOMPAT -> COMPAT_HPUX
1994-05-04 04:02:54 +00:00
cgd
4bbabd8e7a
Rename a lot of process flags.
1994-05-04 03:41:12 +00:00
cgd
f8dd4f370d
expand the rlimit struct, kill last vestiges of off_t bogosity.
1994-05-04 01:38:25 +00:00
cgd
4d3fb006eb
kill damned off_t weirdness, also upgrade get- and setrlimit.
1994-05-01 05:02:24 +00:00
cgd
e0db92993a
change timeout/untimeout/wakeup/sleep/tsleep args to void *
1994-04-29 23:15:51 +00:00
cgd
531f171602
kill an FDSCRIPTS bug which nobody had found yet.
1994-04-29 08:35:29 +00:00
cgd
f50f031448
kill syscall name aliases. no user-visible changes
1994-04-29 04:41:02 +00:00
cgd
6029e550f1
kill 'aliases'
1994-04-29 04:29:14 +00:00
cgd
009e6dd4e9
rearrange some splfoo
1994-04-28 01:17:00 +00:00
pk
6ce04ec890
Routine to display callout table from DDB.
1994-04-27 10:47:51 +00:00
cgd
ed7e1b86da
clean up a little bit, and minor optimization...
1994-04-26 05:40:35 +00:00
cgd
7f3f130206
minor cleanup
1994-04-25 09:51:56 +00:00
mycroft
f43af3a756
Remove another bit of that.
1994-04-25 08:47:50 +00:00
mycroft
ccb0412b7c
Remove a piece of the previous patch.
1994-04-25 08:41:03 +00:00
mycroft
e4af8f69a5
Minor cleanup.
1994-04-25 08:22:07 +00:00
mycroft
efe5996f50
Set the file type correctly for stat().
1994-04-25 08:09:59 +00:00
mycroft
cd6e6bc193
Remove sbselqueue().
1994-04-25 08:08:56 +00:00
cgd
22aa92e0a9
kill some code that became obsolete when berknet died...
1994-04-25 05:48:41 +00:00
cgd
d071d1cf05
some prototype cleanup, eliminate/replace bogus types (e.g. quad and
...
u_quad) -> use better types (e.g. quad_t & u_quad_t in inodes),
some cleanup.
1994-04-25 03:49:27 +00:00
cgd
b1f4730729
some more queue code (that's #ifdef DEBUG)
1994-04-23 08:41:05 +00:00
cgd
4917d8beec
make fs types consistent over new kernels. also, some proto foo.
1994-04-23 07:54:38 +00:00
pk
dd617665cc
Clear trampoline bits in execsigs().
1994-04-22 22:33:59 +00:00
cgd
3dda0064a5
Convert mount, vnode, and buf structs to use <sys/queue.h>. Also,
...
some knf and structure frobbing to do along with it.
1994-04-21 07:47:31 +00:00
pk
21c5c73db5
I suppose a SIGKILL or SIGTERM should make a process go about its
...
business fast. But the previous situation would allow
"sigblock(sigmask(SIGTERM)); kill(SIGTERM)" to thwart priority policies.
1994-04-19 20:50:30 +00:00
cgd
3fe93ccc24
don't let cons dev vnode get subsumed by a 'real' vnode. the current
...
scheme of vnode aliasing just *has* to go.
1994-04-18 21:03:14 +00:00
cgd
551e92c16a
start to phase out temp. off_t syscalls
1994-04-16 23:19:06 +00:00
cgd
3b4faf4521
slightly loosen lseek restriction
1994-04-16 06:51:58 +00:00
deraadt
0f8b2efbad
the packet header is at the start of the mbuf chain, not the end.
1994-04-14 21:34:17 +00:00
cgd
4be7b669e2
fs types are names now; accompanying changes.
1994-04-14 04:05:28 +00:00
deraadt
c71822f4b8
FIONREAD returns int, not off_t
1994-04-12 19:41:48 +00:00
chopps
b6ad9ec8d5
FIONREAD returns int not off_t. (ssize_t prefered, but standards may
...
dictate otherwise)
1994-04-12 19:18:33 +00:00
mycroft
2566987063
Fix numerous bugs; flags in the wrong places, modes getting clobbered, etc.
1994-04-12 17:18:59 +00:00
cgd
11dad0a608
kill MOUNT_AFS; it's not going into the source tree in the near (long?) term.
1994-04-12 05:03:03 +00:00
mycroft
6076d8a10d
Fix typo.
1994-04-12 02:23:14 +00:00
mycroft
0600b23926
Remove a bogus optimization I did.
1994-04-11 23:43:04 +00:00
cgd
913fdbc06d
slight optimization, kill unnecessary label.
1994-04-11 22:03:17 +00:00
mycroft
3b2b4bc307
Add some comments.
1994-04-11 21:54:29 +00:00
mycroft
bfefadcc74
vcount(): Don't try to vgone() our argument.
1994-04-11 21:37:10 +00:00
cgd
47894a50ac
light clean
1994-04-10 00:16:58 +00:00
deraadt
55dacae6ea
FIONREAD plays with an int, not an off_t.
1994-04-09 22:35:00 +00:00
cgd
b9bf37a91f
if MNT_USER is set, let fs authenticate unmount
1994-04-07 07:20:31 +00:00
cgd
675a199909
SUGID semantics, similar to 4.4BSD
1994-04-07 00:40:14 +00:00
cgd
2396958784
kill two LIBCOMPATs
1994-04-07 00:15:29 +00:00
cgd
ed740c7de8
frob arguments a little bit
1994-04-02 08:39:20 +00:00
cgd
8abbe136e3
some temporary syscall shuffling
1994-04-02 08:03:17 +00:00
cgd
236c2fe9f8
gah. shoot me.
1994-04-02 05:17:04 +00:00
cgd
47610af098
some type-changing, simplification, and re-instate casts for phil.
1994-04-01 09:52:30 +00:00
ws
e9dc62de63
Support BSS in LKMs
...
Don't panic when modunloading an empty slot
1994-03-31 20:31:19 +00:00
cgd
304e374292
expand uid_t/gid_t/off_t
1994-03-27 09:08:02 +00:00
cgd
4a28c23c2f
do the syscall shuffle
1994-03-27 08:34:59 +00:00
glass
ebf601d2d0
bad comment. fix from vdlinden@fwi.uva.nl (Frank van der Linden)
1994-03-19 18:38:33 +00:00
ws
044478d0f7
Ooops. Forgot to move something.
1994-03-18 20:15:39 +00:00
mycroft
8f86452554
Standardize #includes.
1994-03-18 19:08:28 +00:00
mycroft
1dbf6bf32e
Clean up uname(2) code some more.
1994-03-18 18:57:13 +00:00
pk
905558ae87
Sparc support.
1994-03-18 08:35:56 +00:00
cgd
02dd2aa8ab
fix somebody's typo
1994-03-18 04:01:15 +00:00
cgd
fa2051edb1
add hw input flow control support
1994-03-18 03:48:30 +00:00
cgd
7dcd783f0c
as pointed out by Phil: all instances of bcopy used in this file should
...
be 'ovbcopy', because they can (and sometimes do) overlap. arguably should
be rewritten to work differently.
1994-03-14 21:15:07 +00:00
pk
b2d32f38eb
A zero scale factor turns profiling off.
1994-03-11 09:12:22 +00:00
ws
ce516ff13d
Make FFS optional
1994-03-09 21:21:37 +00:00
cgd
535c793257
syscalls.master updated
1994-03-08 23:57:47 +00:00
cgd
ba8c3b1ce4
move LKM syscalls to 210 -> 219, and fix comment
1994-03-08 23:57:00 +00:00
mycroft
676007bcd2
Don't do TIOCHPCL if !COMPAT_43. In the new world, you use termios.
1994-03-05 22:42:54 +00:00
glass
1827fc3820
small improvement in output formatting of scdebug routines
1994-03-01 07:58:28 +00:00
cgd
dc58832610
kill XXX's i marked long ago
1994-02-27 11:53:31 +00:00
deraadt
a247ecab97
whoops, typo
1994-02-24 01:37:18 +00:00
cgd
2ec6ab0aca
hp300||amiga||da30 -> m68k
1994-02-24 01:10:11 +00:00
paulus
570c081077
Add da30 to the conditionals for m68k code.
...
(Maybe this should become #if defined(m68k).)
1994-02-24 01:04:50 +00:00
paulus
8599bd99bc
Parity setting wasn't preserved across TIOCGETP / TIOCSETP if you
...
had CS7, PARENB and IGNPAR set: TIOCGETP gave you ANYP, which
TIOCSETP interpreted as no parity.
1994-02-24 01:03:15 +00:00
chopps
0622d87221
fix incorect check of nprocs vs. maxproc.
1994-02-21 23:10:46 +00:00
mycroft
f663fac02d
Return a legitimate value from ttylclose().
1994-02-20 17:24:19 +00:00
mycroft
6adb7d5015
Don't send SIGINFO if ISIG off.
1994-02-20 16:56:56 +00:00
mycroft
678e80720a
Some formatting changes.
1994-02-20 16:55:10 +00:00
mycroft
75029eb7b4
#include proc.h.
1994-02-17 14:50:38 +00:00
pk
96fc0a6188
Check `uio_resid' separately (and panic if invalid).
1994-02-16 17:34:01 +00:00
pk
c90756358c
read(): return EINVAL if `count' argument is negative.
1994-02-16 17:23:03 +00:00
cgd
a790e23e87
simplify error returns, and fix bugs
1994-02-16 01:21:00 +00:00
mycroft
d78c3ff463
Some cleanup.
1994-02-15 14:17:07 +00:00
mycroft
e69b4e2e08
We don't use Aztec C.
1994-02-15 14:02:59 +00:00
mycroft
83be6ac4f5
Some more cleanup.
1994-02-15 13:35:53 +00:00
cgd
022a8ce9c5
add a proc ptr to the syscall debug info
1994-02-15 06:58:07 +00:00
cgd
95e17fef9f
add scdebug variable, to enable printing, defaulting to on, and change args
1994-02-15 06:52:25 +00:00
cgd
9740a53c8b
add SYSCALL_DEBUG stuff for glass
1994-02-15 06:38:33 +00:00
ws
fbf99acae8
(Hopefully) do the right thing with VTIME > 0 and select
1994-02-14 18:22:39 +00:00
mycroft
f2fe1704b1
Fix typo.
1994-02-13 11:32:46 +00:00
mycroft
3406139426
Format police, the end.
1994-02-13 11:31:16 +00:00
mycroft
22a8203482
Format police, second pass.
1994-02-13 10:20:02 +00:00
mycroft
e3c4154717
Format police, first pass.
1994-02-13 09:57:12 +00:00
mycroft
aa8b8cf7c4
Format police.
1994-02-13 09:36:09 +00:00
mycroft
78bca19b28
KNFify uname code.
1994-02-13 04:18:06 +00:00
cgd
a0bdba3231
always good to think about patches before they're included:
...
NEVER pass a "NULL" proc to an ioctl; you never know when a 'real'
proc will be needed. pass curproc, if you don't have one.
1994-02-13 00:10:47 +00:00
glass
2afef02671
undefined variable fix from Mark_Weaver@brown.edu
1994-02-12 15:52:49 +00:00
mycroft
974e9ba226
Fix typo in last change.
1994-02-12 07:19:11 +00:00
cgd
3a46cb73c6
ditto on the last; weird failure modes are the cause of the day.
1994-02-12 07:02:34 +00:00
cgd
64517d6f7f
don't forget to deallocate vmcmds if exec fails bounds checks.
...
thanks to charles for pointing it out.
1994-02-12 04:13:43 +00:00
cgd
32c2dba8da
Mike Karels' solution to Andrew Herbert <andrew@werple.apana.org.au>'s
...
kern_exit race condition problem. this is a hack:
don't vrele() or vgoneall() if we don't have the vnode
any more. no vgoneall() is necessary, because if the refcnt
is zero, there's nobody to take it away from!
a possible "real" long term solution would be to change the extra ref
into a bit in the vnode's flags, and DTRT in the places where the last
ref is killed. That has some problems, too.
1994-02-11 03:09:17 +00:00
mycroft
f834e39cf5
Don't need back pointers for disksort().
1994-02-10 15:43:20 +00:00
mycroft
bbb3e7618c
All ioctl routines take a struct proc * now.
1994-02-09 21:06:46 +00:00
mycroft
a8aa70d4a5
Remove l_rend and l_meta.
1994-02-09 20:18:17 +00:00
cgd
9ea6d6571f
kill support for 'dcfclk' ; shouldn't pollute tree for things not in NetBSD.
1994-02-07 07:33:49 +00:00
mycroft
57892d4faf
Remove another use of b_actl.
1994-02-06 17:39:48 +00:00
mycroft
adeebc448e
Use b_actf, not av_forw.
1994-02-06 10:00:30 +00:00
cgd
114cf35108
dtrt with exec header size
1994-02-05 02:23:30 +00:00
pk
a2e2253e6c
Remove out-dated comments
1994-02-03 16:17:25 +00:00
deraadt
425f5d3170
more untimouts needed, from someone at freebsd
1994-02-01 15:09:52 +00:00
deraadt
c1d3660b28
pass around a `clockframe *' instead of a `clockframe'
1994-02-01 01:50:38 +00:00
mycroft
1b37a40b3d
Fix that last bug correctly.
1994-02-01 01:04:07 +00:00
pk
92f1bd1c60
Replace a bogus pointer-dereference with something that at least *looks*
...
more sensible.
1994-02-01 00:29:14 +00:00
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