97 |
97 |
98 // |
98 // |
99 // PlatSec. |
99 // PlatSec. |
100 // |
100 // |
101 |
101 |
102 #ifdef FSHELL_CAP_ALL |
102 #if defined(FSHELL_CAP_ALL) |
103 |
103 |
104 #define FSHELL_CAP_MMP_MAX all |
104 #define FSHELL_CAP_MMP_MAX all |
|
105 #define FSHELL_CAP_MMP_NORMAL all -tcb |
105 |
106 |
106 // System Capabilities |
107 // System Capabilities |
|
108 #define FSHELL_CAP_TCB |
107 #define FSHELL_CAP_ALLFILES |
109 #define FSHELL_CAP_ALLFILES |
108 #define FSHELL_CAP_COMMDD |
110 #define FSHELL_CAP_COMMDD |
109 #define FSHELL_CAP_DISKADMIN |
111 #define FSHELL_CAP_DISKADMIN |
110 #define FSHELL_CAP_DRM |
112 #define FSHELL_CAP_DRM |
111 #define FSHELL_CAP_MULTIMEDIADD |
113 #define FSHELL_CAP_MULTIMEDIADD |
124 #define FSHELL_CAP_NETWORKSERVICES |
126 #define FSHELL_CAP_NETWORKSERVICES |
125 #define FSHELL_CAP_READUSERDATA |
127 #define FSHELL_CAP_READUSERDATA |
126 #define FSHELL_CAP_USERENVIRONMENT |
128 #define FSHELL_CAP_USERENVIRONMENT |
127 #define FSHELL_CAP_WRITEUSERDATA |
129 #define FSHELL_CAP_WRITEUSERDATA |
128 |
130 |
|
131 #elif defined(FSHELL_OPEN_SIGNED) |
|
132 |
|
133 // According to https://www.symbiansigned.com/app/page/public/openSignedOnline.do this is the subset we're allowed |
|
134 #define FSHELL_CAP_POWERMGMT |
|
135 #define FSHELL_CAP_PROTSERV |
|
136 #define FSHELL_CAP_READDEVICEDATA |
|
137 #define FSHELL_CAP_SURROUNDINGSDD |
|
138 #define FSHELL_CAP_SWEVENT |
|
139 #define FSHELL_CAP_TRUSTEDUI |
|
140 #define FSHELL_CAP_WRITEDEVICEDATA |
|
141 #define FSHELL_CAP_LOCALSERVICES |
|
142 #define FSHELL_CAP_LOCATION |
|
143 #define FSHELL_CAP_NETWORKSERVICES |
|
144 #define FSHELL_CAP_READUSERDATA |
|
145 #define FSHELL_CAP_USERENVIRONMENT |
|
146 #define FSHELL_CAP_WRITEUSERDATA |
|
147 |
|
148 #define FSHELL_CAP_MMP_MAX PowerMgmt ReadDeviceData WriteDeviceData TrustedUI ProtServ SwEvent NetworkServices LocalServices ReadUserData WriteUserData Location SurroundingsDD UserEnvironment |
|
149 #define FSHELL_CAP_MMP_NORMAL FSHELL_CAP_MMP_MAX |
|
150 // Don't define FSHELL_PROTECTED_UIDS |
|
151 |
129 #endif // FSHELL_CAP_ALL |
152 #endif // FSHELL_CAP_ALL |
130 |
|
131 #define FSHELL_CAP_MMP_NORMAL FSHELL_CAP_MMP_MAX -tcb |
|
132 |
153 |
133 // Yuk the __GNUC__ checks are needed to support SBS which changed the CPP version that parses bld.infs and mmps... |
154 // Yuk the __GNUC__ checks are needed to support SBS which changed the CPP version that parses bld.infs and mmps... |
134 #ifndef FSHELL_ROM_INCLUDE |
155 #ifndef FSHELL_ROM_INCLUDE |
135 #if __GNUC__ >= 3 |
156 #if __GNUC__ >= 3 |
136 #define FSHELL_ROM_INCLUDE(_FILE_) _FILE_ /epoc32/rom/include/_FILE_ |
157 #define FSHELL_ROM_INCLUDE(_FILE_) _FILE_ /epoc32/rom/include/_FILE_ |
202 #endif |
224 #endif |
203 |
225 |
204 #ifdef FSHELL_MEMORY_ACCESS_SUPPORT |
226 #ifdef FSHELL_MEMORY_ACCESS_SUPPORT |
205 #define FSHELL_CORE_SUPPORT_GETSTACK |
227 #define FSHELL_CORE_SUPPORT_GETSTACK |
206 #define FSHELL_CORE_SUPPORT_CHUNKINFO |
228 #define FSHELL_CORE_SUPPORT_CHUNKINFO |
|
229 #define FSHELL_CORE_SUPPORT_OBJINFO |
207 #define FSHELL_CORE_SUPPORT_SVRINFO |
230 #define FSHELL_CORE_SUPPORT_SVRINFO |
|
231 #define FSHELL_CORE_SUPPORT_READMEM |
208 #define FSHELL_CORE_SUPPORT_FDB |
232 #define FSHELL_CORE_SUPPORT_FDB |
209 #ifndef FSHELL_NO_SUPPORT_BUILTIN_REBOOT |
233 #ifndef FSHELL_NO_SUPPORT_BUILTIN_REBOOT |
210 #define FSHELL_CORE_SUPPORT_BUILTIN_REBOOT |
234 #define FSHELL_CORE_SUPPORT_BUILTIN_REBOOT |
211 #endif |
235 #endif |
212 #endif |
236 #endif |
527 #define FSHELL_UID_EXTRABTRACE 0x10286F6F |
549 #define FSHELL_UID_EXTRABTRACE 0x10286F6F |
528 #define FSHELL_UID_MEMSPY 0x10286F70 |
550 #define FSHELL_UID_MEMSPY 0x10286F70 |
529 #define FSHELL_UID_EXTRABTRACEK 0x10286F71 |
551 #define FSHELL_UID_EXTRABTRACEK 0x10286F71 |
530 #define FSHELL_UID_TESTEXECUTE 0x10286F72 |
552 #define FSHELL_UID_TESTEXECUTE 0x10286F72 |
531 #define FSHELL_UID_CONSOLEEXTENSIONS 0x10286F73 |
553 #define FSHELL_UID_CONSOLEEXTENSIONS 0x10286F73 |
|
554 #define FSHELL_UID_TCONSOLE 0x10286F7A |
|
555 #define FSHELL_UID_TENVARGUMENTS 0x10286F7B |
|
556 #define FSHELL_UID_TFSHELLARGUMENTS 0x10286F7C |
|
557 #define FSHELL_UID_TLAST 0x10286F7D |
|
558 #define FSHELL_UID_TNONCIFARGUMENTS 0x10286F7E |
|
559 #define FSHELL_UID_TINTEGER 0x10286F8C |
|
560 #define FSHELL_UID_DEFCONS 0x10286F7F |
|
561 #define FSHELL_UID_GUICONS 0x10286F80 |
|
562 #define FSHELL_UID_NULLCONS 0x10286F81 |
|
563 #define FSHELL_UID_RCONS 0x10286F82 |
|
564 #define FSHELL_UID_TEFCONS 0x10286F83 |
|
565 #define FSHELL_UID_TERMINALKEYBOARDCONS 0x10286F84 |
|
566 #define FSHELL_UID_VT100BTCONS 0x10286F85 |
|
567 #define FSHELL_UID_VT100BUSDEVCONS 0x10286F86 |
|
568 #define FSHELL_UID_VT100CONS 0x10286F87 |
|
569 #define FSHELL_UID_VT100DEBUGPORT 0x10286F88 |
|
570 #define FSHELL_UID_VT100TCPCONS 0x10286F89 |
|
571 #define FSHELL_UID_VT100USBCONS 0x10286F8A |
|
572 #define FSHELL_UID_WIN32CONS 0x10286F8B |
532 |
573 |
533 #else // Not FSHELL_PROTECTED_UIDS |
574 #else // Not FSHELL_PROTECTED_UIDS |
534 |
575 |
535 #define FSHELL_UID_ACTIVEVIEW 0xE02866D2 |
576 #define FSHELL_UID_ACTIVEVIEW 0xE02866D2 |
536 #define FSHELL_UID_BACKUP 0xE0285E0D |
577 #define FSHELL_UID_BACKUP 0xE0285E0D |
537 #define FSHELL_UID_BACKUP_CHILD 0xE0285E0E |
578 #define FSHELL_UID_BACKUP_CHILD 0xE0285E0E |
538 #define FSHELL_UID_SMS 0xE02864BE |
579 #define FSHELL_UID_SMS 0xE02864BE |
539 #define FSHELL_UID_BTRACE_PARSER 0xE0285E09 |
580 #define FSHELL_UID_BTRACE_PARSER 0xE0285E09 |
540 #define FSHELL_UID_TINTERVAL 0xE0285E0A |
581 #define FSHELL_UID_TINTERVAL 0xE0285E0A |
|
582 #define FSHELL_UID_BTINCOMINGSERIAL 0xE0285E04 |
|
583 #define FSHELL_UID_BTSERIALTEST 0xE0285e14 |
541 #define FSHELL_UID_CLOGGERDEBUGROUTER 0xE02831C7 |
584 #define FSHELL_UID_CLOGGERDEBUGROUTER 0xE02831C7 |
542 #define FSHELL_UID_COMSDBGUTIL_CLOGGER_STUB 0xE0004d0a |
585 #define FSHELL_UID_COMSDBGUTIL_CLOGGER_STUB 0xE0004d0a |
543 #define FSHELL_UID_FLOGGER_CLOGGER_STUB 0xE02866D3 |
586 #define FSHELL_UID_FLOGGER_CLOGGER_STUB 0xE02866D3 |
544 #define FSHELL_UID_CLOGGERBUFFERED 0xE02831CE |
587 #define FSHELL_UID_CLOGGERBUFFERED 0xE02831CE |
545 #define FSHELL_UID_CLOGGER 0xE0272EFE |
588 #define FSHELL_UID_CLOGGER 0xE0272EFE |
659 #define FSHELL_UID_EXTRABTRACE 0xE0286F6F |
702 #define FSHELL_UID_EXTRABTRACE 0xE0286F6F |
660 #define FSHELL_UID_MEMSPY 0xE0286F70 |
703 #define FSHELL_UID_MEMSPY 0xE0286F70 |
661 #define FSHELL_UID_EXTRABTRACEK 0xE0286F71 |
704 #define FSHELL_UID_EXTRABTRACEK 0xE0286F71 |
662 #define FSHELL_UID_TESTEXECUTE 0xE0286F72 |
705 #define FSHELL_UID_TESTEXECUTE 0xE0286F72 |
663 #define FSHELL_UID_CONSOLEEXTENSIONS 0xE0286F73 |
706 #define FSHELL_UID_CONSOLEEXTENSIONS 0xE0286F73 |
|
707 #define FSHELL_UID_TCONSOLE 0xE0286F7A |
|
708 #define FSHELL_UID_TENVARGUMENTS 0xE0286F7B |
|
709 #define FSHELL_UID_TFSHELLARGUMENTS 0xE0286F7C |
|
710 #define FSHELL_UID_TINTEGER 0xE0286F8C |
|
711 #define FSHELL_UID_TLAST 0xE0286F7D |
|
712 #define FSHELL_UID_TNONCIFARGUMENTS 0xE0286F7E |
|
713 #define FSHELL_UID_DEFCONS 0xE0286F7F |
|
714 #define FSHELL_UID_GUICONS 0xE0286F80 |
|
715 #define FSHELL_UID_NULLCONS 0xE0286F81 |
|
716 #define FSHELL_UID_RCONS 0xE0286F82 |
|
717 #define FSHELL_UID_TEFCONS 0xE0286F83 |
|
718 #define FSHELL_UID_TERMINALKEYBOARDCONS 0xE0286F84 |
|
719 #define FSHELL_UID_VT100BTCONS 0xE0286F85 |
|
720 #define FSHELL_UID_VT100BUSDEVCONS 0xE0286F86 |
|
721 #define FSHELL_UID_VT100CONS 0xE0286F87 |
|
722 #define FSHELL_UID_VT100DEBUGPORT 0xE0286F88 |
|
723 #define FSHELL_UID_VT100TCPCONS 0xE0286F89 |
|
724 #define FSHELL_UID_VT100USBCONS 0xE0286F8A |
|
725 #define FSHELL_UID_WIN32CONS 0xE0286F8B |
664 |
726 |
665 #endif // FSHELL_PROTECTED_UIDS |
727 #endif // FSHELL_PROTECTED_UIDS |
666 |
728 |
667 #define FSHELL_UID2_FSHELL_DLL 0x102864C8 |
729 #define FSHELL_UID2_FSHELL_DLL 0x102864C8 |
668 #define FSHELL_UID2_FSHELL_EXE 0x102835BE |
730 #define FSHELL_UID2_FSHELL_EXE 0x102835BE |