2006-08-09: Keith Bennett dixit:
> On Wed, Aug 09, 2006, EV wrote:
> > So, why not just convert karma_helper into a "rkd" daemon?  
> > This way, libkarma (and friends) could check whether the
> > daemon is running and, if yes, ask it the needed services
> > such as un/binding, un/mounting, date/time setting, get disk
> > and sensor info, etc.  Otherwise, just proceed as usual with
> > the current functionalities.
> 
> I don't see what advantages this brings over the suid
> executable. Why not just call karma_helper from within riocp,
> etc?

Because of the reasons we discussed some time ago:

2006-07-16: EV dixit:
> System() calls ar fine for me.  But certainly not for a 
> library;  and less so if the system() call is to exec a
> specific program which does not belong to the base system.

2006-07-16: Keith Bennett dixit:
> Agreed. That's one of the reasons that I thought the code was 
> ugly. The only reason I had it there was that the device needed
> to be both unbound and bound in the
> lk_karmaUsb_load_database_smalldb() call.

Also, a daemon is a far more conventional way of providing 
privileged services in user-space than the syscall() method...

Regards,
EV.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-karma-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel

Reply via email to