/freebsd/crypto/openssh/.github/workflows/ |
H A D | c-cpp.yml | 5 …m4', '**.sh', '**/Makefile.in', 'configure.ac', '.github/configs', '.github/workflows/c-cpp.yaml' ] 7 …m4', '**.sh', '**/Makefile.in', 'configure.ac', '.github/configs', '.github/workflows/c-cpp.yaml' ] 11 name: "${{ matrix.target }} ${{ matrix.config }}" 12 if: github.repository != 'openssh/openssh-portable-selfhosted' 14 fail-fast: false 18 - ubuntu-20.04 19 - ubuntu-22.04 20 - macos-12 21 - macos-13 22 - macos-14 [all …]
|
H A D | selfhosted.yml | 1 name: C/C++ CI self-hosted 9 name: "${{ matrix.target }} ${{ matrix.config }}" 10 if: github.repository == 'openssh/openssh-portable-selfhosted' 11 runs-on: ${{ matrix.host }} 12 timeout-minutes: 600 17 TARGET_CONFIG: ${{ matrix.config }} 18 …IN: ${{ startsWith(matrix.host, 'libvirt') && format('{0}-{1}-{2}', matrix.target, matrix.config, … 25 fail-fast: false 27 # default config. "target" corresponds to a label associated with the 31 - alpine [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | config_file.c | 3 * Copyright (c) 2003-2019, Jouni Malinen <j@w1.fi> 19 #include "config.h" 26 #include "utils/config.h" 33 if (ssid->passphrase) { in wpa_config_validate_network() 34 if (ssid->psk_set) { in wpa_config_validate_network() 42 if (ssid->disabled == 2) in wpa_config_validate_network() 43 ssid->p2p_persistent_group = 1; in wpa_config_validate_network() 45 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && in wpa_config_validate_network() 46 !(ssid->pairwise_cipher & (WPA_CIPHER_CCMP | WPA_CIPHER_CCMP_256 | in wpa_config_validate_network() 53 ssid->group_cipher &= ~WPA_CIPHER_CCMP; in wpa_config_validate_network() [all …]
|
/freebsd/sys/isa/ |
H A D | pnpparse.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 60 struct isa_config *config, int ldn) in pnp_parse_desc() argument 99 if (config->ic_nirq == ISA_NIRQ) { in pnp_parse_desc() 105 config->ic_irqmask[config->ic_nirq] = 0; in pnp_parse_desc() 106 config->ic_nirq++; in pnp_parse_desc() 112 config->ic_irqmask[config->ic_nirq] = I16(res); in pnp_parse_desc() 113 config->ic_nirq++; in pnp_parse_desc() 117 if (config->ic_ndrq == ISA_NDRQ) { in pnp_parse_desc() 123 config->ic_drqmask[config->ic_ndrq] = 0; in pnp_parse_desc() [all …]
|
/freebsd/share/examples/sound/oss/ |
H A D | audio.c | 2 * SPDX-License-Identifier: BSD-2-Clause 68 typedef struct config { struct 84 * Error state is indicated by value=-1 in which case application exits with 90 if (value == -1) in check_error() 114 oss_split(config_t *config, sample_t *input, sample_t *output) in oss_split() argument 118 for (i = 0; i < config->sample_count; ++i) { in oss_split() 119 channel = i % config->channels; in oss_split() 120 index = i / config->channels; in oss_split() 130 oss_merge(config_t *config, sample_t *input, sample_t *output) in oss_merge() argument 134 for (channel = 0; channel < config->channels; ++channel) { in oss_merge() [all …]
|
/freebsd/contrib/pam-krb5/tests/module/ |
H A D | password-t.c | 2 * Authentication tests for the pam-krb5 module with ticket cache. 11 * Copyright 2011-2012, 2014 14 * SPDX-License-Identifier: BSD-3-clause or GPL-1+ 17 #include <config.h> 36 check_authtok(pam_handle_t *pamh, const struct script_config *config, in check_authtok() argument 44 is_string(config->newpass, authtok, "...and it is correct"); in check_authtok() 51 struct script_config config; in main() local 57 memset(&config, 0, sizeof(config)); in main() 58 config.user = krbconf->username; in main() 59 config.password = krbconf->password; in main() [all …]
|
H A D | expired-t.c | 2 * Tests for the pam-krb5 module with an expired password. 10 * Copyright 2011-2012 13 * SPDX-License-Identifier: BSD-3-clause or GPL-1+ 16 #include <config.h> 34 struct script_config config; in main() local 42 memset(&config, 0, sizeof(config)); in main() 43 config.user = krbconf->username; in main() 44 config.password = krbconf->password; in main() 45 config.extra[0] = krbconf->userprinc; in main() 51 now = time(NULL) - 1; in main() [all …]
|
H A D | alt-auth-t.c | 2 * Tests for the alt_auth_map functionality in libpam-krb5. 14 * SPDX-License-Identifier: BSD-3-clause or GPL-1+ 17 #include <config.h> 29 struct script_config config; in main() local 40 memset(&config, 0, sizeof(config)); in main() 41 config.user = "bogus-nonexistent-account"; in main() 42 config.authtok = krbconf->password; in main() 43 config.extra[0] = krbconf->username; in main() 44 config.extra[1] = krbconf->userprinc; in main() 48 * that we can be sure that our principals will stay fully-qualified in in main() [all …]
|
/freebsd/contrib/processor-trace/libipt/test/src/ |
H A D | ptunit-sync.c | 2 * Copyright (c) 2014-2019, Intel Corporation 34 #include "intel-pt.h" 43 struct pt_config config; member 52 memset(sfix->buffer, 0xcd, sizeof(sfix->buffer)); in sfix_init() 54 memset(&sfix->config, 0, sizeof(sfix->config)); in sfix_init() 55 sfix->config.size = sizeof(sfix->config); in sfix_init() 56 sfix->config.begin = sfix->buffer; in sfix_init() 57 sfix->config.end = sfix->buffer + sizeof(sfix->buffer); in sfix_init() 81 errcode = pt_sync_forward(NULL, sfix->config.begin, &sfix->config); in sync_fwd_null() 82 ptu_int_eq(errcode, -pte_internal); in sync_fwd_null() [all …]
|
H A D | ptunit-config.c | 2 * Copyright (c) 2015-2019, Intel Corporation 34 #include "intel-pt.h" 44 struct pt_config config; in from_user_null() local 47 errcode = pt_config_from_user(NULL, &config); in from_user_null() 48 ptu_int_eq(errcode, -pte_internal); in from_user_null() 50 errcode = pt_config_from_user(&config, NULL); in from_user_null() 51 ptu_int_eq(errcode, -pte_invalid); in from_user_null() 58 struct pt_config config, user; in from_user_too_small() local 61 user.size = sizeof(config.size); in from_user_too_small() 63 errcode = pt_config_from_user(&config, &user); in from_user_too_small() [all …]
|
/freebsd/contrib/pam-krb5/tests/pam-util/ |
H A D | options-t.c | 4 * The canonical version of this file is maintained in the rra-c-util package, 5 * which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>. 9 * Copyright 2010-2014 30 * SPDX-License-Identifier: MIT 33 #include <config.h> 39 #include <pam-util/args.h> 40 #include <pam-util/options.h> 41 #include <pam-util/vector.h> 64 /* clang-format off */ 71 /* clang-format on */ [all …]
|
/freebsd/contrib/kyua/utils/config/ |
H A D | tree_test.cpp | 29 #include "utils/config/tree.ipp" 31 #include <atf-c++.hpp> 33 #include "utils/config/nodes.ipp" 37 namespace config = utils::config; 71 class wrapped_int_node : public config::typed_leaf_node< int_wrapper > { 75 /// \return A dynamically-allocated node. 80 new_node->_value = _value; in deep_copy() 91 config::typed_leaf_node< int_wrapper >::value().value()); in push_lua() 103 config::typed_leaf_node< int_wrapper >::set(new_value); in set_lua() 113 config::typed_leaf_node< int_wrapper >::set(new_value); in set_string() [all …]
|
H A D | nodes_test.cpp | 29 #include "utils/config/nodes.ipp" 31 #include <atf-c++.hpp> 35 #include "utils/config/exceptions.hpp" 36 #include "utils/config/keys.hpp" 39 namespace config = utils::config; 46 class validation_node : public config::int_node { 56 throw config::value_error("Custom validate method"); in validate() 62 class set_validation_node : public config::strings_set_node { 74 throw config::value_error("Custom validate method"); in validate() 85 config::bool_node node; in ATF_TEST_CASE_BODY() [all …]
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | LTO.cpp | 1 //===- LTO.cpp ------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 #include "Config.h" 25 #include "llvm/LTO/Config.h" 47 return lto::getThinLTOOutputFile(modulePath, config->thinLTOPrefixReplaceOld, in getThinLTOOutputFile() 48 config->thinLTOPrefixReplaceNew); in getThinLTOOutputFile() 51 static lto::Config createConfig() { in createConfig() 52 lto::Config c; in createConfig() 54 // LLD supports the new relocations and address-significance tables. in createConfig() [all …]
|
H A D | Driver.cpp | 1 //===- Driver.cpp ---------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 19 // be harmful when you are doing cross-linking. Therefore, in LLD, we 23 //===----------------------------------------------------------------------===// 26 #include "Config.h" 53 #include "llvm/Config/llvm-config.h" 81 ConfigWrapper elf::config; member in elf 88 if (config->noinhibitExec) in errorOrWarn() 130 // This driver-specific context will be freed later by unsafeLldMain(). in link() [all …]
|
/freebsd/contrib/pam-krb5/module/ |
H A D | options.c | 2 * Option handling for pam-krb5. 8 * Copyright 2005-2010, 2014, 2020 Russ Allbery <eagle@eyrie.org> 9 * Copyright 2011-2012 12 * Copyright 1999-2000 Frank Cusack <fcusack@fcusack.com> 14 * SPDX-License-Identifier: BSD-3-clause or GPL-1+ 17 #include <config.h> 24 #include <pam-util/args.h> 25 #include <pam-util/logging.h> 26 #include <pam-util/options.h> 27 #include <pam-util/vector.h> [all …]
|
/freebsd/contrib/netbsd-tests/lib/librefuse/ |
H A D | t_refuse_opt.c | 3 /*- 34 #include <atf-c.h> 121 struct fuse_opt o1[] = { FUSE_OPT_KEY("-x" , 0), FUSE_OPT_END }; in ATF_TC_BODY() 125 struct fuse_opt o5[] = { FUSE_OPT_KEY("-x " , 0), FUSE_OPT_END }; in ATF_TC_BODY() 126 struct fuse_opt o6[] = { FUSE_OPT_KEY("-x %s" , 0), FUSE_OPT_END }; in ATF_TC_BODY() 128 ATF_CHECK(fuse_opt_match(o1, "-x") == 1); in ATF_TC_BODY() 132 ATF_CHECK(fuse_opt_match(o2, "-foo") == 0); in ATF_TC_BODY() 140 ATF_CHECK(fuse_opt_match(o5, "-xbar" ) == 1); in ATF_TC_BODY() 141 ATF_CHECK(fuse_opt_match(o5, "-x" ) == 1); in ATF_TC_BODY() 142 ATF_CHECK(fuse_opt_match(o5, "-x=bar") == 1); in ATF_TC_BODY() [all …]
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | Driver.cpp | 1 //===- Driver.cpp ---------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 #include "Config.h" 29 #include "llvm/Config/llvm-config.h" 51 #include "llvm/ToolDrivers/llvm-lib/LibDriver.h" 67 // This driver-specific context will be freed later by unsafeLldMain(). in link() 70 ctx->e.initialize(stdoutOS, stderrOS, exitEarly, disableOutput); in link() 71 ctx->e.logName = args::getFilenameWithoutExe(args[0]); in link() 72 ctx->e.errorLimitExceededMsg = "too many errors emitted, stopping now" in link() [all …]
|
/freebsd/sys/contrib/openzfs/contrib/pam_zfs_key/ |
H A D | pam_zfs_key.c | 1 // SPDX-License-Identifier: BSD-3-Clause 100 for (int i = retries; i > 0; --i) { in try_lock() 117 pw->len = len; in alloc_pw_size() 127 pw->value = mmap(NULL, pw->len, PROT_READ | PROT_WRITE, MAP_FLAGS, in alloc_pw_size() 128 -1, 0); in alloc_pw_size() 130 if (pw->value == MAP_FAILED) { in alloc_pw_size() 134 if (try_lock(mlock, pw->value, pw->len) != 0) { in alloc_pw_size() 135 (void) munmap(pw->value, pw->len); in alloc_pw_size() 151 memcpy(pw->value, source, pw->len); in alloc_pw_string() 158 memset(pw->value, 0, pw->len); in pw_free() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | allocator_config.h | 1 //===-- allocator_config.h --------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 24 // aliasing the `Config` like: 27 // // The instance of Scudo will be initiated with `Config`. 28 // typedef CustomConfig Config; 29 // // Aliasing as default configuration to run the tests with this config. 72 template <typename Config> using PrimaryT = SizeClassAllocator64<Config>; 74 template <typename Config> using PrimaryT = SizeClassAllocator32<Config>; 86 template <typename Config> using CacheT = MapAllocatorCache<Config>; [all …]
|
/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_packet.c | 2 * Copyright (c) 2013-2019, Intel Corporation 32 #include "intel-pt.h" 53 const struct pt_config *config) in pt_pkt_read_unknown() argument 59 if (!packet || !pos || !config) in pt_pkt_read_unknown() 60 return -pte_internal; in pt_pkt_read_unknown() 62 decode = config->decode.callback; in pt_pkt_read_unknown() 64 return -pte_bad_opc; in pt_pkt_read_unknown() 67 packet->payload.unknown.packet = pos; in pt_pkt_read_unknown() 68 packet->payload.unknown.priv = NULL; in pt_pkt_read_unknown() 73 size = (*decode)(&packet->payload.unknown, config, pos, in pt_pkt_read_unknown() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
H A D | ELFObjcopy.cpp | 1 //===- ELFObjcopy.cpp -----------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 111 // If Sec's type is changed from SHT_NOBITS due to --set-section-flags, in setSectionType() 126 // may promote more non-ALLOC sections than GNU objcopy, but it is fine as in setSectionFlagsAndType() 127 // non-ALLOC SHT_NOBITS sections do not make much sense. in setSectionFlagsAndType() 157 static std::unique_ptr<Writer> createELFWriter(const CommonConfig &Config, in createELFWriter() argument 163 return std::make_unique<ELFWriter<ELF32LE>>(Obj, Out, !Config.StripSections, in createELFWriter() 164 Config.OnlyKeepDebug); in createELFWriter() 166 return std::make_unique<ELFWriter<ELF64LE>>(Obj, Out, !Config.StripSections, in createELFWriter() [all …]
|
/freebsd/stand/lua/ |
H A D | config.lua.8 | 2 .\" SPDX-License-Identifier: BSD-2-Clause 31 .Nm config.lua 41 .Dl local config = require("config") 45 .Bl -tag -width "config.setCarouselIndex(id, idx)" -offset indent 46 .It Fn config.getCarouselIndex id 51 for a more in-depth explanation of carousels. 52 .It Fn config.setCarouselIndex id idx 60 .It Fn config.readConf file loaded_files 69 variable. Additionnaly, the top-level call to readConf will process files listed in the 79 argument, which uses filenames as keys and any non-nil value to [all …]
|
/freebsd/contrib/tcsh/ |
H A D | Ported | 5 find it out-of-date, or you have additions or changes, please let me know. 14 LIBES : -ltermcap 16 CONFIG : sunos* 25 LIBES : -lcurses -lsocket -lnsl 27 CONFIG : sol* 29 NOTES : The sunpro compiler cannot compile tcsh with -O, it crashes 30 : on some files. In any case do not use -O with any of the 41 LIBES : -lcurses -lsocket -lnsl 43 CONFIG : sol26 52 LIBES : -lcurses -lsocket -lnsl [all …]
|
/freebsd/contrib/bmake/mk/ |
H A D | autoconf.mk | 1 # SPDX-License-Identifier: BSD-2-Clause 5 # @(#) Copyright (c) 1996-2024, Simon J. Gerraty 14 # Please send copies of changes and bug-fixes to: 18 .NOPATH: config.h config.gen config.recheck config [all...] |