message
stringlengths
6
474
diff
stringlengths
8
5.22k
Fix typo in the help Tiny typo in the help banner
@@ -2984,7 +2984,7 @@ printf("%s %s (C) %s ZeroBeat\n" "--enable_status=<digit> : enable status messages\n" " bitmask:\n" " 1: EAPOL\n" - " 2: PROEBEREQUEST/PROBERESPONSE\n" + " 2: PROBEREQUEST/PROBERESPONSE\n" " 4: AUTHENTICATON\n" " 8: ASSOCIATION\n" "--help : show this help\n"
Mark ssl_passphrase_command as GUC_SUPERUSER_ONLY. This commit changes the GUC ssl_passphrase_command so that it's examinable by only superuser and a member of pg_read_all_settings. Per discussion, we determined to do this because the parameter may contain a sensitive informtaion like a passphrase itself. Author: Insun...
@@ -4268,7 +4268,8 @@ static struct config_string ConfigureNamesString[] = { {"ssl_passphrase_command", PGC_SIGHUP, CONN_AUTH_SSL, gettext_noop("Command to obtain passphrases for SSL."), - NULL + NULL, + GUC_SUPERUSER_ONLY }, &ssl_passphrase_command, "",
docs: improve plugin developer's guide Topics added: disabling lightly-used, experimental, or test plugins by default. Discourage folks from creating bihash tables, processes etc. from VLIB_INIT_FUNCTIONs. Type: docs
@@ -5,8 +5,61 @@ Adding a plugin .. toctree:: -Overview -________ +Strategic Choices +_________________ + +Plugins may implement lightly-used, experimental, or test +functionality. In such cases, please disable the plugin by default: + +.. code-block:: console + + /* *INDENT-OFF* */ + VLIB_PLUGIN_REGISTER () = + { + .v...
xive: Remove useless memory barriers in VP/EQ inits We no longer update "live" memory structures, we use a temporary copy on the stack and update the actual memory structure using the cache watch, so those barriers are pointless.
@@ -887,7 +887,6 @@ static void xive_init_default_vp(struct xive_vp *vp, */ vp->w1 = (eq_blk << 28) | eq_idx; vp->w5 = 0xff000000; - lwsync(); vp->w0 = VP_W0_VALID; } @@ -903,7 +902,6 @@ static void xive_init_emu_eq(uint32_t vp_blk, uint32_t vp_idx, eq->w6 = SETFIELD(EQ_W6_NVT_BLOCK, 0ul, vp_blk) | SETFIELD(EQ_W6_NVT_I...
dh_exch.c: Add check for OPENSSL_strdup Since the OPENSSL_strdup() may return NULL if allocation fails, it should be better to check the return value.
@@ -292,7 +292,12 @@ static void *dh_dupctx(void *vpdhctx) if (dstctx->kdf_ukm == NULL) goto err; } + + if (srcctx->kdf_cekalg != NULL) { dstctx->kdf_cekalg = OPENSSL_strdup(srcctx->kdf_cekalg); + if (dstctx->kdf_cekalg == NULL) + goto err; + } return dstctx; err: @@ -390,9 +395,16 @@ static int dh_set_ctx_params(void ...
rename uniboot to nanos; not sure if this is the reason why nightly build stopped
@@ -4,7 +4,7 @@ jobs: docker: # specify the version - image: circleci/golang:1.9 - working_directory: /go/src/github.com/nanovms/uniboot + working_directory: /go/src/github.com/nanovms/nanos steps: - checkout # specify any bash command here prefixed with `run: ` @@ -17,7 +17,7 @@ jobs: nightly-build: docker: - image: c...
Move screenshot loading from render to update
@@ -228,6 +228,7 @@ void load_file_list(std::string directory) { } void load_current_game_metadata() { + static std::string current_screenshot = ""; bool loaded = false; if(!game_list.empty()) { @@ -249,6 +250,28 @@ void load_current_game_metadata() { loaded = parse_file_metadata(selected_game.filename, selected_game_m...
gk110: Fix definition of clock and globaltimer special registers According to nvdisasm $sr80 and $sr81 are SR_CLOCKLO and SR_CLOCKHI respectively. $sr82 and $sr83 are SR_GLOBALTIMERLO and SR_GLOBALTIMERHI.
@@ -138,8 +138,10 @@ static struct sreg sreg_sr[] = { { 0x3c, "lanemask_ge" }, { 0x40, "trapstat" }, { 0x42, "warperr" }, - { 0x52, "clock" }, - { 0x53, "clockhi" }, + { 0x50, "clocklo" }, + { 0x51, "clockhi" }, + { 0x52, "globaltimerlo" }, + { 0x53, "globaltimerhi" }, { -1 }, };
Add task_list_changed flag
@@ -40,6 +40,7 @@ static uint32_t lv_task_time_remaining(lv_task_t * task); static bool lv_task_run = false; static uint8_t idle_last = 0; static bool task_deleted; +static bool task_list_changed; static bool task_created; /********************** @@ -57,6 +58,7 @@ void lv_task_core_init(void) { lv_ll_init(&LV_GC_ROOT(_...
xtensa: Refactor up_fpucmp to only consider enabled coprocessors
#include <stdint.h> #include <string.h> +#include <strings.h> + #include <nuttx/irq.h> #include "xtensa.h" +#ifdef CONFIG_ARCH_FPU + /**************************************************************************** - * Pre-processor Definitions + * Private Data **************************************************************...
Move AHRS Settings into Developer section.
</button> </span> </div> - <div class="form-group reset-flow"> - <label class="control-label col-xs-5">AHRS Smoothing Constant</label> - <form name="watchForm" ng-submit="updateAHRSSmoothingConst()" novalidate> - <input class="col-xs-7" type="string" required ng-model="AHRSSmoothingConstant" - placeholder="number 0-1" ...
Fix regression that .5 RTT reply is delayed
@@ -7713,11 +7713,14 @@ ssize_t ngtcp2_conn_writev_stream(ngtcp2_conn *conn, ngtcp2_path *path, if (path) { ngtcp2_path_copy(path, &conn->dcid.current.ps.path); } + if (!ppe_pending) { nwrite = ngtcp2_conn_write_handshake(conn, dest, destlen, ts); if (nwrite) { return nwrite; } - if (conn->state != NGTCP2_CS_POST_HANDS...
misc/opts: add missing OPTL_CLEAR
@@ -72,6 +72,7 @@ typedef float opt_fvec3_t[3]; // If the character in these macros is 0 (please note: NOT '0'), then it is only a long opt // Otherwise, it is both #define OPTL_SET(c, s, ptr, descr) { (c), (s), false, opt_set, TYPE_CHECK(bool*, (ptr)), "\t" descr } +#define OPTL_CLEAR(c, s, ptr, descr) { (c), (s), fal...
save catboost version info to model
#include <catboost/libs/data/load_data.h> #include <catboost/libs/helpers/vector_helpers.h> +#include <library/svnversion/svnversion.h> #include <library/threading/local_executor/local_executor.h> #include <util/generic/algorithm.h> @@ -338,6 +339,7 @@ namespace NCB { *dstModel = std::move(coreModel); } dstModel->Model...
add some licenses
@@ -30,10 +30,14 @@ function _licenses() "MIT", "Zlib", "Public Domain", + "LLVM", + "AFL-3.0", + "AGPL-3.0", "LGPL-2.0", "LGPL-2.1", "LGPL-3.0", - "GPL-2.0", "GPL-3.0", "GPL-3.0", + "GPL-2.0", "GPL-3.0", "BSD-2-Clause", "BSD-3-Clause", "BSL-1.0", + "MPL-2.0", "libpng-2.0", "Python-2.0"}) _g.licenses = licenses
Fix test_alloc_realloc_nested_groups() to work in builds
@@ -9673,7 +9673,7 @@ START_TEST(test_alloc_realloc_nested_groups) fail("Parse succeeded despite failing reallocator"); if (i == max_realloc_count) fail("Parse failed at maximum reallocation count"); - CharData_CheckString(&storage, "doce"); + CharData_CheckXMLChars(&storage, XCS("doce")); if (dummy_handler_flags != DU...
Tell spatializers about sources only when they're active; apply will still only be called with sources after they have been created.
@@ -88,6 +88,7 @@ static void onPlayback(ma_device* device, void* out, const void* in, uint32_t co state.sources[source->index] = NULL; state.sourceMask &= ~(1ull << source->index); source->index = ~0u; + state.spatializer->sourceDestroy(source); lovrRelease(source, lovrSourceDestroy); continue; } @@ -365,8 +366,6 @@ S...
Remove duplicate call to h2o_timerwheel_get_wake_at, bump trials to 10000: this finishes in 2s on my desktop
@@ -73,10 +73,6 @@ static enum theft_trial_res prop_wake_time_should_be_before_expiry(struct theft return THEFT_TRIAL_FAIL; if (h2o_timerwheel_get_wake_at(ctx) != UINT64_MAX) return THEFT_TRIAL_FAIL; - wake_time = h2o_timerwheel_get_wake_at(ctx); - if (wake_time != UINT64_MAX) { - return THEFT_TRIAL_FAIL; - } h2o_timer...
tools/define.bat: sync design of define.bat with define.sh to uniform usage
@@ -18,7 +18,7 @@ rem License for the specific language governing permissions and limitations rem under the License. rem Handle command line options -rem [-h] <compiler-path> <def1> [-val <val1>] [<def2> [-val <val2>] [<def3> [-val <val3>] ...]] +rem [-h] <compiler-path> <def1>[=val1] [<def2>[=val2] [<def3>[=val3] ...]...
Libhfuzz: indir jumps - report from/to addresses separately
@@ -86,13 +86,16 @@ void __sanitizer_cov_trace_pc(void) void __sanitizer_cov_trace_pc_indir(void *callee) { - register size_t pos = - (((uintptr_t) callee << 12) | ((uintptr_t) __builtin_return_address(0) & 0xFFF)) & - _HF_PERF_BITMAP_BITSZ_MASK; + register size_t pos = (uintptr_t) __builtin_return_address(0) & _HF_PER...
dispatcher: properly release memory and connection on LZ4 fail This fixes CID 331000 (memleak) and the problem that on LZ4 init error one would loose the connection.
@@ -865,10 +865,15 @@ dispatch_addconnection(int sock, listener *lsnr) C_SETUP, C_FREE); return -1; } - if (LZ4F_isError(LZ4F_createDecompressionContext(&lzstrm->hdl.lz4.lz, LZ4F_VERSION))) { + if (LZ4F_isError(LZ4F_createDecompressionContext( + &lzstrm->hdl.lz4.lz, LZ4F_VERSION))) + { logerr("Failed to create LZ4 deco...
if a button is pressed and there are no outputs, force a sync so that the we get a cook and we create any outputs that result from the button press
@@ -1387,6 +1387,7 @@ AssetNode::setDependentsDirty(const MPlug& plugBeingDirtied, bool isInput = Util::isPlugBelow(plugBeingDirtied, AssetNode::input); bool isParameter = false; bool isTextureOpt = false; + bool isButton = false; { MFnDependencyNode assetNodeFn(thisMObject()); MObject parmAttrObj = assetNodeFn.attribu...
Increase ARENA_FILE_VERSION. Commit changed the layout of structures that make old files incompatible.
@@ -47,7 +47,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // address within the relocated arena. #define ARENA_FLAGS_RELOCATABLE 2 -#define ARENA_FILE_VERSION ((16 << 16) | MAX_THREADS) +#define ARENA_FILE_VERSION ((17 << 16) | MAX_THREADS) #define EOL ((size_t) -1)
Fix priority boost processes column
@@ -1474,11 +1474,11 @@ static VOID PhpUpdateProcessNodePriorityBoost( if (ProcessNode->ProcessItem->QueryHandle) { - BOOLEAN priorityBoost; + BOOLEAN priorityBoostDisabled; - if (NT_SUCCESS(PhGetProcessPriorityBoost(ProcessNode->ProcessItem->QueryHandle, &priorityBoost))) + if (NT_SUCCESS(PhGetProcessPriorityBoost(Pro...
misc: mark vnet and plugin in maintainers Type: style
@@ -28,7 +28,7 @@ M: Dave Barach <vpp@barachs.net> F: build-root/Makefile F: build-data/ -Link Bonding +VNET Link Bonding I: bonding M: Steven Luong <sluong@cisco.com> F: src/vnet/bonding/ @@ -645,34 +645,34 @@ M: Ole Troan <ot@cisco.com> M: Paul Vinciguerra <pvinci@vinciconsulting.com> F: src/vpp-api/python -Cisco Dis...
api: remove debug print in api_main_init
@@ -49,7 +49,6 @@ api_main_init (vlib_main_t * vm) vam->my_client_index = (u32) ~ 0; init_error_string_table (vam); vat_api_hookup (vam); - clib_warning ("vam %llx", vam); rv = vat_plugin_init (vam); if (rv) clib_warning ("vat_plugin_init returned %d", rv);
parser: regex: add support for decoders
#include <fluent-bit/flb_info.h> #include <fluent-bit/flb_parser.h> +#include <fluent-bit/flb_parser_decoder.h> #include <fluent-bit/flb_regex.h> #include <fluent-bit/flb_str.h> #include <msgpack.h> @@ -95,12 +96,14 @@ int flb_parser_regex_do(struct flb_parser *parser, struct flb_time *out_time) { int ret; - ssize_t n;...
board/elemi/led.c: Format with clang-format BRANCH=none TEST=none
@@ -40,10 +40,7 @@ enum led_color { LED_COLOR_COUNT /* Number of colors, not a color itself */ }; -enum led_port { - RIGHT_PORT = 0, - LEFT_PORT -}; +enum led_port { RIGHT_PORT = 0, LEFT_PORT }; static void led_set_color_battery(int port, enum led_color color) { @@ -145,13 +142,12 @@ static void led_set_battery(void) *...
Auto-detect number of CPU Threads during Fuzz Tests
@@ -37,7 +37,8 @@ fi ASAN_OPTIONS+="symbolize=1" LSAN_OPTIONS+="log_threads=1" UBSAN_OPTIONS+="print_stacktrace=1" -LIBFUZZER_ARGS+="-timeout=5 -max_len=4096 -use_traces=1 -print_final_stats=1 -jobs=8 -workers=8 -max_total_time=${FUZZ_TIMEOUT_SEC}" +NUM_CPU_THREADS=`nproc` +LIBFUZZER_ARGS+="-timeout=5 -max_len=4096 -us...
Fix type casts on float DDS/KTX loads
@@ -218,7 +218,7 @@ static void copy_scanline( #define id(x) (x) #define u16_sf16(x) float_to_float16(x * (1.0f/65535.0f)) -#define f32_sf16(x) float16_to_float(x) +#define f32_sf16(x) float_to_float16(x) #define COPY_R(dsttype, srctype, convfunc, oneval) \ do { \ @@ -418,21 +418,21 @@ static void copy_scanline( COPY_L...
publish: don't reset post dates on notebook import
=/ rif=riff:clay [q.byk.bol `[%next %x [%da now.bol] pax]] :_ (~(put by notes) note-name new-note) ;: weld - [%pass (welp /read/comment pax) %arvo %c %warp our.bol rif]~ + [%pass (welp /read/note pax) %arvo %c %warp our.bol rif]~ comment-cards cards == ++ form-note |= [note-name=@tas udon=@t] ^- note - =/ body=tape (sl...
BugID:25645505:Clean up start smartconfig logic when netmgr start
@@ -729,11 +729,11 @@ int netmgr_wifi_init(void) g_wifi_interface->hal_mod = (hal_net_module_t *)module; g_wifi_interface->wifi_scan_complete_cb_finished = false; -#if !defined(WITH_SAL) || defined(DEV_SAL_ATHOST) -#if defined(CONFIG_YWSS) && (!defined(CSP_LINUXHOST) || !defined(AOS_NET_WITH_ETH)|| defined(DEV_SAL_ATHO...
Remove unneccesary nesting
@@ -439,9 +439,7 @@ static int aead_multipart_internal_func( int key_type_arg, data_t *key_data, { part_length = 0; } - else - { - if( additional_data->len - part_offset < ad_part_len ) + else if( additional_data->len - part_offset < ad_part_len ) { part_length = additional_data->len - part_offset; } @@ -449,7 +447,6 @...
[net/lwip] Fix ppp retry assert error when tcp is connect.
#endif /* MEMP_NUM_SYS_TIMEOUT: the number of simulateously active timeouts. */ -#define MEMP_NUM_SYS_TIMEOUT (LWIP_TCP + IP_REASSEMBLY + LWIP_ARP + (2*LWIP_DHCP) + LWIP_AUTOIP + LWIP_IGMP + LWIP_DNS + PPP_SUPPORT) +#define MEMP_NUM_SYS_TIMEOUT (LWIP_TCP + IP_REASSEMBLY + LWIP_ARP + (2*LWIP_DHCP) + LWIP_AUTOIP + LWIP_I...
Enable sanitizers in Gitlab CI Enables build and test with AddressSanitizer, ThreadSanitizer and UndefinedBehaviorSanitizer in Gitlab CI configuration. The LeakSanitizer component of AddressSanitizer is disabled because ptrace cannot be used inside the container.
# Use Kvazaar CI base image which includes the build tools and ffmpeg + hmdec in ${HOME}/bin image: ultravideo/kvazaar_ci_base:latest - -# Build kvazaar and run tests -build-kvazaar: +# Build kvazaar +build-kvazaar: &build-template stage: build script: - ./autogen.sh @@ -15,14 +14,54 @@ build-kvazaar: - src/.libs expir...
more robust minFolds count for querywise losses
@@ -157,7 +157,14 @@ namespace NCatboostCuda { TVector<TFold> CreateFolds(ui32 sampleCount, double growthRate, const IQueriesGrouping& samplesGrouping) const { - const ui32 minEstimationSize = samplesGrouping.NextQueryOffsetForLine(MinEstimationSize(sampleCount)); + ui32 minEstimationSize = samplesGrouping.NextQueryOff...
Add simple sgemm preicsion test
@@ -10,5 +10,9 @@ dgemm_tester : dgemv_tester $(CXX) $(COMMON_OPT) -Wall -Wextra -Wshadow -fopenmp -std=c++11 dgemm_thread_safety.cpp ../libopenblas.a -lpthread -o dgemm_tester ./dgemm_tester +gemm64 : gemm64 + $(CXX) $(COMMON_OPT) -Wall -Wextra -Wshadow -fopenmp -std=c++11 gemm64.cpp ../libopenblas.a -lpthread -o gemm...
argdist: Generated streq-helper to ignore null terminator Oftentimes we want to use the STRCMP helper to compare strings that are not null-terminated, e.g. in USDT probes this often happens. Ignore the null terminator (i.e. loop until the last character excluding the null terminator).
@@ -258,7 +258,7 @@ static inline bool %s(char const *ignored, char const *str) { char needle[] = %s; char haystack[sizeof(needle)]; bpf_probe_read(&haystack, sizeof(haystack), (void *)str); - for (int i = 0; i < sizeof(needle); ++i) { + for (int i = 0; i < sizeof(needle)-1; ++i) { if (needle[i] != haystack[i]) { retur...
set client LED flash time to 5 sec
@@ -3811,9 +3811,9 @@ while(1) } } oldincommingcount1 = incommingcount; + statuscount++; tvfd.tv_sec = 1; tvfd.tv_usec = 0; - statuscount++; continue; } packet_ptr = &epb[EPB_SIZE]; @@ -4211,9 +4211,9 @@ while(1) globalclose(); } } + statuscount++; tvfd.tv_sec = 1; tvfd.tv_usec = 0; - statuscount++; continue; } if(pack...
sys/log: Add storage info support to log_slot1
@@ -102,6 +102,12 @@ log_fcb_slot1_flush(struct log *log) return LOG_FCB_SLOT1_CALL(log, log_flush); } +static int +log_fcb_slot1_storage_info(struct log *log, struct log_storage_info *info) +{ + return LOG_FCB_SLOT1_CALL(log, log_storage_info, info); +} + static int log_fcb_slot1_registered(struct log *log) { @@ -145,...
TCPM: Unify BIST helpers Define the BDO_MODE helpers in terms of the already existing BIST_ descriptions for the BIST_MODE field. BRANCH=None TEST=make -j buildall
@@ -152,15 +152,15 @@ enum pd_rx_errors { * 27:16 Reserved * 15:0 Returned error counters (reserved in PD 3.0) */ -#define BDO_MODE_RECV (0 << 28) -#define BDO_MODE_TRANSMIT BIT(28) -#define BDO_MODE_COUNTERS (2 << 28) -#define BDO_MODE_CARRIER0 (3 << 28) -#define BDO_MODE_CARRIER1 (4 << 28) -#define BDO_MODE_CARRIER2 ...
eyre: make fang's requested style changes
:: since conversion failure also gets caught during first receive. :: we can't do anything about this, so consider it unsupported. ?~ sign=(channel-event-to-sign channel-event) $ - ?~ json-with-moves=(sign-to-json request-id u.sign) $ - $(events [(event-json-to-wall id +.u.json-with-moves) events]) + ?~ jive=(sign-to-j...
Even more messing with bazel
@@ -4,17 +4,18 @@ cc_library( "src/**/*.h", "src/**/*.c", ]), - deps = [ - "@libcbor_bazel_example//third_party/libcbor:config", - ], hdrs = [ "cbor.h", - ], + ] + glob([ + "cbor/*.h", + ]), includes = [ "src", "src/cbor", "src/cbor/internal", ], visibility = ["//visibility:public"], + deps = [ + "@libcbor_bazel_exampl...
accept %peel ack on non-error, crash on bad path
?> ?=({@ $~} t.pax) %- mo-awed :* p.+>.sih - (?($peer $peel $poke $pull) i.t.pax) + ;;(?($peer $peel $poke $pull) i.t.pax) ~ == ?> ?=({$a $woot *} sih) ?> ?=({@ $~} t.pax) %- mo-awed :* p.+>.sih - (?($peer $poke $pull) i.t.pax) + ;;(?($peer $peel $poke $pull) i.t.pax) +>+.sih == ==
remove potential double free
@@ -497,7 +497,6 @@ static bool addDupMountpoint (KeySet * mountpoints, Key * mountpoint, KeySet * p KeySet * dupPlugins = dupPluginSet (plugins, errorKey); if (dupPlugins == NULL) { - keyDel (mountpoint); return false; } Plugin * backendPlugin = *(Plugin **) keyValue (ksLookupByName (dupPlugins, "system:/backend", 0))...
workflow_confirm: Allow NULL callbacks.
@@ -61,7 +61,9 @@ static void _workflow_confirm_spin(workflow_t* self) data_t* data = (data_t*)self->data; if (data->done) { /* Publish our result. */ + if (data->callback) { data->callback(data->result, data->callback_param); + } /* Time to go, goodbye. */ workflow_stack_stop_workflow(); }
Use consistent names in getstr and getshortstr tab -> t pos -> cache
@@ -244,17 +244,17 @@ void pallene_renormalize_array( static const TValue PALLENE_ABSENTKEY = {ABSTKEYCONSTANT}; static inline -TValue *pallene_getshortstr(Table *t, TString *key, size_t * restrict pos) +TValue *pallene_getshortstr(Table *t, TString *key, size_t *restrict cache) { - if (*pos < sizenode(t)) { - Node *n ...
unix/mpconfigport_dev.h: Enable MICROPY_PY_SYS_INTERN.
#define MICROPY_PY_BUILTINS_HELP_MODULES (1) #define MICROPY_PY_BUILTINS_RANGE_BINOP (1) #define MICROPY_PY_SYS_GETSIZEOF (1) +#define MICROPY_PY_SYS_INTERN (1) #define MICROPY_PY_MATH_FACTORIAL (1) #define MICROPY_OPT_MATH_FACTORIAL (1) #define MICROPY_PY_URANDOM_EXTRA_FUNCS (1)
interop: Don't overwrite resumption log
@@ -35,7 +35,7 @@ if [ "$ROLE" == "client" ]; then REQUESTS=${REQS[0]} /usr/local/bin/client $CLIENT_ARGS --exit-on-first-stream-close $REQUESTS $CLIENT_PARAMS &> $LOG REQUESTS=${REQS[@]:1} - /usr/local/bin/client $CLIENT_ARGS $REQUESTS $CLIENT_PARAMS &> $LOG + /usr/local/bin/client $CLIENT_ARGS $REQUESTS $CLIENT_PARAM...
moli: remove set fan pwm duty 100% in board_pwm_init() Remove set fan pwm duty 100% in board_pwm_init(), since moli has thermal table implemented. BRANCH=none TEST=make BOARD=moli
@@ -27,14 +27,7 @@ BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT); static void board_pwm_init(void) { - /* - * TODO(b/197478860): Turn on the fan at 100% by default - * We need to find tune the fan speed according to the - * thermal sensor value. - */ pwm_enable(PWM_CH_FAN, 1); - pwm_set_duty(PWM_CH_FAN, 100); ...
[mod_openssl] libressl v3.5.0 adds ASN1_TIME_diff
@@ -1411,9 +1411,9 @@ mod_openssl_load_stapling_file (const char *file, log_error_st *errh, buffer *b) #if !defined(BORINGSSL_API_VERSION) static unix_time64_t -mod_openssl_asn1_time_to_posix (ASN1_TIME *asn1time) +mod_openssl_asn1_time_to_posix (const ASN1_TIME *asn1time) { - #ifdef LIBRESSL_VERSION_NUMBER + #if defin...
Add debug info for node bootstrap dependencies target.
@@ -48,6 +48,7 @@ add_custom_target(${target} if(NOT OPTION_BUILD_GUIX) add_custom_target(${target}_depends WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} + COMMAND ${CMAKE_COMMAND} -E echo "Installing ${target} dependencies" COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/lib/package.json ${CMAKE_CURRENT_B...
Don't test the collected system errors when configured to not have them Config options 'no-err' and 'no-autoerrinit'
@@ -31,6 +31,9 @@ setup('test_errstr'); plan skip_all => 'This is unsupported for cross compiled configurations' if config('CROSS_COMPILE'); +plan skip_all => 'OpenSSL is configured "no-autoerrinit" or "no-err"' + if disabled('autoerrinit') || disabled('err'); + # These are POSIX error names, which Errno implements as ...
show BEACON status only if option is selected
@@ -3327,7 +3327,7 @@ qsort(aplist, ringbuffercount +1, MACLIST_SIZE, sort_maclist_by_time); return; } /*===========================================================================*/ -static inline void printpagid(uint8_t *pagidptr) +static inline void processpagid(uint8_t *pagidptr) { static pagidlist_t *zeiger; @@ -3...
Add comment to sdsConfigSet() Improve comments to explain the code
@@ -1821,10 +1821,16 @@ static int sdsConfigSet(standardConfig *config, sds *argv, int argc, const char UNUSED(argc); if (config->data.sds.is_valid_fn && !config->data.sds.is_valid_fn(argv[0], err)) return 0; + sds prev = config->flags & MODULE_CONFIG ? getModuleStringConfig(config->privdata) : *config->data.sds.config...
ames: fix %alien |mass over-reporting
++ on-wegh ^+ event-core :: - =+ [known alien]=(skid ~(tap by peers.ames-state) |=(^ =(%known +<-))) + =+ [known alien]=(skid ~(val by peers.ames-state) |=(^ =(%known +<-))) :: %- emit :^ duct %give %mass
docs nat: fix nat-ha ascii art See: Type: docs
@@ -13,6 +13,7 @@ Session synchronization traffic is distributed through an IPv4 UDP connection. T The two NAT nodes have a dedicated link (interface GE0/0/3 on both) to synchronize NAT sessions using NAT HA protocol. +``` +-----------------------+ | outside network | +-----------------------+ @@ -36,6 +37,7 @@ The two...
Rename font_size setting to font_size_base (better name + forces an update for user)
@@ -31,7 +31,7 @@ void Options::Load() // font config FontPath = config.value("font_path", FontPath); FontGlyphRanges = config.value("font_glyph_ranges", FontGlyphRanges); - FontSize = config.value("font_size", FontSize); + FontSize = config.value("font_size_base", FontSize); // check old config names if (config.value(...
Prepare debian changelog for v0.5.0 tag
+bcc (0.5.0-1) unstable; urgency=low + + * Support for USDT in ARM64 + * Bugfixes for 4.14 in some tools + * Fixes for smoke test failures + * Runtime memory usage reductions + + -- Brenden Blanco <bblanco@gmail.com> Wed, 29 Nov 2017 17:00:00 +0000 + bcc (0.4.0-1) unstable; urgency=low * Bugfixes
Update azure-pipelines.yml take out offending lines (although stolen from azure-pipelines fiie)
@@ -15,9 +15,9 @@ steps: - script: | docker run --rm --privileged multiarch/qemu-user-static:register --reset - ls /proc/sys/fs/binfmt_misc/ - condition: not(startsWith(variables['CONFIG'], 'linux_64')) - displayName: 'Configure binfmt_misc' +# ls /proc/sys/fs/binfmt_misc/ +# condition: not(startsWith(variables['CONFIG...
Init wifi last updated variable
@@ -446,6 +446,9 @@ void DeRestPluginPrivate::initWiFi() gwWifiBackupPw = gwWifiPw; } + QDateTime currentDateTime = QDateTime::currentDateTimeUtc(); + gwWifiLastUpdated = currentDateTime.toTime_t(); + queSaveDb(DB_CONFIG, DB_SHORT_SAVE_DELAY); }
crypto/aes/asm/aes-s390x.pl: fix $softonly=1 code path.
@@ -1439,7 +1439,7 @@ $code.=<<___ if (!$softonly); .Lctr32_hw_switch: ___ -$code.=<<___ if (0); ######### kmctr code was measured to be ~12% slower +$code.=<<___ if (!$softonly && 0);# kmctr code was measured to be ~12% slower larl $s0,OPENSSL_s390xcap_P lg $s0,8($s0) tmhh $s0,0x0004 # check for message_security-assis...
common/printf.c: Format with clang-format BRANCH=none TEST=none
@@ -62,12 +62,11 @@ static int hexdigit(int c) * Print the buffer as a string of bytes in hex. * Returns 0 on success or an error on failure. */ -static int print_hex_buffer(int (*addchar)(void *context, int c), - void *context, const char *vstr, int precision, - int pad_width, int flags) +static int print_hex_buffer(i...
[test/README.md] minor fix of examples missing the test target
@@ -114,15 +114,15 @@ starting with "test_ssl_": Run only test group 10: - $ make TESTS='10' + $ make TESTS='10' test Run all tests except the slow group (group 99): - $ make TESTS='-99' + $ make TESTS='-99' test Run all tests in test groups 80 to 99 except for tests in group 90: - $ make TESTS='[89]? -90' + $ make TES...
Removed ++timed from talk-guardian, no longer in use.
== :: ++ strap |*({k/* v/*} (~(put by *(map _k _v)) k v)) -- -|% -:: old protocol workaround door -++ timed - ::x? seems hacky. if old, should be removed in "new talk", right? - ::x? seems like it's used for adding/dealing with "fake"/workaround ships - ::x? with datetimes in their status. but why? - ::x looking at ++p...
docs: Add prominent status badges and links to Travis-CI and documentation
envytools - Tools for people envious of nvidia's blob driver. +.. image:: https://travis-ci.org/envytools/envytools.svg?branch=master + :target: https://travis-ci.org/envytools/envytools + +.. image:: https://readthedocs.org/projects/envytools/badge/?version=latest + :target: https://envytools.readthedocs.io + The cano...
increased timegap up to 6 minutes for not replaycount checked handshakes
@@ -1123,7 +1123,7 @@ while(c >= 0) if(replaycountcheck == true) return; -rctime = 120; +rctime = 600; zeiger = zeigerakt; c = cakt; while(c >= 0) @@ -1186,7 +1186,7 @@ while(c >= 0) if(replaycountcheck == true) return; -rctime = 120; +rctime = 600; zeiger = zeigerakt; c = cakt; while(c >= 0) @@ -1247,7 +1247,7 @@ whil...
Remove hardcoded alert flag on traffic report and replace with simple logic to set it only if a target is within 2nm. This addresses issue .
@@ -111,9 +111,9 @@ type TrafficInfo struct { Last_speed time.Time // Time of last velocity and track update (stratuxClock). Last_source uint8 // Last frequency on which this target was received. ExtrapolatedPosition bool //TODO: True if Stratux is "coasting" the target from last known position. + BearingDist_valid boo...
build: start iotivity build before apps Same purpose of commit Somecases, apps use iotivity feature. Then, iotivity should be built first.
@@ -80,6 +80,12 @@ endif USERLIBS += $(LIBRARIES_DIR)$(DELIM)libexternal$(LIBEXT) +# Add libraries for iotivity support + +ifeq ($(CONFIG_ENABLE_IOTIVITY),y) +USERLIBS += $(LIBRARIES_DIR)$(DELIM)libiotivity$(LIBEXT) +endif + # Add library for application support. ifneq ($(APPDIR),) @@ -92,12 +98,6 @@ ifeq ($(CONFIG_NET...
docs: contributing: fix typo s/pacth or patches/patches
@@ -66,7 +66,7 @@ If you want to see a real example, run the following command: > $ git log dfff256eca7ad38dd94c9838fef272c99a3fffec -Your pacth or patches should be fully documented, that will make the review process faster for us, and a faster merge for you. +Your patches should be fully documented. That will make th...
BugID:17642035:make linkkit gateway example can be exit after certain time
@@ -357,16 +357,32 @@ void *user_dispatch_yield(void *args) return NULL; } +static int max_running_seconds = 0; int linkkit_main(void *paras) { -#if !defined(WIFI_PROVISION_ENABLED) || !defined(BUILD_AOS) - set_iotx_info(); -#endif int res = 0; - uint64_t time_prev_sec = 0, time_now_sec = 0; + uint64_t time_prev_sec = ...
Use proper macro guard
@@ -2085,7 +2085,7 @@ static inline int mbedtls_ssl_sig_alg_is_supported( #define MBEDTLS_SSL_SIG_ALG( hash ) #endif /* MBEDTLS_ECDSA_C && MBEDTLS_RSA_C */ #endif /* MBEDTLS_SSL_PROTO_TLS1_2 && MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED */ -#if defined(MBEDTLS_PSA_CRYPTO_C) +#if defined(MBEDTLS_USE_PSA_CRYPTO) /* Correspon...
Only if fork succeeded perform recv in isolation_testcase.py Incase test fails on join, recv() is performed starting commit Due to this though later join hangs forever, instead call recv() only if has_open is true means fork/blocking happened to avoid the hang.
@@ -85,7 +85,9 @@ class SQLIsolationExecutor(object): self.has_open = True def join(self): + r = None print >>self.out_file, " <... completed>" + if self.has_open: r = self.pipe.recv() if r is None: raise Exception("Execution failed")
[mod_fastcgi] fix return when streaming min buffer fix incorrect return value when server.stream-response-body = 2
@@ -368,7 +368,7 @@ static handler_t fcgi_recv_parse(server *srv, connection *con, struct http_respo int fin = 0; if (0 == n) { - if (!(fdevent_event_get_interest(srv->ev, hctx->fd) & FDEVENT_IN)) return 0; + if (!(fdevent_event_get_interest(srv->ev, hctx->fd) & FDEVENT_IN)) return HANDLER_GO_ON; log_error_write(srv, _...
Use %s in luaL_error This way there is only a single version of the format string. This reduces the number of strings appearing in the compiled object file and might also come in handy if we create a tag-checking subroutine.
@@ -314,9 +314,10 @@ generate_program = function(prog, modname) local decl = util.render([[ ${SLOT_DECL} = L->ci->func + ${I}; if (!${CHECK_TAG}) { - luaL_error(L, "wrong type for argument ${ARG_NAME} " - "at line ${LINE}, expected ${EXP_TYPE} " - "but found %s", + luaL_error(L, + "wrong type for argument %s at line %d...
Do not treat WIndows UWB builds as cross-compiling
@@ -85,7 +85,7 @@ if (NOT NOFORTRAN) endif () # Cannot run getarch on target if we are cross-compiling -if (DEFINED CORE AND CMAKE_CROSSCOMPILING) +if (DEFINED CORE AND CMAKE_CROSSCOMPILING AND NOT (${HOST_OS} STREQUAL "WINDOWSSTORE")) # Write to config as getarch would # TODO: Set up defines that getarch sets up based...
Fix style in psa_pake_input()
@@ -540,7 +540,8 @@ psa_status_t psa_pake_input( psa_pake_operation_t *operation, #if defined(MBEDTLS_PSA_BUILTIN_ALG_JPAKE) if( operation->alg == PSA_ALG_JPAKE ) { - if( operation->state == PSA_PAKE_STATE_SETUP ) { + if( operation->state == PSA_PAKE_STATE_SETUP ) + { status = psa_pake_ecjpake_setup( operation ); if( s...
Leaf: Fix variable name in Doxygen comment
@@ -234,7 +234,7 @@ CppKey changeArrayIndexByOne (CppKey const & parent, CppKey const & element, boo * array parents. * * @param parents This parameter contains the array parents for which this function increases the index by one. - * @param parents This variable stores the arrays elements this function updates. + * @p...
docs/Makefile.am: install ChangeLog to ${docdir}
@@ -6,7 +6,7 @@ SUBDIRS=sample.gftp EXTRA_DIST=USERS-GUIDE gftp.1 gftp.desktop gftpdocdir = ${docdir} -gftpdoc_DATA = ../README.md ../COPYING ../AUTHORS USERS-GUIDE +gftpdoc_DATA = ../README.md ../COPYING ../AUTHORS USERS-GUIDE ../ChangeLog Utilitiesdir = $(datadir)/applications Utilities_DATA = gftp.desktop
Scripts: Allow multiple parameter IDs to be passed in
set -eu # Usage: -# create_legacy_def.sh $paramId +# create_legacy_def.sh $paramId $paramId... # # This script will insert the local ECMWF GRIB2 representation -# for that paramId into the files: +# for each paramId into the files: # definitions/grib2/localConcepts/ecmf/paramId.legacy.def # definitions/grib2/localConce...
extmod/moduwebsocket: Make close_resp static array const to not use RAM. The esp8266 lwip_open library is compiled with -mforce-l32 so this array does not need to be in RAM.
@@ -194,7 +194,7 @@ no_payload: if (last_state == CONTROL) { byte frame_type = self->last_flags & FRAME_OPCODE_MASK; if (frame_type == FRAME_CLOSE) { - static char close_resp[2] = {0x88, 0}; + static const char close_resp[2] = {0x88, 0}; int err; websocket_write(self_in, close_resp, sizeof(close_resp), &err); return 0;...
quat: improve normalize
@@ -133,11 +133,12 @@ void glm_quat_normalize(versor q) { float sum; - sum = q[0] * q[0] + q[1] * q[1] - + q[2] * q[2] + q[3] * q[3]; + sum = glm_vec4_norm2(q); - if (fabs(1.0f - sum) < 0.0001f) + if (sum <= 0.0f) { + glm_quat_identity(q); return; + } glm_vec4_scale(q, 1.0f / sqrtf(sum), q); }
Build and link to spdlog as static lib Speeds up compiling a bit
@@ -21,6 +21,7 @@ pre_args = [ '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-DPACKAGE_VERSION="@0@"'.format(meson.project_version()), + '-DSPDLOG_COMPILED_LIB' ] # Define DEBUG for debug builds only (debugoptimized is not included on this one) @@ -249,6 +250,7 @@ spdlog_dep = cpp.find_library('spdlog', required:...
Update "Bindings" section in README Add Go bindings by Add official Py bindings Remove unmaintained old Py3 bindings
@@ -114,11 +114,12 @@ Either use the [Visual Studio 2017 project](./msvc/) or build Zydis using [CMake ## Bindings Official bindings exist for a selection of languages: -- [Rust](https://github.com/zyantific/zydis-rs) - [Pascal](https://github.com/zyantific/zydis-pascal) +- [Python 3](https://github.com/zyantific/zydis...
reduce API level
@@ -51,23 +51,23 @@ matrix: - language: android os: linux - env: RHO_TARGET="android" RHO_APP="auto_common_spec" RHO_ANDROID_LEVEL="25" + env: RHO_TARGET="android" RHO_APP="auto_common_spec" RHO_ANDROID_LEVEL="24" - - language: android - os: linux - env: RHO_TARGET="android" RHO_APP="framework_spec" + # - language: and...
cleanup clang module code
@@ -149,6 +149,7 @@ function _build_modulefile(target, sourcefile, opt) return end + -- init flags local common_args = opt.common_args local requiresflags = opt.requiresflags @@ -163,7 +164,7 @@ function _build_modulefile(target, sourcefile, opt) vprint(compinst:compcmd(sourcefile, bmifile, {compflags = bmiflags, rawar...
tests: [re]enable an ARP test form incomplete Type: test must have been disabled when another test of the same name was added
@@ -1396,13 +1396,8 @@ class ARPTestCase(VppTestCase): # # change the interface's MAC # - mac = [scapy.compat.chb(0x00), scapy.compat.chb(0x00), - scapy.compat.chb(0x00), scapy.compat.chb(0x33), - scapy.compat.chb(0x33), scapy.compat.chb(0x33)] - mac_string = ''.join(mac) - self.vapi.sw_interface_set_mac_address(self.p...
[numerics] change properties of failing test
@@ -309,6 +309,9 @@ if(WITH_${COMPONENT}_TESTING) NEW_FC_3D_TEST(${_DAT} SICONOS_FRICTION_3D_NSN_NM 1e-3 1000) endforeach() + SET(fc3d__ADMM_Tol_1e-5_Max_10000_inTol_0_inMax_0_Confeti-ex13-Fc3D-SBM_PROPERTIES WILL_FAIL TRUE) + + IF(WITH_MUMPS) SET(fc3d__NSN_AC_Tol_1e-5_Max_1000_inTol_0_inMax_0_IPARAM_1_Capsules-i100-10...
Fixed a solo output problem introduced in now the results are again identical to 2.7.0e
@@ -184,6 +184,7 @@ void ReadAlign::outputAlignments() { if (unmapType>=0) { statsRA.unmappedAll++; + soloRead->record(readNameExtra.at(0), nTr, readTrGenes, trMult[0]);//record CBs and stats for unmapped reads }; if ( P.outSAMunmapped.within && unmapType>=0 && unmapType<4 ) {//output unmapped within && unmapped read &...
Check Formatting: Optionally check CMake code
@@ -17,6 +17,13 @@ fi scripts/reformat-source +if which sponge > /dev/null && which > /dev/null cmake-format +then + scripts/reformat-cmake +else + echo 'Warning: Since either `sponge` or `cmake-format` are not available I will not check the formatting of the CMake code.' +fi + git diff --exit-code succeed_if "Please c...
Remove special logic for the "next aeon to check is 0" case. It shouldn't be able to occur anymore, so we're fine with being loud if it does.
$(rov [-.rov mol `+(u.aey) ~ ~]) :: if old isn't complete, try filling in the gaps. =? old !(complete old) - :: if we're looking for changes in revision zero, then the previous - :: revision only has "file does not exist" results. - ?: =(u.yon 0) - %- ~(gas by *(map (pair care path) cach)) - %+ turn ~(tap in q.mol) - |...
build BUGFIX fix disabling test when CMocka is missing. Add warning message when tests is disabled and coverage is enabled
@@ -198,6 +198,11 @@ option(ENABLE_FUZZ_TARGETS "Build target programs suitable for fuzzing with AFL" #endif() if(ENABLE_COVERAGE) + if(NOT ENABLE_BUILD_TESTS) + message(WARNING "you cannot generage coverage when tests are disabled. Enable test by additing parameter -DENABLE_BUILD_TESTS=ON or run cmake in some debug mo...
Update dgemm_kernel_4x8_skylakex_2.c
/* %10 for prefetch of C elements before storage; %4 = ldc(in bytes),%11 for prefetch of next B block */ #define INNER_KERNELm8(nn) \ - "movq %3,%10;cmpq $16,%2;jb "#nn"001f;"\ + "movq %3,%10;cmpq $18,%2;jb "#nn"001f;"\ #nn"008:\n\t"\ INNER_KERNEL_k1m8n##nn "addq $64,%1;"\ INNER_KERNEL_k1m8n##nn "addq $64,%1;"\ + INNER...
rms/pbspro: update on BuildRequires to support SLES build
@@ -78,8 +78,6 @@ BuildRequires: libedit-devel BuildRequires: libical-devel BuildRequires: ncurses-devel BuildRequires: perl -BuildRequires: postgresql-devel >= 9.1 -BuildRequires: postgresql-contrib >= 9.1 BuildRequires: python-devel >= 2.6 BuildRequires: python-devel < 3.0 BuildRequires: tcl-devel @@ -94,11 +92,15 @@...
Fix krb5 external test failure The krb5 test requires the legacy module to be loaded in order to work. It also seems to be senstive to using relative paths, so we use absolute ones instead. [extended tests]
use OpenSSL::Test; use OpenSSL::Test::Utils; use OpenSSL::Test qw/:DEFAULT data_file srctop_file bldtop_dir/; +use Cwd qw(abs_path); setup("test_external_krb5"); @@ -20,6 +21,7 @@ plan skip_all => "krb5 not available" plan tests => 1; -$ENV{OPENSSL_CONF} = srctop_file("test", "default-and-legacy.cnf"); +$ENV{OPENSSL_MO...
BugID:17719245:[dm] fix slave device dynamic register failure issue
@@ -223,7 +223,7 @@ int dm_mgr_device_create(_IN_ int dev_type, _IN_ char product_key[PRODUCT_KEY_MA return DM_INVALID_PARAMETER; } - if (device_secret != NULL && (strlen(device_secret) == 0 || strlen(device_secret) >= DEVICE_SECRET_MAXLEN)) { + if (device_secret != NULL && strlen(device_secret) >= DEVICE_SECRET_MAXLEN...
main shm BUGFIX old variable used
@@ -611,7 +611,7 @@ sr_shmmain_ext_defrag(sr_shm_t *shm_main, sr_shm_t *shm_ext, char **defrag_ext_b sizeof(sr_rpc_t), main_shm->rpc_sub_count, ext_buf, &ext_buf_cur); /* copy RPC subscriptions */ - shm_rpc = (sr_rpc_t *)(shm_ext->addr + main_shm->rpc_subs); + shm_rpc = (sr_rpc_t *)(ext_buf + main_shm->rpc_subs); for (...
tools/ci/docker/linux/Dockerfile: add libmad0-dev in docker environment
@@ -246,6 +246,7 @@ RUN apt-get update -qq && DEBIAN_FRONTEND="noninteractive" apt-get install -y -q libc6-dev-i386 \ libcurl4-openssl-dev \ libncurses5-dev \ + libmad0-dev:i386 \ libpulse-dev libpulse-dev:i386 \ libpython2.7 \ libtinfo5 \
Fix the remaining DSA tests
@@ -3952,7 +3952,7 @@ static int app_dsa_handler(ACVP_TEST_CASE *test_case) { #endif if (BN_cmp(g2, g)) { - r = -1; + r = 0; } else { r = 1; } @@ -4039,7 +4039,7 @@ static int app_dsa_handler(ACVP_TEST_CASE *test_case) { FIPS_dsa_free(dsa); FIPS_dsa_sig_free(sig); - /* return result, -1 is failure, 1 is pass */ + /* re...
OcXmlLib: Fix potential buffer overflow when deserializing mdata
@@ -1574,6 +1574,8 @@ PlistMetaDataValue ( if (PlistNodeCast (Node, PLIST_NODE_TYPE_DATA) != NULL) { Content = XmlNodeContent (Node); if (Content != NULL) { + + Length = *Size; Result = OcBase64Decode (Content, AsciiStrLen (Content), Buffer, &Length); if (!RETURN_ERROR (Result) && (UINT32) Length == Length) {