jtc
2fce159ff8
Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
...
traditional usage.
1996-01-04 22:21:33 +00:00
thorpej
17eb6e2bc1
Move the old-style disk instrumentation "structures" to a central location
...
(sys/kern/subr_disk.c) and note that they should/will be deperecated.
1995-12-28 19:16:31 +00:00
mycroft
f597a53319
Remove the process from zombproc and its parent's child list before freeing
...
its resources.
1995-12-24 11:23:33 +00:00
mycroft
f183fc14f7
If __FORK_BRAINDAMAGE, continue stuffing retval[1] for the benefit of main().
1995-12-10 08:26:02 +00:00
cgd
6652367efa
(1) undef various EXEC_ cpp symbols before defining them, in case
...
they're already defined for some reason (this can happen
on the alpha, for example, which needs to define EXEC_ECOFF
in the std.alpha config file).
(2) minor spacing consistency.
1995-12-09 05:34:47 +00:00
mycroft
af942a9add
Only expect vm_fork() to return if __FORK_BRAINDAMAGE is defined.
...
Use splstatclock() rather than splhigh() in one place.
Eliminate unused third arg to vm_fork().
1995-12-09 04:23:07 +00:00
mycroft
bcd91943f8
Remove unused third arg to shmfork().
1995-12-09 04:12:56 +00:00
mycroft
feb42498e3
If we abort, make sure to free ep_emul_arg.
1995-12-09 04:11:00 +00:00
mycroft
00be80b604
Add a limfree(), and use it.
1995-12-09 04:09:32 +00:00
mycroft
27b9d9f436
Eliminate an extra variable.
1995-12-09 04:07:41 +00:00
mycroft
65806fd730
When converting from termios to sgtty, if RAW is set, use the previous\
...
settings of LITOUT and PASS8, since these cannot be determined from the\
termios modes.
1995-12-07 00:53:29 +00:00
thorpej
a5d3f68110
Add hooks for COMPAT_HPUX.
1995-11-28 08:07:25 +00:00
cgd
b69dc1f62c
move ../sys/syscallargs.h out of the way when making new version,
...
just like we do for init_sysent.c, syscalls.c, and ../sys/syscall.h.
1995-11-22 23:11:32 +00:00
cgd
a321588516
update for new syscalls.master
1995-11-22 23:09:26 +00:00
cgd
a2ce90f34c
change definition of profil() to make it 64-bit friendly. This has
...
no practical consequence on 32-bit systems. old prototype was
int profil(char *, int, int, int), and new one is int profile(char *,
size_t, u_long, u_int). the size_t is the size of the buffer,
and the u_long is the 'starting offset'. (I changed the last int
to u_int, because it's treated as a u_int everywhere, and isn't
logically a signed value.)
1995-11-22 23:07:19 +00:00
mycroft
7edc899fdd
ffs -> ufs
1995-11-11 22:00:15 +00:00
gwr
dd962ebbf6
Make sys_mount accept "ufs" as an alias for "ffs"
1995-11-07 22:41:02 +00:00
christos
16c4374c1f
Make the ktrace code emit a record that indicates the current emulation
...
every time there is an attach or detach event.
1995-10-22 00:35:06 +00:00
mycroft
ec64328797
Check for todo<0, done<0, and done>todo.
1995-10-10 02:51:45 +00:00
mycroft
5a44558c93
Reran makesyscalls.sh.
1995-10-10 01:33:26 +00:00
mycroft
44a38d8470
Add aliases for all compat functions.
1995-10-10 01:32:53 +00:00
mycroft
2dd293d3c3
Add hooks for COMPAT_FREEBSD, from Noriyuki Soda.
1995-10-10 01:26:36 +00:00
thorpej
c819cd372d
In lkmioctl(), disallow LMRESERV, LMLOADBUF, LMUNRESRV, LMREADY,
...
and LMUNLOAD if securelevel > 0. From Matthew Green <mrg@eterna.com.au>
1995-10-10 00:23:20 +00:00
mycroft
55c46e9514
Reran makesyscalls.sh.
1995-10-07 06:41:34 +00:00
mycroft
245f292fed
Prefix names of system call implementation functions with `sys_'.
1995-10-07 06:25:19 +00:00
mycroft
2d9aa901e9
Write core dumps with mode 0600.
1995-10-06 16:12:05 +00:00
mycroft
62f5268325
Fix oversight in previous.
1995-10-05 08:50:02 +00:00
mycroft
9806359967
Make PARENB depend on RAW and ANYP, but not on LITOUT or PASS8.
1995-10-05 08:38:55 +00:00
mycroft
1c5d240ffa
Make PASS8 = !ISTRIP and LITOUT = !OPOST, if CSIZE is CS8.
1995-10-05 02:45:06 +00:00
mycroft
f5f86fc38b
Fix type errors.
1995-10-05 01:42:22 +00:00
mycroft
210951a875
Switch to using SET(), CLR(), and ISSET() macros, like tty.c.
1995-10-05 01:35:07 +00:00
thorpej
42c10934c1
Fix typo in declaration of exit(), pointed out by Chris Demetriou.
1995-09-27 20:26:51 +00:00
cgd
08cae70f24
fix annoying but non-critical rounding but in ttyinfo(). (If
...
microseconds goes over 10^6 when rounding, increment seconds.)
1995-09-22 00:11:35 +00:00
thorpej
60024eb978
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 21:40:36 +00:00
thorpej
1f5a887dbf
makesyscalls.sh changed
1995-09-19 21:31:49 +00:00
thorpej
70bf3eea21
Emit prototypes for system call functions and append them to the
...
`syscallargs' header file.
1995-09-19 21:28:56 +00:00
thorpej
7f6d48201f
s/memcmp/bcmp/
1995-09-16 00:28:08 +00:00
ws
166530c153
Distribute cache entries more evenly
1995-09-08 14:15:07 +00:00
mycroft
873ed30f83
so_pcb should be a void *.
1995-08-17 02:57:20 +00:00
mycroft
a87c08a36e
Access rights are now stored in MT_CONTROL mbufs. Document this.
1995-08-16 01:03:19 +00:00
mycroft
0ecd5256ad
Allocate PCBs with malloc(), more mgetclr(). Be more careful to free the
...
PCB after it's done with.
1995-08-16 00:29:50 +00:00
mycroft
d23236204d
When resetting a signal, change ps_sigact, just to be sure.
1995-08-14 06:07:55 +00:00
mycroft
5c03d498db
Fix typos.
1995-08-14 01:47:03 +00:00
mycroft
2e95cf3d31
Implement SA_RESETHAND and SA_NODEFER.
...
Only return SA_NOCLDSTOP in the sigaction struct for SIGCHLD.
Rename ss_flags bits.
1995-08-13 22:53:59 +00:00
mycroft
36a94a031a
Lock the process in core before operating on it.
1995-08-13 09:05:51 +00:00
mycroft
5482957905
splnet --> splsoftnet
1995-08-12 23:59:09 +00:00
mycroft
80d7b0695a
minphys() functions really should return void.
1995-08-12 20:30:45 +00:00
thorpej
0f77910137
Add and document a `kern.rawpartition' sysctl.
1995-08-04 18:36:08 +00:00
cgd
32b4385a97
fix bug pointed out by, and do the cleanup suggested by
...
Alasdair Baird <alasdair@wildcat.demon.co.uk>. From pr 1301.
1995-08-02 22:01:46 +00:00
mycroft
605a125097
After an I/O operation completes, immediately set B_BUSY again. Also,
...
lower spl sooner, and remove an unneeded splbio()/splx() pair.
1995-07-27 02:37:12 +00:00