[pso] [Tema4] no of rules
Laura Ionita
laura.ionita at gmail.com
Sat Jun 14 14:14:33 EEST 2008
Salut,
Am aceeasi problema (cu care ma chinuiesc de 3 zile :D): no_of_rules .....
failed: success.
Nu inteleg de ce pentru ca trimit user-ului numarul de reguli curent si
intorc -ENOSPC.
if (copy_to_user((void*) arg, &nr_rules, sizeof(int)))
return -EFAULT;
return -ENOSPC;
Imi scapa ceva?
multumesc anticipat,
Laura
2008/5/31 Razvan Deaconescu <razvan.deaconescu at cs.pub.ro>:
> On Sat, 2008-05-31 at 16:52 +0300, Laura Cristina wrote:
> > In enuntul temei nu zice nimic despre asta, si am incercat in ambele
> > moduri tot imi da failed.. poate e de la altceva.
>
> Verifica in test ce trebuie sa intorci. Daca testul cere -EINVAL sau
> cere sa intoarca 0 verifica daca intorci aceeasi valoare din modulul
> tau.
>
> Razvan
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> pso mailing list
> pso at cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20080614/adb7f2c8/attachment.htm
More information about the pso
mailing list