!28 modify hotpatch id length limit from 20 to 32
From: @xiezhipeng1 Reviewed-by: @hanxinke Signed-off-by: @hanxinke
This commit is contained in:
commit
fdd62d8a70
@ -1,7 +1,7 @@
|
||||
Name: kpatch
|
||||
Epoch: 1
|
||||
Version: 0.9.1
|
||||
Release: 11
|
||||
Release: 12
|
||||
Summary: A Linux dynamic kernel patching infrastructure
|
||||
|
||||
License: GPLv2
|
||||
@ -97,6 +97,12 @@ popd
|
||||
%{_mandir}/man1/*.1.gz
|
||||
|
||||
%changelog
|
||||
* Wed Feb 10 2021 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-12
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:modify hotpatch id length limit from 20 to 32
|
||||
|
||||
* Mon Jan 11 2021 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-11
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
|
||||
@ -154,7 +154,7 @@ function fn_check_reg_char()
|
||||
function fn_check_id()
|
||||
{
|
||||
local l_id=$1
|
||||
fn_check_reg_char "$l_id" "20" "-_"
|
||||
fn_check_reg_char "$l_id" "32" "-_"
|
||||
if [ $? -ne 0 ];then
|
||||
echo "error: check hotpatch id failed"
|
||||
return 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user