×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    24

    what capability is need of "RThread.Open"

    When the following codes cant be run due to security reason.Help?

    TFindThread findThread;
    TFullName strCurrentThreadName;
    RThread oThread;
    while (findThread.Next(strCurrentThreadName) == KErrNone)
    {
    User::LeaveIfError(oThread.Open(strCurrentThreadName));
    }

    My MMP security set is below, and I use a devcert which includes the capabilities list below.

    VENDORID 0
    SECUREID 0xE0BEAF1E
    CAPABILITY CommDD DiskAdmin LocalServices Location MultimediaDD NetworkControl NetworkServices PowerMgmt ProtServ ReadDeviceData ReadUserData SurroundingsDD SwEvent TrustedUI UserEnvironment WriteDeviceData WriteUserData

  2. #2
    Super Contributor
    Join Date
    Jul 2007
    Location
    ShenZhen, China
    Posts
    4,346

    Re: what capability is need of "RThread.Open"

    for your code, you want open all process's all thread, it need TCB cap.
    ----------------------------
    坚持学习, 坚持编码
    http://www.devdiv.net/
    qxiaoyuan

  3. #3
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: what capability is need of "RThread.Open"

    TCB is sort of true, actually you would need to write a kernel side driver to go theough the DThread's and DProcess's.
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

Similar Threads

  1. Avoiding the Location capability
    By storsjo in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 14
    Last Post: 2009-05-28, 23:19
  2. capability scan result: need DEPENDENT capability
    By neilxp in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 11
    Last Post: 2008-11-13, 04:28
  3. capability for RTP API
    By lss0986 in forum VoIP
    Replies: 1
    Last Post: 2007-05-11, 04:30
  4. S60 2nd to 3rd/ PlatformSecurity / Capabilities
    By jarkoos in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2007-04-14, 14:08
  5. What is Illegal Capability
    By Roose in forum Symbian
    Replies: 2
    Last Post: 2006-03-09, 15:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×