>>>>> "PH" == Philip Ho <[EMAIL PROTECTED]> writes:
PH> There is one application which uses system time to keep track of the
PH> work progress of the worker (user). But, as you know, the worker (user)
PH> can easily change the system time in the Prefs application.

I do not know why you need to let not user keep out of changing
time, but I beleave even blocking the way you have told, will not do
any big work.

Dragnball/EZ Dragnball which Palm is using, have Real Time Clock
unit inside. You can easily write a program to change the value of
RTC directly. If you change the RTC, system time will automatically
change too, without any notice launching from OS.
# And, to install/deinstall such program is quite easy.
# All you need is another Palm with IR. Application Launcher will
# let you share the program between two palms, you know.


I beleave first thing you have to do is think about case above.
If you can't accept the above case, I mean, if you want to say that
you also want to prevent user from accessing RTC directly, I beleave
using MC68000 or Dragonball is mistake. You need CPU with MMU, like
MC68030, which have strong protection against user mode. So,
choosing Palm is not the right choice.


If you can accept the case above, then story is quite easy.

Create the Hack that will do "nothing" for TimSetSeconds().
Then nobody can change the system time.

When manager( or who ever that is ) wants to adjust the system time,
install the application that will access 'RTC' directly. And adjust
the time using the RTC direct access. Unless you want to change the 
date, this, I beleave, will work fine.
---- 
Kenichi Okuyama@Tokyo Research Lab. IBM Japan. Co.

Reply via email to