19 Commits

Author SHA1 Message Date
openeuler-ci-bot
6ebf37d79b
!26 [sync] PR-25: 修复sas_dev命令显示sas设备信息为0问题
From: @openeuler-sync-bot 
Reviewed-by: @veega2022 
Signed-off-by: @veega2022
2023-04-10 03:39:38 +00:00
veega2022
cd762a1841 fix sas device info print error bug
fix bug for sas device info print is 0, because the O2 compilation optimization
is enabled. we use the volatile modifier added for pointer.

Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 8196ce5ddeaaa0f08b6706bdff9ac1761b09a53d)
2023-04-10 09:31:33 +08:00
openeuler-ci-bot
0828b9c08e
!22 [sync] PR-21: 修复hikptool包的安全编译pie不生效问题
From: @openeuler-sync-bot 
Reviewed-by: @veega2022 
Signed-off-by: @veega2022
2023-03-16 05:29:18 +00:00
veega2022
81496aaf61 fix hikptool security compilation PIE issue
add link option -pie and change the link ld file PROVIDE address to 0x0

Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 9a9d48a8af4934e98a0a1496650cd0904602b0ab)
2023-03-16 13:23:32 +08:00
openeuler-ci-bot
dce01aed4c
!19 [sync] PR-18: 修复hikptool包的安全编译告警问题
From: @openeuler-sync-bot 
Reviewed-by: @veega2022 
Signed-off-by: @veega2022
2022-12-15 11:27:07 +00:00
veega2022
9f1240d733 fix compiler security option problem
add compiler option -g -pie -FPIE -Wall
and link option -Wl,-z,relro,-z,now -Wl,-z,noexecstack

Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 01f96238f698e18d01095e3b178126cc67148b28)
2022-12-15 14:35:22 +08:00
openeuler-ci-bot
d49e547b2e
!15 [sync] PR-14: 新增patch修复socip模块,异常退出没有赋值异常返回值问题
From: @openeuler-sync-bot 
Reviewed-by: @veega2022 
Signed-off-by: @veega2022
2022-12-12 06:54:14 +00:00
veega2022
059afc45bd socip: Return -EINVAL when the parameter check fails
add patch for fix socip module problem

Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 7667c8798092fe39837c876b22745ddfd83433f1)
2022-12-12 14:48:38 +08:00
openeuler-ci-bot
1d314064a5
!12 [sync] PR-11: nic_ppp命令增加dump mac和vlan表项功能,修改工具权限为0500
From: @openeuler-sync-bot 
Reviewed-by: @veega2022 
Signed-off-by: @veega2022
2022-11-24 07:26:12 +00:00
veega2022
d6df4a855d add nic_ppp dump mac and vlan function and change tool permission to 0500
add dump mac and vlan table in nic_ppp cmd, change hikptool
execute permission to 0500

note: the hikptool can be executed only by a user with the root permission

Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 82f3c450ffa3976e0f64cea0aa228108b01d6369)
2022-11-24 15:04:34 +08:00
openeuler-ci-bot
9599e17fa3
!9 [sync] PR-8: 修改hikptool工具安装默认权限4550,优化CMakeList添加文件规则
From: @openeuler-sync-bot 
Reviewed-by: @veega2022 
Signed-off-by: @veega2022
2022-11-17 01:27:07 +00:00
veega2022
025b413ba7 optimized CMakeList and change permission for hikptool
modify the rule for file cmd and change tool permission to 4555

Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 999e26b3b7cd4480d080305356e682b0f30e9da8)
2022-11-17 09:01:46 +08:00
openeuler-ci-bot
dbef40d214
!7 [sync] PR-6: 上传hikptool的sas、sata特性源码
From: @openeuler-sync-bot 
Reviewed-by: @veega2022 
Signed-off-by: @veega2022
2022-10-28 11:41:17 +00:00
veega2022
4226e7449a add hikptool sas/sata features source code
add support hikptool sas/sata dfx cmd

Signed-off-by: nifujia <nifujia1@hisilicon.com>
Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 1295d6c31782ff86be152b5a23c5d3c33b74b832)
2022-10-28 17:26:48 +08:00
openeuler-ci-bot
9044f34416
!5 [sync] PR-4: 上传pcie、roce、roh、cxl、serdes、socip特性源码
From: @openeuler-sync-bot 
Reviewed-by: @veega2022 
Signed-off-by: @veega2022
2022-10-28 07:53:56 +00:00
veega2022
d97a7bc7ab add hikptool roce/roh/cxl/serdes/socip/pcie features source code
add support hikptool roce/roh/cxl/serdes/socip/pcie dfx cmd

Signed-off-by: veega2022 <zhuweijia@huawei.com>
Signed-off-by: shushengming <shushengming1@huawei.com>
Signed-off-by: wangkang <wangkang124@hisilicon.com>
Signed-off-by: fangjian <f.fangjian@huawei.com>
Signed-off-by: hesiyuan <hesiyuan4@huawei.com>
(cherry picked from commit 46da047b4fa49bc8268b031081e9c4b6b09fddcc)
2022-10-28 15:17:19 +08:00
openeuler-ci-bot
495206c367
!2 [sync] PR-1: 初始hikptool仓库,新增spec文件和第一版源码
From: @openeuler-sync-bot 
Reviewed-by: @kongzizaixian 
Signed-off-by: @kongzizaixian
2022-10-18 06:12:49 +00:00
veega2022
ceee18228a init repo with spec and source code
first add hikptool spec and source code, first version is 1.0.0

Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 4d5465ee95b986b7a9e57fadb2fbdc9464c1a55d)
2022-10-17 15:39:06 +08:00
openeuler-ci-bot
ef391f2c26
Initial commit 2022-10-12 02:05:10 +00:00