You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bodo Stroesser
c5c3a6d8fe
[PATCH] s390: uml ptrace fixes
...
To make UML build and run on s390, I needed to do these two little
changes:
1) UML includes some of the subarch's (s390) headers. I had to
change one of them with the following one-liner, to make this
compile. AFAICS, this change doesn't break compilation of s390
itself.
2) UML needs to intercept syscalls via ptrace to invalidate the syscall,
read syscall's parameters and write the result with the result of
UML's syscall processing. Also, UML needs to make sure, that the host
does no syscall restart processing. On i386 for example, this can be
done by writing -1 to orig_eax on the 2nd syscall interception
(orig_eax is the syscall number, which after the interception is used
as a "interrupt was a syscall" flag only.
Unfortunately, s390 holds syscall number and syscall result in gpr2 and
its "interrupt was a syscall" flag (trap) is unreachable via ptrace.
So I changed the host to set trap to -1, if the syscall number is changed
to an invalid value on the first syscall interception.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago
..
a.out.h
Linux-2.6.12-rc2
20 years ago
atomic.h
Linux-2.6.12-rc2
20 years ago
bitops.h
Linux-2.6.12-rc2
20 years ago
bug.h
[PATCH] remove all kernel BUGs
20 years ago
bugs.h
Linux-2.6.12-rc2
20 years ago
byteorder.h
Linux-2.6.12-rc2
20 years ago
cache.h
Linux-2.6.12-rc2
20 years ago
cacheflush.h
Linux-2.6.12-rc2
20 years ago
ccwdev.h
Linux-2.6.12-rc2
20 years ago
ccwgroup.h
Linux-2.6.12-rc2
20 years ago
checksum.h
Linux-2.6.12-rc2
20 years ago
cio.h
Linux-2.6.12-rc2
20 years ago
cmb.h
[PATCH] s390: remove ioctl32 from dasdcmb
20 years ago
compat.h
Linux-2.6.12-rc2
20 years ago
cpcmd.h
Linux-2.6.12-rc2
20 years ago
cputime.h
Linux-2.6.12-rc2
20 years ago
current.h
Linux-2.6.12-rc2
20 years ago
dasd.h
Linux-2.6.12-rc2
20 years ago
debug.h
[PATCH] s390: allow longer debug feature names
20 years ago
delay.h
Linux-2.6.12-rc2
20 years ago
div64.h
Linux-2.6.12-rc2
20 years ago
dma-mapping.h
Linux-2.6.12-rc2
20 years ago
dma.h
Linux-2.6.12-rc2
20 years ago
ebcdic.h
Linux-2.6.12-rc2
20 years ago
elf.h
Linux-2.6.12-rc2
20 years ago
errno.h
Linux-2.6.12-rc2
20 years ago
extmem.h
Linux-2.6.12-rc2
20 years ago
fcntl.h
Linux-2.6.12-rc2
20 years ago
hardirq.h
Linux-2.6.12-rc2
20 years ago
idals.h
Linux-2.6.12-rc2
20 years ago
io.h
Linux-2.6.12-rc2
20 years ago
ioctl.h
Linux-2.6.12-rc2
20 years ago
ioctls.h
Linux-2.6.12-rc2
20 years ago
ipc.h
Linux-2.6.12-rc2
20 years ago
ipcbuf.h
Linux-2.6.12-rc2
20 years ago
irq.h
Linux-2.6.12-rc2
20 years ago
kmap_types.h
Linux-2.6.12-rc2
20 years ago
linkage.h
Linux-2.6.12-rc2
20 years ago
local.h
Linux-2.6.12-rc2
20 years ago
lowcore.h
Linux-2.6.12-rc2
20 years ago
mathemu.h
Linux-2.6.12-rc2
20 years ago
mman.h
Linux-2.6.12-rc2
20 years ago
mmu.h
Linux-2.6.12-rc2
20 years ago
mmu_context.h
Linux-2.6.12-rc2
20 years ago
module.h
Linux-2.6.12-rc2
20 years ago
msgbuf.h
Linux-2.6.12-rc2
20 years ago
namei.h
Linux-2.6.12-rc2
20 years ago
page.h
[PATCH] s390: default storage key
20 years ago
param.h
Linux-2.6.12-rc2
20 years ago
pci.h
Linux-2.6.12-rc2
20 years ago
percpu.h
Linux-2.6.12-rc2
20 years ago
pgalloc.h
Linux-2.6.12-rc2
20 years ago
pgtable.h
[PATCH] freepgt: arch FIRST_USER_ADDRESS 0
20 years ago
poll.h
Linux-2.6.12-rc2
20 years ago
posix_types.h
Linux-2.6.12-rc2
20 years ago
processor.h
[PATCH] s390: default storage key
20 years ago
ptrace.h
[PATCH] s390: default storage key
20 years ago
qdio.h
Linux-2.6.12-rc2
20 years ago
qeth.h
Linux-2.6.12-rc2
20 years ago
resource.h
Linux-2.6.12-rc2
20 years ago
rwsem.h
Linux-2.6.12-rc2
20 years ago
s390_ext.h
Linux-2.6.12-rc2
20 years ago
scatterlist.h
Linux-2.6.12-rc2
20 years ago
sections.h
Linux-2.6.12-rc2
20 years ago
segment.h
Linux-2.6.12-rc2
20 years ago
semaphore.h
Linux-2.6.12-rc2
20 years ago
sembuf.h
Linux-2.6.12-rc2
20 years ago
setup.h
Linux-2.6.12-rc2
20 years ago
sfp-machine.h
Linux-2.6.12-rc2
20 years ago
shmbuf.h
Linux-2.6.12-rc2
20 years ago
shmparam.h
Linux-2.6.12-rc2
20 years ago
sigcontext.h
Linux-2.6.12-rc2
20 years ago
siginfo.h
[PATCH] consolidate SIGEV_PAD_SIZE
20 years ago
signal.h
[PATCH] asm/signal.h unification
20 years ago
sigp.h
Linux-2.6.12-rc2
20 years ago
smp.h
Linux-2.6.12-rc2
20 years ago
socket.h
Linux-2.6.12-rc2
20 years ago
sockios.h
Linux-2.6.12-rc2
20 years ago
spinlock.h
Linux-2.6.12-rc2
20 years ago
stat.h
Linux-2.6.12-rc2
20 years ago
statfs.h
Linux-2.6.12-rc2
20 years ago
string.h
Linux-2.6.12-rc2
20 years ago
suspend.h
Linux-2.6.12-rc2
20 years ago
system.h
Linux-2.6.12-rc2
20 years ago
tape390.h
Linux-2.6.12-rc2
20 years ago
termbits.h
Linux-2.6.12-rc2
20 years ago
termios.h
Linux-2.6.12-rc2
20 years ago
thread_info.h
Linux-2.6.12-rc2
20 years ago
timer.h
Linux-2.6.12-rc2
20 years ago
timex.h
Linux-2.6.12-rc2
20 years ago
tlb.h
Linux-2.6.12-rc2
20 years ago
tlbflush.h
Linux-2.6.12-rc2
20 years ago
todclk.h
Linux-2.6.12-rc2
20 years ago
topology.h
Linux-2.6.12-rc2
20 years ago
types.h
Linux-2.6.12-rc2
20 years ago
uaccess.h
Linux-2.6.12-rc2
20 years ago
ucontext.h
Linux-2.6.12-rc2
20 years ago
unaligned.h
Linux-2.6.12-rc2
20 years ago
unistd.h
Linux-2.6.12-rc2
20 years ago
user.h
[PATCH] s390: uml ptrace fixes
20 years ago
vtoc.h
Linux-2.6.12-rc2
20 years ago
xor.h
Linux-2.6.12-rc2
20 years ago