[pso] Nelamurire test

Calcaura Ghenadie calcaura at yahoo.com
Sun Mar 19 06:59:48 EET 2006


Salut,
Am o mica nelamurie in legatura cu programul de test:

Urmatoare functie:

int do_phase2(int syscall)
{
    do_intercept(syscall, -EPERM);
    do_release(syscall, -EPERM);
    do_start(syscall, 0, -EPERM);
    do_stop(syscall, 0, -EPERM);
    do_start(syscall, 1, -EPERM);
    do_stop(syscall, 1, -EPERM);
    do_start(syscall, getpid(), 0);
    do_start(syscall, getpid(), -EBUSY);
    do_monitor(syscall);
    do_stop(syscall, getpid(), 0);
    do_stop(syscall, getpid(), -EINVAL);
    return 0;
}
Intrebare: Nu ar trebui ca in loc de do_stop(sys_call, -EPERM ) sa fie do_stop(sys_call, -EINVAL) 
pentru ca se cere demonitorizarea unui apel care nu e monitorizat, si aici nu poate fi vorba de permisiune ?



_________________________________________________________________________
******************* *Calcaura Ghenadie* ******************* 
"Respect yourself"
 
________________________________
And here follows yahoo adware


		
---------------------------------
 Yahoo! Mail
 Use Photomail to share photos without annoying attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20060318/993c73bf/attachment.html


More information about the pso mailing list