• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Startup Subsystem Changelog
2## cl.startup.1 ptrace Available Only in Developer Mode
3
4**Access Level**
5
6Public API
7
8**Reason for the Change**
9
10To further ensure security and privacy, the use of **ptrace** for application debugging is prohibited in non-developer mode when a developer certificate is absent.
11
12**Change Impact**
13
14This change requires application adaptation.
15
16Before change: Third-party applications can call the **ptrace** API in any mode.
17
18After change: Third-party applications can call the **ptrace** API only when the device is in developer mode and the application is compiled in debug mode.
19
20 **Start API Level**
21
22N/A.
23
24**Change Since**
25
26OpenHarmony SDK 6.0.0.32
27
28**Key API/Component Changes**
29
30sys/ptrace.h
31
32**Adaptation Guide**
33
34Apply for a developer certificate for a third-party application, compile the application in debug mode, and call the **ptrace** API when the developer mode is enabled on the device.
35