Date: Tue, 31 Jul 2007 17:06:04 +0400 From: "Gryanko Alexandr" <xpahos@gmail.com> To: freebsd-emulation@freebsd.org Subject: Wine 0.9.42 Message-ID: <789c35740707310606x77de9md34b2e901e9f81b1@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello, all.
Can somebody give me patched files(thr.h, kern_thr.c, syscalls.master) ?
As I understood, patched kern_thr will be looked as this ...
thr_kill2(struct thread *td, struct thr_kill_args *uap)
/* int pid, long id, int sig */
{
struct thread *ttd;
struct proc *p;
int error;
AUDIT_ARG(signum, uap->sig);
if ((p = pfind(uap->pid)) = NULL)
return (ESRCH);
AUDIT_ARG(process, p);
error = p_cansignal(td, p, uap->sig);
if (error == 0) {
FOREACH)THREAD)IN_PROC(p, tdd) {
if (ttd->td_tid == uap->id)
break;
}
if (ttd == NULL)
error = ESRCH;
else if (uap->sig == 0)
;
else if (!_SIG_VALID(uap->sig))
error = EINVAL;
else
tdsignal(tdd, uap->sig, SIGTARGET_TD);
}
return (error);
}
I'm using FreeBSD 6.2 - RELEASE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?789c35740707310606x77de9md34b2e901e9f81b1>
