permissions related to /dev/alarm and setting the system

by Richard Schilling » Sat, 11 Apr 2009 03:53:51 GMT

Sponsored Links
 I understand that userland apps on android cannot set the system
clock.  Wanting to know more about how the security mechanism is set
up for the system I did some digging around in the source code.

/dev/alarm is opened R/W to set the system clock using

Can someone explain how the permissions work to determine whether or
not an application has permission to set the clock.

I assume it's just a user level permission, and the write bit for /dev/
alarm is only enabled for the "system user" and not the "userland
user" applications run under.

But, if someone can set me straight or confirm that what I'm thinking
is true that would be great.



Richard Schilling

Other Threads

1. How to turn off camera sound on G1?

Anyone know how I can turn off the camera shutter sound on the G1 from
within my application?

2. reduce list view font size

How can we reduce list view font size?

Can any one know about these.

please reply me.

Thanks in advance


3. ADC deadline drawing near

4. Upload a valid APK ADC2

5. Questions about ImageView.setImageMatrix

6. Paid App Protection, a problem of the whole Android ecosphere

7. Do you got any confirmation after ADC 2 submit?