augustss
a82aeb5508
Kill register declarations.
2000-03-30 11:24:16 +00:00
simonb
9ff7681a33
Don't need to include <sys/conf.h> here.
2000-03-29 03:43:31 +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
kleink
230876cf26
Merge parts of chs-ubc2 into the trunk:
...
* Remove the casts to vaddr_t from the round_page() and trunc_page() macros to
make them type-generic, which is necessary i.e. to operate on file offsets
without truncating them.
* In due course, cast pointer arguments to these macros to an appropriate
integral type (paddr_t, vaddr_t).
Originally done by Chuck Silvers, updated by myself.
2000-03-26 20:42:21 +00:00
frueauf
253924ee60
Fix typo: hxto -> hzto.
2000-03-25 20:23:05 +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
thorpej
dabbfde70a
Implement fdremove() which is used in place of all the code that
...
did the "fdp->fd_ofiles[fd] = 0" assignment; fdremove() make sure
the fd_freefiles hints stay in sync.
From OpenBSD.
2000-03-23 05:16:12 +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
matt
efc9b37ead
expunge vm_offset_t/vm_size_t
2000-03-04 07:28:44 +00:00
matt
74ca33774a
only include i386/include/reg.h on i386.
2000-02-27 17:30:10 +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
eeh
cde9dba8ab
Add support for -current's ELF32 exec format.
2000-02-06 16:45:56 +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
tsutsui
11c8f56d48
Revert STRIPPROG -> STRIP
2000-02-01 05:25:24 +00:00
christos
3cb8a24438
Regen
2000-01-31 16:41:20 +00:00
christos
7ccc44e6f7
__semctl13 -> ____semctl13
2000-01-31 15:59:58 +00:00
christos
72ff1dee2f
Regen
2000-01-31 15:53:46 +00:00
christos
44b3655e9d
__semctl13 -> ___semctl13
2000-01-31 15:53:01 +00:00
tsutsui
e61f177ab1
STRIP -> STRIPPROG
2000-01-19 16:29:54 +00:00
matt
897c73a03a
Fix wait case for VAX SVR3.
2000-01-13 06:33:29 +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
matt
a0bcad1505
move to ibcs2_sysi86 to arch/i386/i386/ibcs2_machdep.c.
...
XXX -- still need to properly MI the waitsys code.
2000-01-10 03:16:25 +00:00
matt
8e42885010
Clean things up. Only include the ELF EXEC iff EXEC_ELF32 is already
...
asserted.
XXX -- this should mutate into kern/exec_coff someday with a cpu_coff_hooks
ala ecoff support.
2000-01-10 03:14:56 +00:00
matt
47b5b640a7
Regen.
2000-01-10 03:12:19 +00:00
matt
61783809dc
rename ibcs2_sysi86 to ibcs2_sysmachine (since ibcs2 now runs on other
...
things than i386).
2000-01-10 03:10:15 +00:00
tron
bfea30bc82
Regen.
2000-01-08 17:03:23 +00:00
tron
1433852cb6
Add missing system calls mlockall() and munlockall() as suggested by
...
Michael Eriksson in PR kern/9147.
2000-01-08 17:02:46 +00:00
eeh
a7474fcab6
netbsd32_close() would work better if it called sys_close() rather than
...
sys_write().
netbsd32_getfsstat() cannot just copyin()/copyout(), convert the structures,
and call sys_getffstat(). sys_getffstat() wants to do its own
copyin()/copyout(). So we need to implent the whole of sys_getffstat()
in netbsd32_getfsstat().
1999-12-31 22:26:21 +00:00
eeh
a65e57bfc6
Update to 32-bit compatibility routines.
1999-12-30 15:40:45 +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