Displaying 20 results from an estimated 54 matches for "sigcontext".
Did you mean:
cgcontext
2005 Dec 03
3
i386 domU on amd64 (xen-unstable)
...h was selected, and compiled with X86_64
before)
Processor family (Opteron/Athlon64/Hammer/K8)
[*] Generic x86 support
if i do a "make ARCH=xen" i get :
arch/i386/kernel/asm-offsets.c: In function ''foo'':
arch/i386/kernel/asm-offsets.c:27: error: ''struct sigcontext'' has no
member named ''eax''
arch/i386/kernel/asm-offsets.c:28: error: ''struct sigcontext'' has no
member named ''ebx''
arch/i386/kernel/asm-offsets.c:29: error: ''struct sigcontext'' has no
member named ''ecx'...
2005 Dec 03
3
i386 domU on amd64 (xen-unstable)
...h was selected, and compiled with X86_64
before)
Processor family (Opteron/Athlon64/Hammer/K8)
[*] Generic x86 support
if i do a "make ARCH=xen" i get :
arch/i386/kernel/asm-offsets.c: In function ''foo'':
arch/i386/kernel/asm-offsets.c:27: error: ''struct sigcontext'' has no
member named ''eax''
arch/i386/kernel/asm-offsets.c:28: error: ''struct sigcontext'' has no
member named ''ebx''
arch/i386/kernel/asm-offsets.c:29: error: ''struct sigcontext'' has no
member named ''ecx'...
2005 May 16
6
x86_64 build broken?
...t x86_64 xen-unstable on SLES9 SP1
x86_64. Here is the build output. Am I doing anything wrong here?
Aravindh
gcc -DPIC -m64 -Wall -Werror -O3 -fno-strict-aliasing -I
../../tools/libxutil -I. -Wp,-MD,.xc_ptrace.opic.d -fPIC -c -o
xc_ptrace.opic xc_ptrace.c
In file included from /usr/include/asm/sigcontext.h:4,
from /usr/include/asm-x86_64/processor.h:13,
from /usr/include/asm/processor.h:4,
from /usr/include/asm-x86_64/elf.h:10,
from /usr/include/asm/elf.h:4,
from xc_ptrace.c:4:
/usr/include/asm-x86_64/sigcontext.h:...
1999 Sep 15
1
Compilation errors
...ther.
When I try to compile Samba with make (after configure) I get the following:
Using LIBS = -lreadline -ldl -lcrypt
Compiling smbd/server.c
In file included from /usr/include/signal.h:294,
from include/includes.h:161,
from smbd/server.c:22:
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or
directory
In file included from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from include/includes.h:181,
from smbd/server.c:22:
/usr/include/linux/errno.h:4: asm/errno.h: No such file or direc...
2001 Apr 10
0
open ssl
...include/errno.h:36,
from includes.h:167,
from ssh.c:199:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
In file included from /usr/include/signal.h:300,
from includes.h:170,
from ssh.c:199:
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or
directory
In file included from /usr/include/bits/posix1_lim.h:126,
from /usr/include/limits.h:30,
from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:117,
from
/usr/lib/gcc-lib/i386-redhat-...
2007 Aug 19
1
[PATCH 1/5] um/... convert #include "linux/..." to #include <linux/...>
...e <linux/init.h>
+#include <linux/ptrace.h>
+#include <asm/semaphore.h>
+#include <asm/pgtable.h>
+#include <asm/pgalloc.h>
+#include <asm/tlbflush.h>
+#include <asm/a.out.h>
+#include <asm/current.h>
+#include <asm/irq.h>
#include "sysdep/sigcontext.h"
#include "kern_util.h"
#include "as-layout.h"
diff --git a/arch/um/kernel/tt/exec_kern.c b/arch/um/kernel/tt/exec_kern.c
index 40126cb..0e5a0c1 100644
--- a/arch/um/kernel/tt/exec_kern.c
+++ b/arch/um/kernel/tt/exec_kern.c
@@ -3,13 +3,13 @@
* Licensed under the GPL...
2007 Aug 19
1
[PATCH 1/5] um/... convert #include "linux/..." to #include <linux/...>
...e <linux/init.h>
+#include <linux/ptrace.h>
+#include <asm/semaphore.h>
+#include <asm/pgtable.h>
+#include <asm/pgalloc.h>
+#include <asm/tlbflush.h>
+#include <asm/a.out.h>
+#include <asm/current.h>
+#include <asm/irq.h>
#include "sysdep/sigcontext.h"
#include "kern_util.h"
#include "as-layout.h"
diff --git a/arch/um/kernel/tt/exec_kern.c b/arch/um/kernel/tt/exec_kern.c
index 40126cb..0e5a0c1 100644
--- a/arch/um/kernel/tt/exec_kern.c
+++ b/arch/um/kernel/tt/exec_kern.c
@@ -3,13 +3,13 @@
* Licensed under the GPL...
2007 Aug 24
0
[PATCH] convert #include "linux/..." and #include "asm/..." to #include <...>
...| 12 ++--
arch/um/sys-i386/sysrq.c | 10 ++--
arch/um/sys-i386/tls.c | 18 +++---
arch/um/sys-ppc/miscthings.c | 6 +-
arch/um/sys-ppc/ptrace.c | 4 +-
arch/um/sys-ppc/sigcontext.c | 4 +-
arch/um/sys-ppc/sysrq.c | 6 +-
arch/um/sys-x86_64/ksyms.c | 16 +++---
arch/um/sys-x86_64/mem.c | 6 +-
arch/um/sys-x86_64/signal.c | 18 +++---
arch/um/...
2007 Aug 24
0
[PATCH] convert #include "linux/..." and #include "asm/..." to #include <...>
...| 12 ++--
arch/um/sys-i386/sysrq.c | 10 ++--
arch/um/sys-i386/tls.c | 18 +++---
arch/um/sys-ppc/miscthings.c | 6 +-
arch/um/sys-ppc/ptrace.c | 4 +-
arch/um/sys-ppc/sigcontext.c | 4 +-
arch/um/sys-ppc/sysrq.c | 6 +-
arch/um/sys-x86_64/ksyms.c | 16 +++---
arch/um/sys-x86_64/mem.c | 6 +-
arch/um/sys-x86_64/signal.c | 18 +++---
arch/um/...
1999 Dec 11
1
make errors while compiling
...27: linux/limits.h: No such file or
directory
In file included from /usr/include/errno.h:36,
from Rsock.c:32:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
In file included from /usr/include/signal.h:294,
from Rsock.c:156:
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or
directory
make[3]: *** [Rsock.d] Error 1
make[3]: Leaving directory `/root/R-0.90.0/src/appl'
make[2]: *** [R] Error 2
make[2]: Leaving directory `/root/R-0.90.0/src/appl'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/root/R-0.90.0/src'
ma...
1999 Jan 24
1
HPUX 9.05 & Samba 2.0.0 & problems -> solved !
...on,
which is used to prevent system calls from being restarted. SA_INTERRUPT is
not available on HP-UX, but is the default behavior of sigaction() on HP-UX
(that is, does not restart signal calls).
SA_RESTART is used on SunOS to make system calls restart. It is not
available on HP-UX. Instead, the sigcontext parameter passed to the signal
handler can be used within the signal handler itself to specify SIG_RESTART
or SIG_RETURN after handling an interrupted system call:
..
<code example>!!!!
-----------------------------------
Good code example HPUX 9.0x specific code for signals:
ftp://ftp.cup.h...
2008 Jan 24
2
building 64 bit binaries from source
.../include -I../../include -D__WINESRC__
- -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
- -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2
- -o signal_x86_64.o signal_x86_64.c
signal_x86_64.c:138: warning: type defaults to 'int' in declaration of
'SIGCONTEXT'
signal_x86_64.c:138: error: expected ';', ',' or ')' before '*' token
signal_x86_64.c:174: error: expected declaration specifiers or '...'
before 'SIGCONTEXT'
signal_x86_64.c: In function 'restore_context':
signal_x86_64.c:176: warning: i...
2007 Dec 18
2
[PATCH 1/2] remove __init modifier from header declaration
This patch removes the __init modifier from an extern function
declaration in acpi.h.
Besides not being strictly needed, it requires the inclusion of
linux/init.h, which is usually not even included directly, increasing
header mess by a lot.
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
---
include/asm-x86/acpi.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
2007 Dec 18
2
[PATCH 1/2] remove __init modifier from header declaration
This patch removes the __init modifier from an extern function
declaration in acpi.h.
Besides not being strictly needed, it requires the inclusion of
linux/init.h, which is usually not even included directly, increasing
header mess by a lot.
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
---
include/asm-x86/acpi.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
2007 Dec 18
3
[PATCH] finish processor.h integration
...r.h
+++ b/include/asm-x86/processor.h
@@ -7,12 +7,24 @@
struct task_struct;
struct mm_struct;
+#include <asm/vm86.h>
+#include <asm/math_emu.h>
+#include <asm/segment.h>
#include <asm/page.h>
-#include <asm/percpu.h>
+#include <asm/types.h>
+#include <asm/sigcontext.h>
+#include <asm/current.h>
+#include <asm/cpufeature.h>
#include <asm/system.h>
+#include <asm/page.h>
#include <asm/percpu.h>
+#include <asm/msr.h>
+#include <asm/desc_defs.h>
+#include <linux/personality.h>
#include <linux/cpumask.h>...
2007 Dec 18
3
[PATCH] finish processor.h integration
...r.h
+++ b/include/asm-x86/processor.h
@@ -7,12 +7,24 @@
struct task_struct;
struct mm_struct;
+#include <asm/vm86.h>
+#include <asm/math_emu.h>
+#include <asm/segment.h>
#include <asm/page.h>
-#include <asm/percpu.h>
+#include <asm/types.h>
+#include <asm/sigcontext.h>
+#include <asm/current.h>
+#include <asm/cpufeature.h>
#include <asm/system.h>
+#include <asm/page.h>
#include <asm/percpu.h>
+#include <asm/msr.h>
+#include <asm/desc_defs.h>
+#include <linux/personality.h>
#include <linux/cpumask.h>...
2020 Jul 25
0
[klibc:execstack-fixes] alpha: Set sa_restorer for signals and disable executable stack
...dex 00000000..02aba9c5
--- /dev/null
+++ b/usr/klibc/arch/alpha/sigreturn.S
@@ -0,0 +1,16 @@
+/*
+ * arch/alpha/sigreturn.S
+ */
+
+#include <asm/unistd.h>
+
+ .text
+ .align 3
+ .type __sigreturn, at function
+ .ent __syscall_common,0
+ .globl __sigreturn
+__sigreturn:
+ mov sp,a0 ; struct sigcontext on stack
+ lda v0,__NR_sigreturn(zero)
+ callsys
+ .size __sigreturn,.-__sigreturn
2020 Aug 20
0
[klibc:execstack-fixes] alpha: Set sa_restorer for signals and disable executable stack
...44
index 00000000..95415edd
--- /dev/null
+++ b/usr/klibc/arch/alpha/sigreturn.S
@@ -0,0 +1,16 @@
+/*
+ * arch/alpha/sigreturn.S
+ */
+
+#include <asm/unistd.h>
+
+ .text
+ .align 3
+ .type __sigreturn, at function
+ .ent __sigreturn,0
+ .globl __sigreturn
+__sigreturn:
+ mov sp,a0 ; struct sigcontext on stack
+ lda v0,__NR_sigreturn(zero)
+ callsys
+ .size __sigreturn,.-__sigreturn
2020 Aug 27
0
[klibc:master] alpha: Pass restorer to rt_sigaction() and disable executable stack
.../dev/null
+++ b/usr/klibc/arch/alpha/sigreturn.S
@@ -0,0 +1,18 @@
+/*
+ * arch/alpha/sigreturn.S
+ */
+
+#include <machine/asm.h>
+#include <asm/unistd.h>
+
+ .text
+ .align 3
+ .type __sigreturn, at function
+ .ent __sigreturn,0
+ .globl __sigreturn
+__sigreturn:
+ mov sp,a0 # struct sigcontext on stack
+ lda v0,__NR_rt_sigreturn(zero)
+ callsys
+ .size __sigreturn,.-__sigreturn
+ .end __sigreturn
diff --git a/usr/klibc/sigaction.c b/usr/klibc/sigaction.c
index 0d7c5c9d..789494db 100644
--- a/usr/klibc/sigaction.c
+++ b/usr/klibc/sigaction.c
@@ -14,7 +14,7 @@ __extern int __rt_sigaction(i...
1999 Jan 25
0
SAMBA digest 1954
...prevent system calls from being restarted. SA_INTERRUPT is
>not available on HP-UX, but is the default behavior of sigaction() on HP-UX
>(that is, does not restart signal calls).
>
>SA_RESTART is used on SunOS to make system calls restart. It is not
>available on HP-UX. Instead, the sigcontext parameter passed to the signal
>handler can be used within the signal handler itself to specify SIG_RESTART
>or SIG_RETURN after handling an interrupted system call:
>.
><code example>!!!!
>-----------------------------------
>Good code example HPUX 9.0x specific code for si...