/freebsd/crypto/openssl/Configurations/ |
H A D | descrip.mms.tmpl | 3 ## {- join("\n## ", @autowarntext) -} 4 {- 9 (our $osslprefix_q = platform->osslprefix()) =~ s/\$/\\\$/; 11 our $sover_dirname = platform->shlib_version_as_filename(); 12 our $osslver = sprintf "%02d", split(/\./, $config{version}); 14 our $sourcedir = $config{sourcedir}; 15 our $builddir = $config{builddir}; 18 (my $vol, my $dirs, my $file) = File::Spec->splitpath($_[0]); 19 my @dirs = File::Spec->splitdir($dirs); 23 return File::Spec::Unix->catpath( [all …]
|
/freebsd/contrib/pam-krb5/module/ |
H A D | password.c | 4 * Copyright 2005-2009, 2020 Russ Allbery <eagle@eyrie.org> 8 * Copyright 1999-2000 Frank Cusack <fcusack@fcusack.com> 10 * SPDX-License-Identifier: BSD-3-clause or GPL-1+ 13 #include <config.h> 21 #include <pam-util/args.h> 22 #include <pam-util/logging.h> 43 if (args->config->use_authtok) { in pamk5_password_prompt() 44 pamret = pam_get_item(args->pamh, PAM_AUTHTOK, &tmp); in pamk5_password_prompt() 50 if (strlen(tmp) > PAM_MAX_RESP_SIZE - 1) { in pamk5_password_prompt() 52 PAM_MAX_RESP_SIZE - 1); in pamk5_password_prompt() [all …]
|
H A D | support.c | 2 * Support functions for pam-krb5. 7 * Copyright 2005-2007, 2009, 2020 Russ Allbery <eagle@eyrie.org> 8 * Copyright 2011-2012 11 * Copyright 1999-2000 Frank Cusack <fcusack@fcusack.com> 13 * SPDX-License-Identifier: BSD-3-clause or GPL-1+ 16 #include <config.h> 25 #include <pam-util/args.h> 26 #include <pam-util/logging.h> 30 * Given the PAM arguments and the user we're authenticating, see if we should 31 * ignore that user because they're root or have a low-numbered UID and we [all …]
|
H A D | auth.c | 9 * Copyright 2005-2010, 2014-2015, 2017, 2020 11 * Copyright 2010-2012, 2014 14 * Copyright 1999-2000 Frank Cusack <fcusack@fcusack.com> 16 * SPDX-License-Identifier: BSD-3-clause or GPL-1+ 19 #include <config.h> 32 #include <pam-util/args.h> 33 #include <pam-util/logging.h> 34 #include <pam-util/vector.h> 49 * Fill in ctx->princ from the value of ctx->name or (if configured) from 50 * prompting. If we don't prompt and ctx->name contains an @-sign, [all …]
|
H A D | setcred.c | 2 * Ticket creation routines for pam-krb5. 8 * Copyright 2005-2009, 2014, 2017, 2020 Russ Allbery <eagle@eyrie.org> 12 * Copyright 1999-2000 Frank Cusack <fcusack@fcusack.com> 14 * SPDX-License-Identifier: BSD-3-clause or GPL-1+ 17 #include <config.h> 27 #include <pam-util/args.h> 28 #include <pam-util/logging.h> 49 if (args == NULL || args->config == NULL || args->config->ctx == NULL in cache_init_from_cache() 50 || args->config->ctx->context == NULL) in cache_init_from_cache() 54 ctx = args->config->ctx; in cache_init_from_cache() [all …]
|
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/processor-trace/libipt/src/ |
H A D | pt_sync.c | 2 * Copyright (c) 2013-2019, Intel Corporation 33 #include "intel-pt.h" 36 /* A psb packet contains a unique 2-byte repeating pattern. 59 return truncate(pointer + alignment - 1, alignment); in align() 68 const struct pt_config *config) in pt_find_psb() argument 73 if (!pos || !config) in pt_find_psb() 76 begin = config->begin; in pt_find_psb() 77 end = config->end; in pt_find_psb() 100 * We're right after the psb payload and within the buffer. in pt_find_psb() 103 pos -= ptps_psb; in pt_find_psb() [all …]
|
H A D | pt_query_decoder.c | 2 * Copyright (c) 2014-2019, Intel Corporation 38 #include "intel-pt.h" 63 return -pte_internal; in pt_qry_find_header_fup() 72 switch (packet->type) { in pt_qry_find_header_fup() 89 const struct pt_config *config) in pt_qry_decoder_init() argument 94 return -pte_invalid; in pt_qry_decoder_init() 98 errcode = pt_config_from_user(&decoder->config, config); in pt_qry_decoder_init() 102 pt_last_ip_init(&decoder->ip); in pt_qry_decoder_init() 103 pt_tnt_cache_init(&decoder->tnt); in pt_qry_decoder_init() 104 pt_time_init(&decoder->time); in pt_qry_decoder_init() [all …]
|
H A D | pt_insn_decoder.c | 2 * Copyright (c) 2013-2019, Intel Corporation 35 #include "intel-pt.h" 51 decoder->mode = ptem_unknown; in pt_insn_reset() 52 decoder->ip = 0ull; in pt_insn_reset() 53 decoder->status = 0; in pt_insn_reset() 54 decoder->enabled = 0; in pt_insn_reset() 55 decoder->process_event = 0; in pt_insn_reset() 56 decoder->speculative = 0; in pt_insn_reset() 57 decoder->process_insn = 0; in pt_insn_reset() 58 decoder->bound_paging = 0; in pt_insn_reset() [all …]
|
/freebsd/contrib/tcpdump/cmake/Modules/ |
H A D | FindPCAP.cmake | 6 # lib subdirectories for pcap.dll (e.g WpdPack or npcap-sdk). 8 # (e.g cmake -DPCAP_ROOT=C:\path\to\pcap [...]) 15 # libpcap isn't set up to install .pc files or pcap-config on Windows, 27 # they're not supposed to be cache entries, and find_path() and 32 # The 64-bit Packet.lib is located under /x64 35 # For the WinPcap and Npcap SDKs, the Lib subdirectory of the top-level 36 # directory contains 32-bit libraries; the 64-bit libraries are in the 71 # because, if pkg-config isn't found, or it is but it has no .pc 73 # libpcap isn't available - not all systems ship pkg-config, and 81 # First, try pkg-config. [all …]
|
/freebsd/tools/tools/shlib-compat/ |
H A D | shlib-compat.py | 2 #- 31 import re 34 class Config(object): class 57 if outname and outname != '-': 91 self.re_exclude = [ re.compile(x) for x in self.exclude ] 92 self.re_include = [ re.compile(x) for x in self.include ] 145 warn(Config.w_cached, "Item is already cached: %d (%s, %s)" % \ 159 self.added = self.new - self.common 160 self.removed = self.orig - self.common 399 s = re.sub(r'\(.+\)', '', self.subranges[0].upper_bound) [all …]
|
/freebsd/contrib/atf/atf-c/ |
H A D | tc_test.c | 26 #include "atf-c/tc.h" 31 #include <atf-c.h> 33 #include "atf-c/detail/test_helpers.h" 35 /* --------------------------------------------------------------------- 37 * --------------------------------------------------------------------- */ 49 atf_tc_set_md_var(tc, "test-var", "Test text"); in ATF_TC_HEAD() 52 /* --------------------------------------------------------------------- 54 * --------------------------------------------------------------------- */ 65 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty), in ATF_TC_BODY() 68 ATF_REQUIRE(!atf_tc_has_md_var(&tc, "test-var")); in ATF_TC_BODY() [all …]
|
/freebsd/sbin/devd/ |
H A D | devd.cc | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause AND BSD-2-Clause 4 * Copyright (c) 2002-2010 M. Warner Losh <imp@FreeBSD.org> 63 // - devd needs to document the unix domain socket 64 // - devd.conf needs more details on the supported statements. 122 * The kernel sets it to the minimum of a hard-coded maximum value and sbcc * 143 static const char detach = '-'; 171 static config cfg; 175 event_proc::event_proc() : _prio(-1) in event_proc() 192 event_proc::matches(config &c) const in matches() [all …]
|
/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap.c | 3 * Copyright (c) 2004-2019, Jouni Malinen <j@w1.fi> 14 * operations and to add functionality needed for fast re-authentication 59 return sm->eapol_cb->get_bool(sm->eapol_ctx, var); in eapol_get_bool() 66 sm->eapol_cb->set_bool(sm->eapol_ctx, var, value); in eapol_set_bool() 72 return sm->eapol_cb->get_int(sm->eapol_ctx, var); in eapol_get_int() 79 sm->eapol_cb->set_int(sm->eapol_ctx, var, value); in eapol_set_int() 85 return sm->eapol_cb->get_eapReqData(sm->eapol_ctx); in eapol_get_eapReqData() 94 if (sm->eapol_cb->notify_status) in eap_notify_status() 95 sm->eapol_cb->notify_status(sm->eapol_ctx, status, parameter); in eap_notify_status() 102 if (sm->eapol_cb->notify_eap_error) in eap_report_error() [all …]
|
/freebsd/share/man/man5/ |
H A D | mount.conf.5 | 44 .Bl -enum 46 The kernel will synthesize in memory a config file 56 Next, the kernel will parse the in-memory config file created in step 1 60 for the format of the config file. 64 will be re-mounted on the 76 this file will be parsed, and the kernel will use this new config 77 file to try to re-moun [all...] |
/freebsd/crypto/openssl/ |
H A D | configdata.pm.in | 1 #! {- $config{HASHBANGPERL} -} 2 # -*- mode: perl -*- 3 {- 24 (my $vol, my $dirs, my $file) = File::Spec->splitpath($path); 25 my @dirs = File::Spec->splitdir($dirs); 29 $dirs = File::Spec::Unix->catdir('', $vol, @dirs); 30 $path = File::Spec::Unix->catpath('', $dirs, $file); 36 return _fixup_path(File::Spec->catdir($config{sourcedir}, @_)) 39 return _fixup_path(File::Spec->catfile($config{sourcedir}, @_)) 43 -} [all …]
|
/freebsd/usr.bin/dpv/ |
H A D | dpv.c | 1 /*- 2 * Copyright (c) 2013-2016 Devin Teske <dteske@FreeBSD.org> 58 static int fd = -1; 64 static uint8_t multiple = FALSE; /* `-m' */ 84 if (realpath(file->path, rpath) == 0 || in operate_common() 86 warn("%s", file->path); in operate_common() 87 file->status = DPV_STATUS_FAILED; in operate_common() 88 return (-1); in operate_common() 100 close(fd--); in operate_common() 111 fd -= 1; in operate_common() [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/ |
H A D | zpool_upgrade_008_pos.ksh | 1 #!/usr/local/bin/ksh93 -p 38 # Zpool upgrade should be able to upgrade pools to a given version using -V 42 # (latest pool version - 1) 44 # we're running. 52 # CODING_STATUS: COMPLETED (2007-09-27) 62 destroy_upgraded_pool $config 66 "Zpool upgrade should be able to upgrade pools to a given version using -V" 68 $ZPOOL upgrade --help 2>&1 | $GREP "V version" > /dev/null 69 if [ $? -ne 0 ] 71 log_unsupported "Zpool upgrade -V not supported on this release." [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_log_interface.cpp | 1 //===-- xray_log_interface.cpp --------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 36 // when it should be a map because we're avoiding having to depend on C++ 72 for (ModeImpl *it = ModeImpls; it != &SentinelModeImpl; it = it->Next) { in __xray_log_register_mode() 73 if (!internal_strcmp(Mode, it->Mode)) in __xray_log_register_mode() 77 NewModeImpl->Next = ModeImpls; in __xray_log_register_mode() 78 NewModeImpl->Mode = internal_strdup(Mode); in __xray_log_register_mode() 79 NewModeImpl->Impl = Impl; in __xray_log_register_mode() [all …]
|
/freebsd/contrib/ntp/html/hints/ |
H A D | bsdi | 10 use another compiler you will need to add -D__bsdi__ to catch the various 13 The Kinemetrics/Truetime GPS-TM/TMD driver is known to work on this system. 14 The GPS-805 and GOES should also work fine. Hell, they should all work fine 18 can only handle one refclock per daemon. We're working this out with the 21 The config file is machine/bsdi, and the following steps should be all that 30 rm -f Config.local 38 This will place all of the executables in /usr/local/etc. The config 42 Craft a config file and a key file, and put them in the right places. 47 if you're going to authenticate. 52 echo -n 'starting local daemons:' [all …]
|
/freebsd/sbin/dhclient/ |
H A D | dhclient.c | 3 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 50 * Consortium DHCP server uses. Much system-specific configuration code 53 * system-specific configuration code to these operating systems - instead, 102 static int nullfd = -1; 120 * the end of time (~2038 when a 32-bit time_t is being used). 122 #define TIME_MAX ((((time_t) 1 << (sizeof(time_t) * CHAR_BIT - 2)) - 1) * 2 + 1) 146 ((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long)) 147 #define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len)) 161 return -1; in findproto() [all …]
|
/freebsd/sys/tools/syscalls/core/ |
H A D | syscall.lua | 1 -- 2 -- SPDX-License-Identifier: BSD-2-Clause 3 -- 4 -- Copyright (c) 2024 Tyler Baxter <agge@FreeBSD.org> 5 -- Copyright (c) 2023 Warner Losh <imp@bsdimp.com> 6 -- Copyright (c) 2019 Kyle Evans <kevans@FreeBSD.org> 7 -- 9 local config = require("config") 28 -- flags beyond this point are modifiers 35 -- Native is an arbitrarily large number to have a constant and not [all …]
|
/freebsd/contrib/smbfs/ |
H A D | INSTALL | 4 Copy config.in file to the config.local and edit it for your needs. Build 6 to use encrypted passwords you'll need an src/sys/crypto directory (sys-crypto 9 Note for FreeBSD-current: it have kernel module sources in the base 11 config file. smbfs can be either compiled in the kernel or loaded as module. 18 If you're running any previous version of smbfs, unmount all mounted 28 If you're running smbfs for the first time, it is also necessary to 56 mount_smbfs -I hostname //bp@myserver/myshare /mnt
|
/freebsd/sys/dev/qcom_clk/ |
H A D | qcom_clk_rcg2.c | 1 /*- 52 ((sc)->cmd_rcgr + (sc)->cfg_offset + QCOM_CLK_RCG2_CFG_REG) 54 ((sc)->cmd_rcgr + QCOM_CLK_RCG2_CMD_REG) 56 ((sc)->cmd_rcgr + (sc)->cfg_offset + QCOM_CLK_RCG2_M_REG) 58 ((sc)->cmd_rcgr + (sc)->cfg_offset + QCOM_CLK_RCG2_N_REG) 60 ((sc)->cmd_rcgr + (sc)->cfg_offset + QCOM_CLK_RCG2_D_REG) 88 CLKDEV_READ_4(clknode_get_device(sc->clknode), in qcom_clk_rcg2_update_config_locked() 91 CLKDEV_WRITE_4(clknode_get_device(sc->clknode), in qcom_clk_rcg2_update_config_locked() 99 CLKDEV_READ_4(clknode_get_device(sc->clknode), in qcom_clk_rcg2_update_config_locked() 108 CLKDEV_READ_4(clknode_get_device(sc->clknode), in qcom_clk_rcg2_update_config_locked() [all …]
|
/freebsd/sys/dev/qcom_qup/ |
H A D | qcom_spi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 69 { "qcom,spi-qup-v1.1.1", QCOM_SPI_HW_QPI_V1_1 }, 70 { "qcom,spi-qup-v2.1.1", QCOM_SPI_HW_QPI_V2_1 }, 71 { "qcom,spi-qup-v2.2.1", QCOM_SPI_HW_QPI_V2_2 }, 88 if (sc->cs_pins[cs] == NULL) { in qcom_spi_set_chipsel() 89 device_printf(sc->sc_dev, in qcom_spi_set_chipsel() 112 gpio_pin_set_active(sc->cs_pins[cs], pinactive); in qcom_spi_set_chipsel() 113 gpio_pin_is_active(sc->cs_pins[cs], &pinactive); in qcom_spi_set_chipsel() 128 device_printf(sc->sc_dev, in qcom_spi_intr() [all …]
|