An Insight into Linglong (II): Linglong

Components and Permission Management

In the last article, we learned about the reasons why we chose the Linglong solution. In this article, we will introduce the Linglong components - what they are, what operations they are used for, and what their functions are. Now, let's learn about the package build tool, package management tool, and permission management mechanisms!

Package build tool

The Linglong package build tool "ll-builder", is a tool for developers to build Linglong applications. It supports building apps in an independent sandbox, provides a complete SDK development kit, and supports mainstream compilation and debugging tools, such as GCC, LLVM, and GDB.

Package management tool

The Linglong package management tool "ll-cli" is a command-line tool, used to query, install, uninstall, run, kill, debug, and update Linglong applications. To get the complete help information, view the specific content through the "ll-cli --help" command.

Permission management mechanism

To protect user privacy, Linglong has designed a control mechanism for applications to access personal user data. It mainly includes access control to users' home directories, calendar and event data, and devices such as cameras and microphones.

Linglong's permission management mechanism relies on active detection and active control. By monitoring the access actions of applications to system resources, it actively informs users and requests permission from users, which decreases the migration workload of developers, and also reduces the possibility that the permission management mechanism may be bypassed.

Besides the access control mechanism for protecting personal user data, what are other advantages of the permission management mechanism? In the next article, we will focus on introducing its characteristics, so stay tuned!

Official website: deepin.org/en Telegram: t.me/deepin Twitter: twitter.com/linux_deepin Reddit: reddit.com/r/deepin Discord:discord.gg/xjjkcp6H2P