Skip to content

Mink: Open Source mink-related components#39

Open
jiaxli-QC wants to merge 7 commits intoqualcomm:mainfrom
jiaxli-QC:MinkOSS
Open

Mink: Open Source mink-related components#39
jiaxli-QC wants to merge 7 commits intoqualcomm:mainfrom
jiaxli-QC:MinkOSS

Conversation

@jiaxli-QC
Copy link
Copy Markdown
Contributor

Add the daemon's source files to the repo and make them open-source.

  • Libminkcredentials
  • libminksocket_vendor
  • libfdwrapper_vendor
  • libminkhub
  • hlosminkdaemon
  • libminkdescriptor
  • ta_config.json

This commit only introduces the headers and sources; adaptation and enablement (platform integration, configuration, tests) will be done in subsequent commits.

@jiaxli-QC jiaxli-QC force-pushed the MinkOSS branch 2 times, most recently from c33e62c to bc1a19b Compare March 9, 2026 08:53
@jiaxli-QC
Copy link
Copy Markdown
Contributor Author

jiaxli-QC commented Mar 9, 2026

bc1a19b

  • Add README.md file in libmink and mink_platform folder.
  • Correct the "proprietary", "owner" and license in makefiles.

@jiaxli-QC jiaxli-QC force-pushed the MinkOSS branch 2 times, most recently from 1600f6f to bcdc678 Compare March 17, 2026 08:24
@jiaxli-QC
Copy link
Copy Markdown
Contributor Author

bcdc678

  • Fix compilation issue on Android

libminkcredentials is a low-level toolkit on the Mink platform
responsible for credential serialization and secure handling. Clients
such as QTVM-related services and MinkHub use it to construct, parse,
and validate credentials.

Signed-off-by: Jiaxing Li <jiaxing.li@oss.qualcomm.com>
@jiaxli-QC jiaxli-QC force-pushed the MinkOSS branch 2 times, most recently from 36ee57f to 38e0db1 Compare March 17, 2026 10:41
@jiaxli-QC
Copy link
Copy Markdown
Contributor Author

38e0db1

  • Align the latest codebase with development branch.

@jiaxli-QC jiaxli-QC force-pushed the MinkOSS branch 3 times, most recently from 4f0fa98 to ea10c34 Compare March 23, 2026 06:09
@jiaxli-QC
Copy link
Copy Markdown
Contributor Author

ea10c34

  • Fix compilation issue on Linux Embedded system

Copy link
Copy Markdown
Contributor

@harshaldev27 harshaldev27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please avoid saying things like 'Open sourcing'. Just say 'Add support for lib*" and explain what kind of functionality this provides.

@@ -0,0 +1 @@
include $(call all-subdir-makefiles) No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please include new line at the End of File.

libminksocket_vendor is the universal inter-process communication (IPC)
and shared memory transport layer for the Mink platform on Android's
vendor partition. It provides unified communication and data channels
for QTVM and security components.

Signed-off-by: Jiaxing Li <jiaxing.li@oss.qualcomm.com>
libminkhub is a service hub library in the Mink framework that manages
connections and tool logic on top of MinkSocket and Credentials. It
exposes a unified Hub interface (minkHub.h) for upper-level components
to manage Mink service registration, discovery, and secure communication
in a centralized manner.

Signed-off-by: Jiaxing Li <jiaxing.li@oss.qualcomm.com>
libfdwrapper_vendor is a core library in the MinkIPC framework that
encapsulates and manages file descriptors for inter-process
communication operations.

Signed-off-by: Jiaxing Li <jiaxing.li@oss.qualcomm.com>
libminkdescriptor wraps the kernel driver interface (/dev/smcinvoke) and
provides an object-oriented MinkIPC interface for applications. It
enables secure data transfer, file descriptor passing (such as shared
memory), and callback handling between the Normal World and Secure
World.

Signed-off-by: Jiaxing Li <jiaxing.li@oss.qualcomm.com>
ta_config.json is the TA configuration file provided for minkdaemon.

Signed-off-by: Jiaxing Li <jiaxing.li@oss.qualcomm.com>
hlosMinkDaemon is a daemon service running on the HLOS (High-Level OS)
side that interfaces with the MinkHub/QTVM security environment. It
manages trusted application (TA) loading, Mink security services, and
provides a unified secure channel and service entry point for client
applications.

Signed-off-by: Jiaxing Li <jiaxing.li@oss.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants