[ilugd]Re: giving root privileges to a function]

2004-02-26 Thread arundeep singh
given the availability of so many libraries and abstractions, why do you need to access a h/w directly? well i am still not directly communicating with hardware using java. i am making to some C functions from java that requires root privileges. =

[ilugd] Re: giving root privileges to a function

2004-02-26 Thread arundeep singh
Now this looks like an interesting problem. Possible solution maybe to run the JVM in privileged mode with a security policy defined for JVM disallowing access to other system resources. -Tarun well it seems good to me, but could u just tell how to do that, as i was thinking the same but

[ilugd] Re: giving root privileges to a function

2004-02-25 Thread Tarun Dua
arundeep singh wrote: i had build the library this way but when i call myfunction from user space it remain unable to complete the task because it don't have root privilges. is there anyway to accomplish that. i don't know whether its possible or not or even if i remain able to make my

[ilugd] Re: giving root privileges to a function

2004-02-25 Thread Tarun Dua
arundeep singh wrote: executable programs. here i am trying to build library which contains functions and yes i am calling these functions from Java environment using JNI. that where i got in trouble, as i had already done this successfuly in C by writing a executable with setuid bit set,