add gid system and modify hiprofiler mode

Signed-off-by: zyxzyx <zhangyixin19@huawei.com>
This commit is contained in:
zyxzyx 2023-12-05 14:56:36 +08:00
parent df4dd4ed12
commit 57105ad2ef
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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",