[android-kernel] Re: [android-porting] how to autoload tun.ko

2011-11-04 Thread preetam m.n
Correct me if I am wrong, after every reboot the init.rc file is created out of your system.img file. So even if you modify your init.rc file, when ever you reboot your phone, It will rewrite everything. - Preetam On Sat, Nov 5, 2011 at 4:09 AM, ion apollo wrote: > Hi > > I want to autoload tun

[android-kernel] Re: chmod 777 not working with init.rc

2011-11-04 Thread Pratik Prajapati
Ok. Thanks. In fact I modified the driver which was exporting this sysfs entry. Not driver creates the the entry with 777 perm only. -- Regards, Pratik Prajapati On Wed, Nov 2, 2011 at 12:38 PM, Sylvain Huard wrote: > I had a very similar problem with a "chmod 0777 filename" not working in > m

[android-kernel] Re: What permissions does AndroidManifest.xml need to access a custom device driver?

2011-11-04 Thread Belvedere Computer Services
where processes can share the same key readily using the key system / code signing there is code in the API to do IPC & all that need be done is find it On Oct 14, 7:09 pm, Anil wrote: > I am calling the driver from an Android program (OMAP4/Blaze). It > calls a c++ program via JNI which then cal

[android-kernel] Re: IPsec-Openssl-CryptoAPI-Hardware acceleration

2011-11-04 Thread Belvedere Computer Services
there is a layer "built in" for exactly the purpose you propose http://source.android.com/tech/security/index.html describes the entire area in elaborate detail On Oct 13, 1:08 am, tilak wrote: > Hi Crypto friends, > > We are designing a new hardware crypto module with DES,SHA ,MD5 and > AES to

[android-kernel] Re: Android source git permissions

2011-11-04 Thread Belvedere Computer Services
i was trying that link and mostly chickened out but not bcs the link is what you folks are probably thinking I was just afraid because I did not know what I was doing at the repository ~ what you folks are encountering is something called OAuth and is a totally 100% legit authorization mechanism th

[android-kernel] Re: OpenBSD Cryptographic Framework (OCF) Port to android

2011-11-04 Thread Belvedere Computer Services
package java.security package javax.crypto just punch in to developer.android it comes up On Nov 1, 8:06 am, tilak wrote: > Hi Crypto Friends, > > I didn't see anyone porting OpenBSD Cryptographic Framework (OCF) to > Android. > > My requirement is a good cryptographic framework for Android.I f

[android-kernel] Re: Asynchronous Crypto API interface

2011-11-04 Thread Belvedere Computer Services
it means they dont have much more done yet than you do if you have Crypto to a useable state then all that need be done is us in in Async mode ~ though most get it backwards on how to go about it - nasty place to fail but it is remarkably simple once one gets the hang of it = you do new on whateve

Re: [android-kernel] alert notification from kernel

2011-11-04 Thread Durgadoss Ramanathan
Hi Andria, You can Poll from the User Space using "Handlers" as Preetam mentioned. But "Polling" is bad. Instead you can use UEvents. The ideal (Android) way would be: 1. Let your kernel module send an UEvent, whenever the alert raises. This can be done by KOBJ_UEVENT(,,.,,) 2. Create a Simp