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. DISTINCT or GROUP BY CallLogs.Calls

I am trying to query CallLogs.Calls using getContentResolver().Query()
but it doesn't give me a option to do Distinct or Group By.

       I know that if you use SQLite query and database you can do
this but I don't know what to pass in Table name argument.

       I am confuse between Content_URI and SQLite database and table.
Can I use Content_URI with SQLIte query? if


2. A sample mobile banking solution

Hi all,
        Can anybody tell me something about the security architecture
required to build a mobile banking solution in android?
Warm Regards,

Warm Regards,


3. JDOM 1.1.1 could not load default SAX parser with android sdk-windows-1.5_r3

4. Multiple methods using same worker thread

5. MediaPlayer playback is interrupted by user interface interaction

6. android audio problems

7. Missed Calls - Notification