jhawk
78732e454b
Remove conditionization upon XSERVER -- all the code
...
so conditionalized is already conditionalized on (NWSDISPLAY > 0),
so is wscons-specific. wscons has no conditionalization on XSERVER;
neither should the linux compatibility code.
Removing this is necessary to keep linux X server emulation functionining
after GENERIC rev 1.337 removing "options XSERVER" (relegating it
to the pccons/pcvt-specific, and therefore depricated).
2000-05-15 01:12:07 +00:00
thorpej
33e0776eda
Remove junk after #undef.
2000-05-03 21:41:43 +00:00
chs
a6d33cc1f2
add a new function vn_marktext() for exec code to let others know
...
that the vnode is now being used as process text.
2000-04-11 04:37:47 +00:00
chs
ef20427f07
sparc -> __sparc__
2000-04-10 01:22:44 +00:00
augustss
a82aeb5508
Kill register declarations.
2000-03-30 11:24:16 +00:00
simonb
2f1fef39b3
Centralise the declarations of cpu_model, machine, machine_arch,
...
osrelease, and ostype and remove "extern char foo[];" (for hostname
and domainname too).
Also delete redunctant decl of boottime in kern_info_43.c.
2000-03-28 23:57:24 +00:00
thorpej
7b918b4088
New callout mechanism with two major improvements over the old
...
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:40:33 +00:00
erh
24d8dabec4
Regen.
2000-03-20 00:50:45 +00:00
erh
c21d536f5d
sys_clone isn't MD on linux.
2000-03-20 00:50:14 +00:00
erh
1d34297aae
Regen.
2000-03-18 23:53:38 +00:00
erh
38cf426930
Fix the msgrcv prototype.
2000-03-18 23:53:24 +00:00
erh
0174e6759b
Add sigset_t parameter to restore_sigcontext, created by the sigreturn functions. linux_sigreturn still needs to use frame->extramask.
...
In setup_linux_rt_sigframe copy the signal mask to both possible locations.
2000-03-18 23:45:41 +00:00
erh
224f92b651
Pass a signal mask to restore_sigcontext.
2000-03-18 23:40:56 +00:00
erh
c7a82169cc
Regen.
2000-03-18 22:46:53 +00:00
erh
2648835399
Use the new linux_sys_reboot and linux_sys_connect.
2000-03-18 22:46:27 +00:00
erh
9db5981a04
Add linux_sys_reboot.
2000-03-18 22:23:13 +00:00
erh
528f8305be
Regen.
2000-03-18 22:21:02 +00:00
erh
f3ae1c7294
Use linux_sys_reboot instead of sys_reboot.
2000-03-18 22:20:57 +00:00
erh
035c694c67
Regen.
2000-03-18 22:16:56 +00:00
erh
dd9cf0df56
Use linux_sys_reboot instead of sys_reboot.
2000-03-18 22:16:46 +00:00
erh
34b72dcf4a
Add defines for linux_sys_reboot.
2000-03-18 22:01:02 +00:00
erh
a159733250
Regen.
2000-03-18 20:44:01 +00:00
erh
50ef430f08
resync NOARGS lines with their definitions in kern/syscalls.master. resync STD lines with what is expected in .c files. (especially wrt adding const). Add missing prototype for setfsuid. Fix ptrace prototype.
2000-03-18 20:43:33 +00:00
erh
fa21d7879c
Adjust linux_sys_ptrace_args to reflect inconsistencies across ports. Temporarily ifndef alpha around getfsuid since Linux/alpha doesn't seem to have it.
2000-03-18 20:42:14 +00:00
soren
95054da1a1
Fix doubled 'the's in comments.
2000-03-13 23:52:25 +00:00
abs
7ff31fc326
Update patch from Witold Wnuk in PR 9335 to solve potential security
...
issue noted by tls.
2000-02-17 12:34:26 +00:00
abs
052fdc75bc
regen
2000-02-03 10:22:34 +00:00
abs
89c5ba9f00
Add Linux fsuid system calls - from Witold J. Wnuk in PR kern/9335
2000-02-03 10:02:59 +00:00
jdolecek
600be45ffc
Improve emulation of SIOCGIFHWADDR ioctl:
...
* when finding an interface, try the real name first before faking eth*
* Linux kernel returns ENODEV if the request goes to unknown interface,
so do the same here
This change makes Linux ICA client work.
Patch sent by Zdenek Salvet <salvet@ics.muni.cz> in kern/9169.
2000-01-12 17:19:11 +00:00
tron
885afa5fce
Regen.
1999-12-16 15:13:41 +00:00
tron
764eda2f33
Add ptrace(2).
1999-12-16 15:13:01 +00:00
tron
62397f55ef
Add support for reading and writing non FPU register with ptrace(2).
1999-12-16 15:11:19 +00:00
tron
4aec38a7db
Move MI parts of ptrace(2) emulation to "linux_misc.c".
1999-12-16 15:09:49 +00:00
tron
f5dfa6e4a0
Support a few more request types in ptrace(2) emulation.
1999-12-12 01:30:49 +00:00
tron
df8ccb921c
Regen.
1999-12-12 00:00:42 +00:00
tron
0f4ddbec23
Incomplete but already working emulation of Linux's ptrace(2) for i386.
1999-12-12 00:00:16 +00:00
tron
c3ce0bc384
Architecture independent definitions for Linux's ptrace(2) system call.
1999-12-11 23:57:48 +00:00
tron
d5ed9dc998
Regen.
1999-12-05 21:26:36 +00:00
tron
c65011886d
Fix incorrect system call number.
1999-12-05 21:25:36 +00:00
tron
ea2517e20d
Add proper stub code to make emulation of Linux's pread(2) and pwrite(2)
...
work. Fixes PR kern/8945 by Dave Sainty.
1999-12-05 21:24:28 +00:00
tron
9b847640c3
Add bound checks in emulation of kill(2). This fixes the last part of
...
PR kern/8904 by Dave Sainty.
1999-12-04 22:26:52 +00:00
tron
96fdbb96a8
Add bound checks in emulation of sigaction(2). This fixes a part of
...
PR kern/8904 by Dave Sainty.
1999-12-04 22:21:12 +00:00
tron
60e5eb1dd2
Fix typo in last commit.
1999-12-04 22:17:43 +00:00
tron
f8a4b15b1c
Adapt to renamed system call argument.
1999-12-04 22:15:57 +00:00
tron
a3dbb6bba5
Regen.
1999-12-04 22:14:52 +00:00
tron
8b5f9298fa
Consistently call signal number arguments "signum".
1999-12-04 22:14:14 +00:00
tron
f8df357a47
Add bound checks in emulation of signal(2) and return SIG_ERR on failure.
...
This fixes a part of PR kern/8904 by Dave Sainty.
1999-12-04 22:08:36 +00:00
tron
5bc798bb82
Allow signal numbers upto 63 in clone(2) emulation.
1999-12-04 21:58:05 +00:00
tron
9bf4ab219a
Correct signal array size.
1999-12-04 21:41:53 +00:00
tron
cd4ab88255
Extend signal mapping array to 64 entries like in the i386 emulation.
1999-12-04 21:38:57 +00:00