Wine 0.9.42

Gryanko Alexandr xpahos at gmail.com
Tue Jul 31 13:31:02 UTC 2007


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


More information about the freebsd-emulation mailing list