search for: siginfo_t

Displaying 20 results from an estimated 29 matches for "siginfo_t".

Did you mean: siginfo
2007 Dec 15
0
simplified siginfo_t definition?
I now have a Solaris account and I''ve been able to try out my DT_Logger code there. I ran into several issues, but the one I''m stuck on (though working around :-) is the need for a much simplified siginfo_t definition. I looked at /usr/include/sys/siginfo.h, but I can''t figure out what the maze of #ifdefs would actually resolve to, so I don''t know which data elements I can ask dtrace to print. Could someone point me to a more straightforward definition? -r -- http://www.cfcl.com/...
2012 Apr 03
1
"Failed to create rounding.h!" during make
...' /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl' /usr/include/sys/siginfo.h:426: error: parse error before '}' token /usr/include/sys/siginfo.h:428: error: parse error before '}' token /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t" /usr/include/sys/siginfo.h:437: error: parse error before '}' token In file included from /usr/include/signal.h:26, from rsync.h:329, from rounding.c:20: /usr/include/sys/signal.h:85: error: parse error before "siginfo_t" In file included fr...
2009 Apr 06
0
conflict name of si_code on NetBSD
...address alignment"; case BUS_ADRERR: *************** *** 60,66 **** return "object-specific hardware error"; } } ! return t_strdup_printf("unknown %d", si_code); } static void sig_handler(int signo, siginfo_t *si, void *context ATTR_UNUSED) --- 60,66 ---- return "object-specific hardware error"; } } ! return t_strdup_printf("unknown %d", sicode); } static void sig_handler(int signo, siginfo_t *si, void *context ATTR_UNUSED) d...
2006 Mar 03
1
rsync set up problem
...' /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl' /usr/include/sys/siginfo.h:426: error: parse error before '}' token /usr/include/sys/siginfo.h:428: error: parse error before '}' token /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t" /usr/include/sys/siginfo.h:437: error: parse error before '}' token In file included from /usr/include/signal.h:26, from rsync.h:248, from rsync.c:23: /usr/include/sys/signal.h:85: error: parse error before "siginfo_t" In file included from...
2019 Oct 31
37
[Bug 3085] New: seccomp issue after upgrading openssl
https://bugzilla.mindrot.org/show_bug.cgi?id=3085 Bug ID: 3085 Summary: seccomp issue after upgrading openssl Product: Portable OpenSSH Version: 8.1p1 Hardware: Other OS: Linux Status: NEW Severity: critical Priority: P5 Component: sshd Assignee: unassigned-bugs at mindrot.org
2006 Jul 02
3
Error compiling on Solaris 10
...' /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl' /usr/include/sys/siginfo.h:426: error: parse error before '}' token /usr/include/sys/siginfo.h:428: error: parse error before '}' token /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t" /usr/include/sys/siginfo.h:437: error: parse error before '}' token In file included from /usr/include/signal.h:26, from file-dotlock.c:13: /usr/include/sys/signal.h:85: error: parse error before "siginfo_t" In file included from file-dotlock.c:13: /usr/inc...
2018 Sep 25
1
Obtaining the origin function for a local var after inlining
...!DIExpression(DW_OP_deref)), !dbg !6931 call void @llvm.dbg.value(metadata %struct.siginfo* %siginfo, metadata !6556, metadata !DIExpression(DW_OP_deref)), !dbg !6931 E.g. here the second and the fourth intrinsics have debug info values !7027 and !6942 pointing at lines 670 and 654 respectively (siginfo_t* parameters of ptrace_setsiginfo() and ptrace_getsiginfo()) The last three intrinsics indeed point to line 888, where |siginfo| is declared. Is the DW_OP_deref tag enough to distinguish the right llvm.dbg.value? > -- adrian > > > > >> if you want to find the function that it...
2013 Nov 20
0
[PATCH -tip v3 13/23] x86/trap: Use NOKPROBE_SYMBOL macro in trap.c
...*tsk, int trapnr, char *str, struct pt_regs *regs, long error_code) { @@ -136,7 +136,7 @@ do_trap_no_signal(struct task_struct *tsk, int trapnr, char *str, return -1; } -static void __kprobes +static void do_trap(int trapnr, int signr, char *str, struct pt_regs *regs, long error_code, siginfo_t *info) { @@ -173,6 +173,7 @@ do_trap(int trapnr, int signr, char *str, struct pt_regs *regs, else force_sig(signr, tsk); } +NOKPROBE_SYMBOL(do_trap); #define DO_ERROR(trapnr, signr, str, name) \ dotraplinkage void do_##name(struct pt_regs *regs, long error_code) \ @@ -267,7 +268,7 @@...
2001 Jul 11
1
Porting MS Structured Exception Handling to Linux.
...do all this I stumbled upond a gnu article on how to translate signals into Java exceptions. Based on that I came up with the following code: int i = 0; //Signal handler function. The remmed out args reflect my attempt to make this work with both POSIX.1 and POSIX.4 void on_accvio(int signo/*, siginfo_t *info, void *ignored*/) { printf ("[%d] - on_accvio() : entered %d\n", pthread_self(), i++); void **_p = (void **)&signo; throw true; struct sigcontext_struct *_regs = (struct sigcontext_struct *)++_p; register unsigned long _ebp = _regs->ebp; register unsigned long _eip = _...
2004 Jun 06
1
[PATCH] use sb_getblk
...ndif +#define flush_scheduled_work flush_scheduled_tasks +#define work_struct tq_struct +#define INIT_WORK(w, f, d) INIT_TQUEUE(w, f, d) +#define schedule_work(w) schedule_task(w) + #ifdef HAVE_NPTL static inline void dequeue_signal_lock(struct task_struct *task, sigset_t *blocked, siginfo_t *info) Index: src/alloc.c =================================================================== --- src/alloc.c (revision 1014) +++ src/alloc.c (working copy) @@ -915,9 +915,7 @@ phys_blkno = physicalOffset >> osb->sb->s_blocksize_bits; for (i = 0; i < numbhs; i++) { - bhs[i] =...
2004 Jul 19
0
Cant compile Zaptel at all
...h:26, from /usr/src/linux/include/linux/mm.h:4, from /usr/src/linux/include/linux/slab.h:14, from /usr/src/linux/include/linux/proc_fs.h:5, from zaptel.c:45: /usr/src/linux/include/linux/signal.h:14: error: parse error before "siginfo_t" /usr/src/linux/include/linux/signal.h:14: warning: no semicolon at end of struct or union In file included from /usr/src/linux/include/linux/sched.h:28, from /usr/src/linux/include/linux/mm.h:4, from /usr/src/linux/include/linux/slab.h:14, fr...
2018 Sep 19
2
Obtaining the origin function for a local var after inlining
On Tue, Sep 18, 2018 at 1:56 AM Adrian Prantl <aprantl at apple.com> wrote: > > > > > On Sep 17, 2018, at 6:59 AM, Alexander Potapenko via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > > > (I think I've asked a similar question off-list a couple of times, but > > never got an answer) > > > > Hi folks, > > > > For [K]MSAN
2011 May 14
3
Problems building wine 1.3.20 on Mac os x 10.6.7
...truct statfs.f_namelen... no checking for struct statvfs.f_blocks... yes checking for struct msghdr.msg_accrights... no checking for struct sockaddr.sa_len... yes checking for struct sockaddr_un.sun_len... yes checking for scsireq_t.cmd... no checking for sg_io_hdr_t.interface_id... no checking for siginfo_t.si_fd... no checking for struct mtget.mt_blksiz... no checking for struct mtget.mt_gstat... no checking for struct mtget.mt_blkno... no checking for struct option.name... yes checking for struct stat.st_blocks... yes checking for struct stat.st_mtim... no checking for struct stat.st_ctim... no chec...
2006 May 18
2
Problems compiling Wine
...truct statfs.f_namelen... yes checking for struct statvfs.f_blocks... yes checking for struct msghdr.msg_accrights... no checking for struct sockaddr.sa_len... no checking for struct sockaddr_un.sun_len... no checking for scsireq_t.cmd... no checking for sg_io_hdr_t.interface_id... yes checking for siginfo_t.si_fd... yes checking for struct mtget.mt_blksiz... no checking for struct mtget.mt_gstat... yes checking for struct mtget.mt_blkno... yes checking for struct option.name... yes checking for struct stat.st_blocks... yes checking for struct sockaddr_in6.sin6_scope_id... yes checking for timezone var...
2013 Aug 08
1
[PATCH v2 7/7] Sample Implementation of Intel MIC User Space Daemon.
...etsysfs(mic->name, "log_buf_len", log_buf); > + mpsslog("%s: log_buf_len: %s\n", mic->name, log_buf); > + munmap(map, len); > + close(fd); > +} > + > +static void init_mic(struct mic_info *mic); > + > +static void > +change_virtblk_backend(int x, siginfo_t *siginfo, void *p) > +{ > + struct mic_info *mic; > + > + for (mic = mic_list.next; mic != NULL; mic = mic->next) > + mic->mic_virtblk.signaled = 1/* true */; > +} > + > +static void > +init_mic(struct mic_info *mic) > +{ > + struct sigaction ignore = { >...
2013 Aug 08
1
[PATCH v2 7/7] Sample Implementation of Intel MIC User Space Daemon.
...etsysfs(mic->name, "log_buf_len", log_buf); > + mpsslog("%s: log_buf_len: %s\n", mic->name, log_buf); > + munmap(map, len); > + close(fd); > +} > + > +static void init_mic(struct mic_info *mic); > + > +static void > +change_virtblk_backend(int x, siginfo_t *siginfo, void *p) > +{ > + struct mic_info *mic; > + > + for (mic = mic_list.next; mic != NULL; mic = mic->next) > + mic->mic_virtblk.signaled = 1/* true */; > +} > + > +static void > +init_mic(struct mic_info *mic) > +{ > + struct sigaction ignore = { >...
2013 Aug 08
0
[PATCH v2 7/7] Sample Implementation of Intel MIC User Space Daemon.
...n; + } + strncpy(log_buf, temp - 19, 16); + setsysfs(mic->name, "log_buf_len", log_buf); + mpsslog("%s: log_buf_len: %s\n", mic->name, log_buf); + munmap(map, len); + close(fd); +} + +static void init_mic(struct mic_info *mic); + +static void +change_virtblk_backend(int x, siginfo_t *siginfo, void *p) +{ + struct mic_info *mic; + + for (mic = mic_list.next; mic != NULL; mic = mic->next) + mic->mic_virtblk.signaled = 1/* true */; +} + +static void +init_mic(struct mic_info *mic) +{ + struct sigaction ignore = { + .sa_flags = 0, + .sa_handler = SIG_IGN + }; + struct sig...
2013 Nov 15
23
[PATCH -tip RFC v2 00/22] kprobes: introduce NOKPROBE_SYMBOL() and general cleaning of kprobe blacklist
Currently the blacklist is maintained by hand in kprobes.c which is separated from the function definition and is hard to catch up the kernel update. To solve this issue, I've tried to implement new NOKPROBE_SYMBOL() macro for making kprobe blacklist at build time. Since the NOKPROBE_SYMBOL() macros can be placed right after the function is defined, it is easy to maintain. This series
2013 Nov 15
23
[PATCH -tip RFC v2 00/22] kprobes: introduce NOKPROBE_SYMBOL() and general cleaning of kprobe blacklist
Currently the blacklist is maintained by hand in kprobes.c which is separated from the function definition and is hard to catch up the kernel update. To solve this issue, I've tried to implement new NOKPROBE_SYMBOL() macro for making kprobe blacklist at build time. Since the NOKPROBE_SYMBOL() macros can be placed right after the function is defined, it is easy to maintain. This series
2013 Nov 20
28
[PATCH -tip v3 00/23] kprobes: introduce NOKPROBE_SYMBOL() and general cleaning of kprobe blacklist
Hi, Here is the version 3 of NOKPORBE_SYMBOL series. Currently the blacklist is maintained by hand in kprobes.c which is separated from the function definition and is hard to catch up the kernel update. To solve this issue, I've introduced NOKPROBE_SYMBOL() macro for making kprobe blacklist at build time. Since the NOKPROBE_SYMBOL() macros can be placed right after the function is defined