backport patch for modify README
This commit is contained in:
parent
ec18580616
commit
bab8b8fdde
31
Backport-secUnsub-del-topic-in-README.patch
Normal file
31
Backport-secUnsub-del-topic-in-README.patch
Normal file
@ -0,0 +1,31 @@
|
||||
From afb0176a27e64325de49155348cf3e189685a960 Mon Sep 17 00:00:00 2001
|
||||
From: zgzxx <zhangguangzhi3@huawei.com>
|
||||
Date: Mon, 11 Dec 2023 21:12:52 +0800
|
||||
Subject: [PATCH] secUnsub del topic in README
|
||||
|
||||
---
|
||||
README.md | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/README.md b/README.md
|
||||
index 9658879..6a06586 100644
|
||||
--- a/README.md
|
||||
+++ b/README.md
|
||||
@@ -109,11 +109,11 @@ secDetectord 默认会在后台运行,从探针中取得数据并转发给订
|
||||
参数 “topic”:注册的事件类型,具体可见” /usr/include/secDetector/secDetector_sdk.h”中定义
|
||||
输出 返回读取事件的指针
|
||||
|
||||
-接口名称 void secUnsub(const int topic, void *reader)
|
||||
+接口名称 void secUnsub(void *reader)
|
||||
接口描述 注销订阅接口
|
||||
-参数 “topic”:注销的事件类型, “reader”:注销的读事件指针
|
||||
+参数 “reader”:注销的读事件指针
|
||||
输出 无
|
||||
-注意事项 当前会全部取消,不支持指定reader取消
|
||||
+注意事项 当前会取消reader的全部订阅
|
||||
|
||||
接口名称 void secReadFrom(void *reader, char *data, int data_len)
|
||||
接口描述 读事件信息接口
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
Name : secDetector
|
||||
Summary : OS Security Intrusion Detection System
|
||||
Version : 1.0
|
||||
Release : 10
|
||||
Release : 11
|
||||
License : GPL-2.0
|
||||
Source0 : %{name}-v%{version}.tar.gz
|
||||
BuildRequires: kernel-devel kernel-headers
|
||||
@ -37,6 +37,7 @@ Patch0019: Backport-createfile-check-f_mode-and-fix-typo.patch
|
||||
Patch0021: Backport-add-lock-limit-publish-API.patch
|
||||
Patch0022: Backport-secDetectord-fix-a-grpc-hang-bug.patch
|
||||
Patch0023: Backport-secUnsub-del-topic.patch
|
||||
Patch0024: Backport-secUnsub-del-topic-in-README.patch
|
||||
|
||||
%description
|
||||
OS Security Intrusion Detection System
|
||||
@ -110,6 +111,9 @@ rm -rf %{buildroot}
|
||||
%attr(0644,root,root) /usr/include/secDetector/secDetector_topic.h
|
||||
|
||||
%changelog
|
||||
* Mon Dec 11 2023 zhangguangzhi <zhangguangzhi3@huawei.com> 1.0-11
|
||||
- backport patch
|
||||
|
||||
* Mon Dec 11 2023 chenjingwen6 <lhchenjw@gmail.com> 1.0-10
|
||||
- backport some patches to fix issue such as grpc hangs
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user