On the other side, smack labels and rules for RPM packages are set by the rpm-security-plugin, as defined in the RPM manifest file.
For more information regarding this, please consult the following link: https://wiki.tizen.org/wiki/Security/Application_installation_and_Manifest Regards, Alex From: [email protected] [mailto:[email protected]] On Behalf Of Wang, Ning W Sent: Wednesday, September 4, 2013 5:34 AM To: Zhang, Xu U; Glauco Junquera; [email protected]; Ware, Ryan R Subject: Re: [Tizen General] Smack rules Per my understanding, the smack rules for a web app are basic application rules + privilege specific rules. The privileges declared in application's manifest.xml will affect the privilege specific rules. Thanks, Ning From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Zhang, Xu U Sent: Wednesday, September 04, 2013 9:46 AM To: Glauco Junquera; [email protected]<mailto:[email protected]>; Ware, Ryan R Subject: Re: [Tizen General] Smack rules For the first question, I think the smack rule is created at application installation run time. You can refer source code from wrt-installer/src/jonbs/widget_install/task_smack.cpp. I am waiting for the answers for other questions. Zhang Xu From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Glauco Junquera Sent: Wednesday, September 4, 2013 3:16 AM To: [email protected]<mailto:[email protected]> Subject: [Tizen General] Smack rules I recently started studying smack on Tizen and I have some questions that I was unable to find answers by searching the web. The questions are the following: - Are Smack rules created at application installation time? - Does privileges declared on application manifest.xml have a corresponding smack label? - What is responsible for creating smack rules? The kernel? If yes, how can a userspace program request the kernel to create smack rules? I would appreciate if someone could help me =) Thanks, Glauco.
_______________________________________________ General mailing list [email protected] https://lists.tizen.org/listinfo/general
