Difference between revisions of "Symbian OS Platform Security/Errata"

From Franklin Heath Ltd Wiki
Jump to: navigation, search
(Link back to parent book page)
(Undo revision 747 by 2.25.70.93 (Talk))
 
(18 intermediate revisions by 9 users not shown)
Line 1: Line 1:
Book: [[Symbian Press Books#SymbianOSPlatformSecurity|Platform Security on Symbian OS]]
+
Book: [[Symbian OS Platform Security]]
  
 +
These errata apply to the paper edition; they have been corrected in this wiki edition.
  
Page 102-103
+
==Page 32==
* The table on 102 says 8 maps to 8 maps to 1 maps to C2 and EPanicClient.
+
====Issues:====
* Directly opposite on 103 the text walks through this example, but says the action is {{Icode|EFailClient}} not {{Icode|EPanicClient}}. If we are panicing, {{Icode|KErrPermissionDenied}} is not returned. So either the diagram needs correcting, in which case there wouldn't be any {{Icode|EPanicClient}} examples in the diagram and there needs to be one from a teaching point of view; or the text needs to be corrected. I'd get back to the author as he'll know what he wants to achieve.
+
*{{Icode|Rcall::Dial(n)}} requires {{Icode|NetworkControl}} capability as well as {{Icode|NetworkServices}}.
 +
====Corrections:====
 +
*p.32 (figure 2.4): replace {{Icode|Rcall::Dial(n)}} with {{Icode|CTelephony::DialNewCall()}}
  
Page 104
+
==Page 46==
* The first paragraph "If you get confused..." is a combination of wrong, misleading and difficult to understand:
+
====Issues:====
** the IPC number does not go through a reverse lookup, currently a binary chop search is used in {{Icode|CPolicyServer::FindPolicyElement();}}
+
*Zero is not a protected SID.
** the sentence also uses the term "forward lookup" twice, this is not a term I've found having looked in several computing dictionaries.
+
====Corrections:====
 +
*p.46: replace "{{Icode|0x00000000–0x7FFFFFFF}} is the ‘protected range’" with "{{Icode|0x00000001–0x7FFFFFFF}} is the ‘protected range’"
  
<!-- Categories -->
+
==Pages 102-104==
[[Category: Book]]
+
 
 +
====Issues:====
 +
*The text states that lack of the appropriate capability for IPC number 8 in figure 5.1 would complete the message with a {{Icode|KErrPermissionDenied}} error code, but the figure shows an {{Icode|iAction}} of {{Icode|EPanicClient|}}.
 +
*The code sample shows the {{Icode|iPolicy}} for the {{Icode|iOnConnect}} element as a {{Icode|C1}} (single capability) policy, but the figure shows {{Icode|S2}}.
 +
*The phrases "reverse lookup" and "forward lookup" on p.104 are unclear.
 +
 
 +
====Corrections:====
 +
*p.102 (figure 5.1): {{Icode|iAction}} for {{Icode|iElements[1]}} should be {{Icode|EFailClient}}
 +
*p.102 (figure 5.1): {{Icode|iPolicy}} for {{Icode|iElements[3]}} should be {{Icode|C1}}
 +
*p.102 (figure 5.1): {{Icode|iAction}} for {{Icode|iElements[3]}} should be {{Icode|EPanicClient}}
 +
*p.104: second initialiser for {{Icode|myElements[1]}} should be {{Icode|CPolicyServer::EFailClient}}
 +
*p.104: second initialiser for {{Icode|myElements[3]}} should be {{Icode|CPolicyServer::EPanicClient}}
 +
*p.104 first paragraph of text should read "The process followed to look up the appropriate {{Icode|TPolicyElement}} could be confusing so, to summarize:  The IPC number is first used to do a binary search in {{Icode|iRanges}}; the index of the result (the ''range index'') is then used as an index into {{Icode|iElementsIndex}}, and the result of that (the ''policy index'') is used as an index into {{Icode|iElements}}."
 +
 
 +
==Page 170==
 +
====Issues:====
 +
*Cross references to the wrong chapter.
 +
====Corrections:====
 +
*p.170 ("UID Overload"): change references to Chapter 2 to reference Chapter 3

Latest revision as of 21:01, 3 March 2012

Book: Symbian OS Platform Security

These errata apply to the paper edition; they have been corrected in this wiki edition.

Page 32

Issues:

  • Rcall::Dial(n) requires NetworkControl capability as well as NetworkServices.

Corrections:

  • p.32 (figure 2.4): replace Rcall::Dial(n) with CTelephony::DialNewCall()

Page 46

Issues:

  • Zero is not a protected SID.

Corrections:

  • p.46: replace "0x00000000–0x7FFFFFFF is the ‘protected range’" with "0x00000001–0x7FFFFFFF is the ‘protected range’"

Pages 102-104

Issues:

  • The text states that lack of the appropriate capability for IPC number 8 in figure 5.1 would complete the message with a KErrPermissionDenied error code, but the figure shows an iAction of EPanicClient.
  • The code sample shows the iPolicy for the iOnConnect element as a C1 (single capability) policy, but the figure shows S2.
  • The phrases "reverse lookup" and "forward lookup" on p.104 are unclear.

Corrections:

  • p.102 (figure 5.1): iAction for iElements[1] should be EFailClient
  • p.102 (figure 5.1): iPolicy for iElements[3] should be C1
  • p.102 (figure 5.1): iAction for iElements[3] should be EPanicClient
  • p.104: second initialiser for myElements[1] should be CPolicyServer::EFailClient
  • p.104: second initialiser for myElements[3] should be CPolicyServer::EPanicClient
  • p.104 first paragraph of text should read "The process followed to look up the appropriate TPolicyElement could be confusing so, to summarize: The IPC number is first used to do a binary search in iRanges; the index of the result (the range index) is then used as an index into iElementsIndex, and the result of that (the policy index) is used as an index into iElements."

Page 170

Issues:

  • Cross references to the wrong chapter.

Corrections:

  • p.170 ("UID Overload"): change references to Chapter 2 to reference Chapter 3