Are Linux syscalls safe in Android?

98 views
Skip to first unread message

Felipe Monteiro de Carvalho

unread,
Nov 16, 2011, 11:11:31 AM11/16/11
to android-ndk
Hello,

Standard Linux binaries produced by the Free Pascal Compiler use
syscalls instead of libc routines to implement RTL functions, to avoid
depending in the libc.

I tested and this works flawlessly in Android, the same kernel
syscalls from Linux work fine and the application runs normally.

But some people claim that Google does not claim that Android is
compatible with Linux, so Google could delete / modify syscalls and
therefore break Free Pascal applications which relly on them.

Is that true? Or are the syscalls reliable like in Linux?

thanks,

Felipe Monteiro de Carvalho

David Turner

unread,
Nov 16, 2011, 11:15:57 AM11/16/11
to andro...@googlegroups.com
The Android team has not intention to delete or modify syscalls, that would be crazy.
On the other hand, there is no guarantee on the exact set of syscalls or config options supported by a given device kernel.

When it comes to simple runtime syscalls, these shouldn't be a problem, and would advise you to keep doing what you're doing.

Regards


 
thanks,

Felipe Monteiro de Carvalho

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.


Felipe Monteiro de Carvalho

unread,
Nov 17, 2011, 10:09:17 AM11/17/11
to android-ndk
Thanks for clarifying this =)

--
Felipe Monteiro de Carvalho
Reply all
Reply to author
Forward
0 new messages