Home
last modified time | relevance | path

Searched +full:- +full:- +full:with +full:- +full:config (Results 1 – 25 of 1176) sorted by relevance

12345678910>>...48

/freebsd/contrib/pam-krb5/tests/module/
H A Dpassword-t.c2 * Authentication tests for the pam-krb5 module with ticket cache.
5 * username and password available, and a ticket cache created, but with the
7 * created (so without setuid and with chown doing nothing).
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()
[all …]
H A Dalt-auth-t.c2 * 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()
47 * Generate a testing krb5.conf file with a nonexistent default realm so in main()
[all …]
H A Dcache-t.c2 * Authentication tests for the pam-krb5 module with ticket cache.
5 * username and password available, and a ticket cache created, but with the
7 * created (so without setuid and with chown doing nothing).
10 * Copyright 2017, 2020-2021 Russ Allbery <eagle@eyrie.org>
14 * SPDX-License-Identifier: BSD-3-clause or GPL-1+
17 #include <config.h>
44 check_cache(const char *file, const struct script_config *config, in check_cache() argument
58 is_int(getuid(), st.st_uid, "...with correct UID"); in check_cache()
59 is_int(getgid(), st.st_gid, "...with correct GID"); in check_cache()
60 is_int(0600, (st.st_mode & 0777), "...with correct permissions"); in check_cache()
[all …]
H A Dpkinit-t.c2 * PKINIT authentication tests for the pam-krb5 module.
12 * SPDX-License-Identifier: BSD-3-clause or GPL-1+
15 #include <config.h>
27 struct script_config config; in main() local
36 memset(&config, 0, sizeof(config)); in main()
37 config.user = krbconf->pkinit_principal; in main()
38 config.extra[0] = krbconf->pkinit_cert; in main()
41 * Generate a testing krb5.conf file with a nonexistent default realm so in main()
42 * that we can be sure that our principals will stay fully-qualified in in main()
47 /* Check things that are the same with both Kerberos implementations. */ in main()
[all …]
/freebsd/crypto/openssh/.github/workflows/
H A Dselfhosted.yml1 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
26 # We use a matrix in two parts: firstly all of the VMs are tested with the
27 # default config. "target" corresponds to a label associated with the
[all …]
/freebsd/contrib/pam-krb5/tests/pam-util/
H A Doptions-t.c4 * 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
27 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
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 */
[all …]
/freebsd/crypto/openssh/
H A Dfreebsd-configure.sh5 --prefix=/usr
6 --sysconfdir=/etc/ssh
7 --with-pam
8 --with-ssl-dir=/usr
9 --without-tcp-wrappers
10 --with-libedit
11 --with-ssl-engine
12 --without-xauth
15 set -e
21 (cd $openssh && libtoolize --copy && autoheader && autoconf)
[all …]
/freebsd/contrib/tcsh/
H A DPorted5 find it out-of-date, or you have additions or changes, please let me know.
14 LIBES : -ltermcap
16 CONFIG : sunos*
18 NOTES : Don't compile with /usr/5bin/cc
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
[all …]
/freebsd/tests/
H A Dconftest.py10 def set_handler(config): argument
12 DEFAULT_HANDLER = ATFHandler(report_file_name=config.option.atf_file)
23 # Add meta-values
26 "--atf-source-dir",
32 "--atf-cleanup",
40 "--atf",
46 "--atf-file",
54 def atf_vars() -> Dict[str, str]:
59 def pytest_configure(config): argument
60 if config.option.help:
[all …]
/freebsd/share/examples/sound/oss/
H A Daudio.c2 * SPDX-License-Identifier: BSD-2-Clause
10 * Redistribution and use in source and binary forms, with or without
17 * documentation and/or other materials provided with the distribution.
46 /* Format can be unsigned, in which case replace S with U */
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()
[all …]
/freebsd/stand/lua/
H A Dconfig.lua.82 .\" SPDX-License-Identifier: BSD-2-Clause
6 .\" Redistribution and use in source and binary forms, with or without
13 .\" documentation and/or other materials provided with the distribution.
31 .Nm config.lua
39 it must be included with a statement such as the following:
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
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dallocator_config.h1 //===-- allocator_config.h --------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
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>;
[all …]
/freebsd/contrib/llvm-project/lld/COFF/
H A DLTO.cpp1 //===- LTO.cpp ------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 #include "Config.h"
25 #include "llvm/LTO/Config.h"
47 return lto::getThinLTOOutputFile(path, ctx.config.thinLTOPrefixReplaceOld, in getThinLTOOutputFile()
48 ctx.config.thinLTOPrefixReplaceNew); in getThinLTOOutputFile()
51 lto::Config BitcodeCompiler::createConfig() { in createConfig()
52 lto::Config c; in createConfig()
[all …]
H A DDriver.cpp1 //===- Driver.cpp ---------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
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()
[all …]
/freebsd/contrib/kyua/engine/
H A Dconfig.cpp4 // Redistribution and use in source and binary forms, with or without
12 // documentation and/or other materials provided with the distribution.
29 #include "engine/config.hpp"
32 # include "config.h"
39 #include "utils/config/exceptions.hpp"
40 #include "utils/config/parser.hpp"
41 #include "utils/config/tree.ipp"
46 namespace config = utils::config;
59 /// entry to prevent collisions with the keys defined in here.
61 init_tree(config::tree& tree) in init_tree()
[all …]
/freebsd/crypto/openssl/
H A Dconfigdata.pm.in1 #! {- $config{HASHBANGPERL} -}
2 # -*- mode: perl -*-
3 {-
6 # relative paths untrustable. Because the result is used with 'use lib',
23 # Start with spliting the native path
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}, @_))
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DLTO.cpp1 //===- LTO.cpp ------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
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()
[all …]
H A DDriver.cpp1 //===- Driver.cpp ---------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
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()
[all …]
/freebsd/crypto/openssl/test/recipes/
H A D25-test_req.t2 # Copyright 2015-2024 The OpenSSL Project Authors. All Rights Reserved.
5 # this file except in compliance with the License. You can obtain a copy
27 @req_new = ("-newkey", "dsa:".srctop_file("apps", "dsa512.pem"));
29 @req_new = ("-new");
38 # Check for duplicate -addext parameters, and one "working" case.
39 my @addext_args = ( "openssl", "req", "-new", "-out", "testreq.pem",
40 "-key", srctop_file("test", "certs", "ee-key.pem"),
41 "-confi
[all...]
/freebsd/contrib/kyua/utils/config/
H A Dexceptions.cpp4 // Redistribution and use in source and binary forms, with or without
12 // documentation and/or other materials provided with the distribution.
29 #include "utils/config/exceptions.hpp"
31 #include "utils/config/tree.ipp"
34 namespace config = utils::config;
37 /// Constructs a new error with a plain-text message.
39 /// \param message The plain-text error message.
40 config::error::error(const std::string& message) : in error()
47 config::error::~error(void) throw() in ~error()
52 /// Constructs a new error with a plain-text message.
[all …]
/freebsd/contrib/llvm-project/lld/MachO/
H A DLTO.cpp1 //===- LTO.cpp ---------
[all...]
H A DDriver.cpp1 //===- Driver.cpp ---------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 #include "Config.h"
39 #include "llvm/Config/llvm-config.h"
65 std::unique_ptr<Configuration> macho::config; member in macho
69 // TODO: -r, -dylinker, -preload... in getOutputType()
74 switch (outputArg->getOption().getID()) { in getOutputType()
91 return entry->second; in findLibrary()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObjcopy.cpp1 //===- COFFObjcopy.cpp ---------
157 handleArgs(const CommonConfig & Config,const COFFConfig & COFFConfig,Object & Obj) handleArgs() argument
322 executeObjcopyOnBinary(const CommonConfig & Config,const COFFConfig & COFFConfig,COFFObjectFile & In,raw_ostream & Out) executeObjcopyOnBinary() argument
[all...]
/freebsd/contrib/pam-krb5/m4/
H A Dkrb5-config.m41 dnl Use krb5-config to get link paths for Kerberos libraries.
4 dnl linker flags for a library via krb5-config and sets the appropriate shell
6 dnl used to find the default path to krb5-config.
10 dnl The canonical version of this file is maintained in the rra-c-util
11 dnl package, available at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
15 dnl Copyright 2011-2012
19 dnl and/or distribute it, with or without modifications, as long as this
22 dnl SPDX-License-Identifier: FSFULLR
24 dnl Check for krb5-config in the user's path and set PATH_KRB5_CONFIG. This
26 dnl meaning it will only be run once even if we link with multiple krb5-config
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp1 //===- ELFObjcopy.cpp -----------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
90 "with x86_64 architecture"); in getNewShfFlags()
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()
[all …]

12345678910>>...48