mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2024-12-03 12:42:05 +00:00
add gid system and modify hiprofiler mode
Signed-off-by: zyxzyx <zhangyixin19@huawei.com>
This commit is contained in:
parent
df4dd4ed12
commit
57105ad2ef
@ -11,5 +11,5 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
hiviewdfx.hiprofiler.=hiprofiler:shell:0775
|
||||
hiviewdfx.hiprofiler.=hiprofiler:shell:0777
|
||||
libc.hook_mode.=root:shell:0775
|
||||
|
@ -6,7 +6,7 @@
|
||||
"caps" : ["CAP_KILL", "CAP_SYS_PTRACE"],
|
||||
"once" : 1,
|
||||
"uid" : "hiprofiler",
|
||||
"gid" : ["shell", "readproc"],
|
||||
"gid" : ["shell", "readproc", "system"],
|
||||
"socket" : [{
|
||||
"name" : "hook_unix_socket",
|
||||
"family" : "AF_UNIX",
|
||||
@ -25,7 +25,7 @@
|
||||
"caps" : ["CAP_KILL", "CAP_SYS_PTRACE"],
|
||||
"once" : 1,
|
||||
"uid" : "hiprofiler",
|
||||
"gid" : ["shell", "readproc"],
|
||||
"gid" : ["shell", "readproc", "system"],
|
||||
"socket" : [{
|
||||
"name" : "hook_unix_socket",
|
||||
"family" : "AF_UNIX",
|
||||
|
Loading…
Reference in New Issue
Block a user