equal
deleted
inserted
replaced
|
1 This patch closes the system_info probe session, as soon as the sysinfo is |
|
2 queried. This prevents system_info probes from hanging around till the process |
|
3 completes. |
|
4 This patch has not been contributed upstream, but is planned to be done by |
|
5 2013-Jul-12. |
|
6 |
|
7 --- openscap-0.9.7/src/OVAL/oval_agent.c.~1~ 2013-04-23 06:21:51.236000001 -0700 |
|
8 +++ openscap-0.9.7/src/OVAL/oval_agent.c 2013-06-13 18:01:31.297731735 -0700 |
|
9 @@ -107,6 +107,10 @@ |
|
10 oscap_free(ag_sess); |
|
11 return NULL; |
|
12 } |
|
13 +#if defined(__SVR4) && defined(__sun) |
|
14 + oval_probe_session_destroy(ag_sess->psess); |
|
15 + ag_sess->psess = oval_probe_session_new(ag_sess->sys_model); |
|
16 +#endif |
|
17 oval_syschar_model_set_sysinfo(ag_sess->sys_model, sysinfo); |
|
18 oval_sysinfo_free(sysinfo); |
|
19 |