Commit Graph

102177 Commits

Author SHA1 Message Date
ragge 2e409d7d44 Fix a signal handler bug originally reported by Hugh Graham some year ago:
If two signals are sent after each other without the process being run in
userspace between them then the second one will overwrite part of the signal
info stored on the userstack.
Fixed by rewriting and simplifying both the signal delivery code and the
trampoline code. Also bump signal version number to 2.
Rename __sigtramp1.S to __sigtramp.S.
2002-09-12 18:28:22 +00:00
ragge 32923df5d6 Fix a signal handler bug originally reported by Hugh Graham some year ago:
If two signals are sent after each other without the process being run in
userspace between them then the second one will overwrite part of the signal
info stored on the userstack.
Fixed by rewriting and simplifying both the signal delivery code and the
trampoline code. Also bump signal version number to 2.
2002-09-12 18:22:23 +00:00
mycroft 2346aaad04 Move GOT relocation code from _rtld_setup_pltgot() to
_rtld_relocate_nonplt_objects().  Add GOT self-relocation in
_rtld_relocate_nonplt_self().
MIPS ld.elf_so can now relocate itself.
2002-09-12 18:21:18 +00:00
matt 25c3b57cd5 Don't emit R_VAX_GLOB_DAT for symbolic links. Eliminate all
local_got_offset cruft that's was still there.  Change the way
got_entries were assigned.  Now do it in elf_vax_size_dynamic_sections.
Add a routine elf_vax_instantiate_got_entries which assigns space in
the GOT or changes to normal PC32 references for static or symbolic links.
2002-09-12 17:51:33 +00:00
mycroft 2b2534febf Add a `relocbase' argument to _rtld() and _rtld_init(), which is passed in
from the glue code in _rtld_start().  This is used to set objself.relocbase,
rather than assuming that it's the same as objself.mapbase (or 0 on MIPS).
Now -- with a bug fix to the kernel -- ld.elf_so can be linked at any VMA.
2002-09-12 17:45:41 +00:00
mycroft d04429c6a7 Figure out the relocation offset and pass it to _rtld(). 2002-09-12 17:43:30 +00:00
joda 88c01303c3 changes after importing kerberos 2002-09-12 17:18:48 +00:00
mycroft ebf50cdfbc Update comments. 2002-09-12 17:18:37 +00:00
joda 72be5e0769 invert detach flag to match previous NetBSD behaviour 2002-09-12 17:16:38 +00:00
mycroft ac81e3266b Snapshot of work to make MIPS ld.elf_so relocatable. 2002-09-12 17:08:32 +00:00
mycroft 5ee0e5e1c4 Pass the calculated relocation offset down to _rtld(). 2002-09-12 17:07:25 +00:00
mycroft 30d477000a The entry point address for the interpreter must be adjusted by the text
section VMA on all platforms.  It just happens to 0 normally on everything but
MIPS.
2002-09-12 16:57:44 +00:00
tsutsui 48bddc7728 bus_dmamap_load() can't take BUS_DMA_COHERENT flag. 2002-09-12 16:01:06 +00:00
joda cae4f88ee0 kill some warnings 2002-09-12 15:35:02 +00:00
joda 610c58a71a fix typo in previous 2002-09-12 15:29:02 +00:00
joda 1fdc1a1e39 remove all traces of ktypes.h 2002-09-12 15:28:22 +00:00
joda 2c3a59b23a krb5_socklen_t and krb5_ssize_t should not go here 2002-09-12 14:52:33 +00:00
joda cd26173a60 krb5-types.h is no more; install more man pages 2002-09-12 14:50:31 +00:00
christos d571f02f7d Don't bother calling secure_path() is kernel == _PATH_UNIX. If you are going
to default to it and use it anyway, why do the security check?
2002-09-12 14:42:15 +00:00
joda 80917fea60 ktypes.h has gone 2002-09-12 14:28:33 +00:00
joda 91f0927074 make this actually do something 2002-09-12 14:12:18 +00:00
joda 58cc4c1950 alias dns functions so we don't have to bump major 2002-09-12 14:10:25 +00:00
joda 09bfa07e97 version 12.3 2002-09-12 13:39:53 +00:00
joda 651b9b45cc version 18.1 2002-09-12 13:38:56 +00:00
joda fc15dce1ae need emalloc from roken 2002-09-12 13:35:56 +00:00
joda 3e5b5df667 version 6.1 2002-09-12 13:34:50 +00:00
joda a8826a31ce update to newer versions 2002-09-12 13:32:37 +00:00
joda da086653ff resolve import conflicts 2002-09-12 13:18:49 +00:00
abs 4bebaafe44 Protect extern zstty_cd with (NKBD > 0) || (NMS > 0) 2002-09-12 12:51:37 +00:00
minoura a0b98a781b #include <string.h> for memset() prototype. 2002-09-12 12:50:04 +00:00
scw a9c1bc6c83 Add code to deal with the "Cache Purge/Invalidate can cause TLB Miss"
problem, such that a TLB miss no longer occurs.

With the above, it is now safe to enable write-back caching for userland
mappings.

TODO: Deal with cache issues for shared mappings with different VAs.
2002-09-12 12:44:13 +00:00
joda 0444766465 import heimdal 0.5 2002-09-12 12:41:31 +00:00
scw 7e0aa6fcfc sh5_setasid() now returns the original ASID value. 2002-09-12 12:39:34 +00:00
scw a73ea332f6 Adapt to new cacheops requirements. 2002-09-12 12:38:42 +00:00
scw 22569e09ed The cacheops functions now need the physical address of the region
to be purged/invalidated.
2002-09-12 12:37:49 +00:00
martin fddb94e533 Fix synopsis to include the pcmcia* attaching at nell. 2002-09-12 12:37:27 +00:00
joda 5146dc79e7 import helper 2002-09-12 12:35:03 +00:00
scw b0ecf76dd4 sh5_setasid() now returns the value of the previous ASID. 2002-09-12 12:35:00 +00:00
joda 3cc6c8c775 resolve import conflicts 2002-09-12 12:33:10 +00:00
joda cfa4cd31bb import krb4 1.2 2002-09-12 12:22:01 +00:00
wiz c4de963fb8 Bump date for -8. 2002-09-12 10:06:51 +00:00
wiz 1e2e8ea0ca Sort options. Bump date for -8 addition. 2002-09-12 10:06:12 +00:00
wiz d5d10ab7d3 Sort options. 2002-09-12 09:34:24 +00:00
itojun 57afbee27d use strl*, not strn*. 2002-09-12 08:55:31 +00:00
matt 02573a8516 Add non-_KERNEL variants so regress/sys/kern/lock will compile. 2002-09-12 07:31:13 +00:00
jdolecek d89a42dbe9 document couple ipnat flags, which were not mentioned previously 2002-09-12 06:58:13 +00:00
augustss 393ae71756 Make it compile. Rename a macro. 2002-09-12 06:42:54 +00:00
lukem 38a05c7450 Use LOGIN_NAME_MAX instead of `10' for the size of the curname[] buffer.
Allows /etc/ftpchroot to work correctly for usernames > 9 characters.

Noted by Max Khon in the freebsd-stable mailing list, via Thomas Vogt in
private email.
2002-09-12 06:40:43 +00:00
kim 968e6be5e6 Replace -i with -8, which enables new 8-bit pass-through on the client. 2002-09-12 01:40:54 +00:00
kim b3399fd721 Implement 8-bit pass-through. 2002-09-12 01:31:41 +00:00