Home
last modified time | relevance | path

Searched +full:- +full:grp (Results 1 – 25 of 476) sorted by relevance

12345678910>>...20

/freebsd/sys/netpfil/ipfw/
H A Ddn_sched_qfq.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
73 * We use the base-0 version __fls() to match the description in
89 return fls(word) - 1; in __fls()
125 /*-------------------------------------------*/
140 ^.__grp->index = 0
141 *.__grp->slot_shift
158 The per-scheduler-instance data contain all the data structures
169 * Shifts used for class<->group mapping. Class weights are
174 * grp->index is the index of the group; and grp->slot_shift
[all …]
/freebsd/usr.sbin/pw/
H A Dpw_group.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
31 #include <grp.h>
43 static void delete_members(struct group *grp, char *list);
44 static int print_group(struct group * grp, bool pretty);
48 grp_set_passwd(struct group *grp, bool update, int fd, bool precrypted) in grp_set_passwd() argument
56 if (fd == - in grp_set_passwd()
115 struct group *grp; getgroup() local
151 delete_members(struct group * grp,char * list) delete_members() argument
175 struct group *grp; gr_gidpolicy() local
236 print_group(struct group * grp,bool pretty) print_group() argument
289 struct group *grp = NULL; pw_group_show() local
361 struct group *grp = NULL; pw_group_del() local
417 grp_has_member(struct group * grp,const char * name) grp_has_member() argument
428 grp_add_members(struct group ** grp,char * members) grp_add_members() argument
448 struct group *grp; groupadd() local
577 struct group *grp = NULL; pw_group_mod() local
[all...]
H A Dpw_user.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
39 #include <grp.h>
54 #define LOGNAMESIZE (MAXLOGNAME-1)
62 -1,
63 -1,
98 if (fstatat(dfd, dir, &st, 0) != -1) { in mkdir_home_parents()
116 if (fstatat(dfd, dirs, &st, 0) == -1) { in mkdir_home_parents()
119 if (fstatat(dfd, dirs, &st, 0) == -1) { in mkdir_home_parents()
120 if (mkdirat(dfd, dirs, _DEF_DIRMODE) == -1) in mkdir_home_parents()
[all …]
H A Dgrupd.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
30 #include <grp.h>
49 gr_update(struct group * grp, char const * group) in gr_update() argument
55 if (grp != NULL) in gr_update()
56 gr = gr_dup(grp); in gr_update()
64 if ((pfd = gr_lock()) == -1) { in gr_update()
68 if ((tfd = gr_tmp(-1)) == -1) { in gr_update()
72 if (gr_copy(pfd, tfd, gr, old_gr) == -1) { in gr_update()
79 if (gr_mkdb() == -1) { in gr_update()
[all …]
/freebsd/sys/rpc/
H A Dsvc.c3 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
11 * - Redistributions of source code must retain the above copyright notice,
13 * - Redistributions in binary form must reproduce the above copyright notice,
16 * - Neither the name of Sun Microsystems, Inc. nor the names of its
35 * svc.c, Server-side remote procedure call interface.
70 #define version_keepquiet(xp) (SVC_EXT(xp)->xp_flags & SVC_VERSQUIET)
74 static void svc_new_thread(SVCGROUP *grp);
90 SVCGROUP *grp; in svcpool_create() local
95 mtx_init(&pool->sp_lock, "sp_lock", NULL, MTX_DEF); in svcpool_create()
[all …]
/freebsd/lib/libc/tests/nss/
H A Dgetgr_test.c1 /*-
30 #include <grp.h>
37 #include <atf-c.h>
88 if (src->gr_name != NULL) { in IMPLEMENT_TEST_FILE_SNAPSHOT()
89 dest->gr_name = strdup(src->gr_name); in IMPLEMENT_TEST_FILE_SNAPSHOT()
90 ATF_REQUIRE(dest->gr_name != NULL); in IMPLEMENT_TEST_FILE_SNAPSHOT()
93 if (src->gr_passwd != NULL) { in IMPLEMENT_TEST_FILE_SNAPSHOT()
94 dest->gr_passwd = strdup(src->gr_passwd); in IMPLEMENT_TEST_FILE_SNAPSHOT()
95 ATF_REQUIRE(dest->gr_passwd != NULL); in IMPLEMENT_TEST_FILE_SNAPSHOT()
97 dest->gr_gid = src->gr_gid; in IMPLEMENT_TEST_FILE_SNAPSHOT()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/
H A Dimx6qdl-dhcom-som.dtsi1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2015-2021 DH electronics GmbH
7 #include <dt-bindings/pwm/pwm.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/clock/imx6qdl-clock.h>
10 #include <dt-bindings/input/input.h>
30 memory@10000000 { /* Appropriate memory size will be filled by U-Boot */
35 reg_3p3v: regulator-3P3V {
36 compatible = "regulator-fixed";
37 regulator-always-on;
[all …]
H A Dimx6ull-dhcom-som.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
6 #include "imx6ull-dhcor-som.dtsi"
10 /delete-property/ spi2;
11 /delete-property/ spi3;
28 stdout-path = "serial0:115200n8";
31 reg_ext_3v3_ref: regulator-ext-3v3-ref {
32 compatible = "regulator-fixed";
33 regulator-always-on;
34 regulator-max-microvolt = <3300000>;
35 regulator-min-microvolt = <3300000>;
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx8mp-dhcom-som.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2021-2022 Marek Vasut <marex@denx.de>
10 compatible = "dh,imx8mp-dhcom-som", "fsl,imx8mp";
22 /* Memory size 512 MiB..8 GiB will be filled by U-Boot */
26 reg_eth_vio: regulator-eth-vio {
27 compatible = "regulator-fixed";
29 regulator-always-on;
30 regulator-boot-on;
31 regulator-min-microvolt = <3300000>;
32 regulator-max-microvolt = <3300000>;
[all …]
H A Dimx8mp-aristainetos3a-som-v1.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/net/ti-dp83867.h>
8 #include <dt-bindings/phy/phy-imx8-pcie.h>
9 #include <dt-bindings/pwm/pwm.h>
13 model = "ADLINK LEC-iMX8MP-Q-N-4G-32G";
14 compatible = "abb,imx8mp-aristanetos3-som", "fsl,imx8mp";
25 stdout-path = &uart2;
29 compatible = "usb-c-connector";
30 label = "USB-C";
[all …]
H A Dimx8mp-data-modul-edm-sbc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/net/qca-ar803x.h>
9 #include <dt-bindings/phy/phy-imx8-pcie.h>
14 compatible = "dmo,imx8mp-data-modul-edm-sbc", "fsl,imx8mp";
22 stdout-path = &uart3;
32 compatible = "pwm-backlight";
33 pinctrl-names = "default";
34 pinctrl-0 = <&pinctrl_panel_backlight>;
35 brightness-levels = <0 1 10 20 30 40 50 60 70 75 80 90 100>;
[all …]
H A Dimx8mm-emcon.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 /dts-v1/;
13 stdout-path = &uart1;
17 compatible = "gpio-leds";
18 pinctrl-names = "default";
19 pinctrl-0 = <&pinctrl_gpio_led>;
21 led-green {
24 default-stat
[all...]
H A Dimx8mm-data-modul-edm-sbc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/net/qca-ar803x.h>
9 #include <dt-bindings/phy/phy-imx8-pcie.h>
14 compatible = "dmo,imx8mm-data-modul-edm-sbc", "fsl,imx8mm";
22 stdout-path = &uart3;
32 compatible = "pwm-backlight";
33 pinctrl-names = "default";
34 pinctrl-0 = <&pinctrl_panel_backlight>;
35 brightness-levels = <0 1 10 20 30 40 50 60 70 75 80 90 100>;
[all …]
H A Dimx8mm-innocomm-wb15.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/phy/phy-imx8-pcie.h>
10 reg_modem: regulator-modem {
11 compatible = "regulator-fixed";
12 pinctrl-names = "default";
13 pinctrl-0 = <&pinctrl_modem_regulator>;
14 regulator-min-microvolt = <3300000>;
15 regulator-max-microvolt = <3300000>;
16 regulator-name = "epdev_on";
18 enable-active-high;
[all …]
/freebsd/crypto/openssl/test/
H A Dmldsa_parse.py12 # https://github.com/usnistgov/ACVP-Server/blob/master/gen-val/json-files/ML-DSA-keyGen-FIPS204/in…
13 # https://github.com/usnistgov/ACVP-Server/blob/master/gen-val/json-files/ML-DSA-sigGen-FIPS204/in…
14 # https://github.com/usnistgov/ACVP-Server/blob/master/gen-val/json-files/ML-DSA-sigVer-FIPS204/in…
16 # test/recipes/30-test_evp_data/evppkey_ml_dsa_keygen.txt
17 # test/recipes/30-test_evp_data/evppkey_ml_dsa_siggen.txt
18 # test/recipes/30-test_evp_data/evppkey_ml_dsa_sigver.txt
20 # e.g. python3 mldsa_parse.py ~/Downloads/keygen.json > ./test/recipes/30-test_evp_data/evppkey_ml_…
33 for grp in groups:
34 for tst in grp['tests']:
37 print_label("KeyGen", grp['parameterSet'])
[all …]
H A Dslhdsa_parse.py13 # https://github.com/usnistgov/ACVP-Server/blob/master/gen-val/json-files/SLH-DSA-keyGen-FIPS204/i…
14 # https://github.com/usnistgov/ACVP-Server/blob/master/gen-val/json-files/SLH-DSA-sigGen-FIPS204/i…
15 # https://github.com/usnistgov/ACVP-Server/blob/master/gen-val/json-files/SLH-DSA-sigVer-FIPS204/i…
17 # test/recipes/30-test_evp_data/evppkey_slh_dsa_keygen.txt
18 # test/recipes/30-test_evp_data/evppkey_slh_dsa_siggen.txt
19 # test/recipes/30-test_evp_data/evppkey_slh_dsa_sigver.txt
21 # e.g. python3 slhdsa_parse.py ~/Downloads/keygen.json > ./test/recipes/30-test_evp_data/evppkey_sl…
39 for grp in groups:
40 name = grp['parameterSet'].replace('-', '_')
41 for tst in grp['tests']:
[all …]
H A Dmlkem_parse.py12 # https://github.com/usnistgov/ACVP-Server/blob/master/gen-val/json-files/ML-KEM-keyGen-FIPS203/in…
13 # https://github.com/usnistgov/ACVP-Server/blob/master/gen-val/json-files/ML-KEM-encapDecap-FIPS20…
15 # test/recipes/30-test_evp_data/evppkey_ml_kem_keygen.txt
16 # test/recipes/30-test_evp_data/evppkey_ml_kem_encapdecap.txt
18 # e.g. python3 mlkem_parse.py ~/Downloads/keygen.json > ./test/recipes/30-test_evp_data/evppkey_ml_…
35 for grp in groups:
36 for tst in grp['tests']:
39 print_label("KeyGen", grp['parameterSet'])
46 for grp in groups:
47 name = grp['parameterSet'].replace('-', '_')
[all …]
/freebsd/usr.bin/logins/
H A Dlogins.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 2004 Dag-Erling Smørgrav
33 #include <grp.h>
85 (p == list || p[-1] == ',') && in member()
126 struct group *grp; in get_groups() local
136 if ((grp = getgrent()) == NULL) in get_groups()
138 grps[ngrps].gr_name = xstrdup(grp->gr_name); in get_groups()
139 grps[ngrps].gr_passwd = xstrdup(grp->gr_passwd); in get_groups()
140 grps[ngrps].gr_gid = grp->gr_gid; in get_groups()
[all …]
/freebsd/lib/libc/gen/
H A Dgetgrent.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
10 * Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
48 #include <grp.h>
57 #include "un-namespace.h"
212 struct group *grp; in grp_marshal_func() local
233 grp = va_arg(ap, struct group *); in grp_marshal_func()
239 if (grp->gr_name != NULL) in grp_marshal_func()
240 desired_size += strlen(grp->gr_name) + 1; in grp_marshal_func()
241 if (grp->gr_passwd != NULL) in grp_marshal_func()
[all …]
/freebsd/sys/arm/nvidia/
H A Dtegra_pinmux.c1 /*-
78 {"nvidia,tegra124-pinmux", 1},
109 {"nvidia,enable-input", PROP_ID_ENABLE_INPUT},
110 {"nvidia,open-drain", PROP_ID_OPEN_DRAIN},
112 {"nvidia,io-reset", PROP_ID_IORESET},
113 {"nvidia,rcv-sel", PROP_ID_RCV_SEL},
114 {"nvidia,high-speed-mode", PROP_ID_HIGH_SPEED_MODE},
116 {"nvidia,low-power-mode", PROP_ID_LOW_POWER_MODE},
117 {"nvidia,pull-down-strength", PROP_ID_DRIVE_DOWN_STRENGTH},
118 {"nvidia,pull-up-strength", PROP_ID_DRIVE_UP_STRENGTH},
[all …]
/freebsd/contrib/wpa/src/eap_common/
H A Deap_pwd_common.c2 * EAP server/peer: EAP-pwd shared routines
21 /* The random function H(x) = HMAC-SHA256(0^32, x) */
44 /* a counter-based KDF based on NIST SP800-108 */
62 return -1; in eap_pwd_kdf()
70 return -1; in eap_pwd_kdf()
72 os_memcpy(result + len, digest, resultbytelen - len); in eap_pwd_kdf()
81 mask <<= (8 - (resultbitlen % 8)); in eap_pwd_kdf()
82 result[resultbytelen - 1] &= mask; in eap_pwd_kdf()
91 EAP_PWD_group *grp; in get_eap_pwd_group() local
94 wpa_printf(MSG_INFO, "EAP-pwd: unsuitable group %u", num); in get_eap_pwd_group()
[all …]
/freebsd/sys/arm64/nvidia/tegra210/
H A Dtegra210_pinmux.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
78 {"nvidia,tegra210-pinmux", 1},
109 {"nvidia,enable-input", PROP_ID_ENABLE_INPUT},
110 {"nvidia,open-drain", PROP_ID_OPEN_DRAIN},
112 {"nvidia,io-reset", PROP_ID_IORESET},
113 {"nvidia,rcv-sel", PROP_ID_RCV_SEL},
114 {"nvidia,io-hv", PROP_ID_RCV_SEL},
115 {"nvidia,high-speed-mode", PROP_ID_HIGH_SPEED_MODE},
117 {"nvidia,low-power-mode", PROP_ID_LOW_POWER_MODE},
[all …]
/freebsd/usr.sbin/mountd/
H A Dmountd.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
64 #include <grp.h>
350 * which is a de-quoted version of the string if necessary.
372 * we take the next character as-is, without checking in strsep_quote()
417 * and "-n" to allow nonroot mount.
451 if (tngroups_max == -1) in main()
465 while ((c = getopt(argc, argv, "2Aadeh:lNnp:RrSs")) != -1) in main()
477 /* now a no-op, since this is the default */ in main()
516 hosts[nhosts - 1] = strdup(optarg); in main()
[all …]
/freebsd/contrib/wpa/src/eap_server/
H A Deap_server_pwd.c2 * hostapd / EAP-pwd (RFC 5931) server
35 EAP_PWD_group *grp; member
62 return "PWD-ID-Req"; in eap_pwd_state_txt()
64 return "PWD-Commit-Req"; in eap_pwd_state_txt()
66 return "PWD-Confirm-Req"; in eap_pwd_state_txt()
72 return "PWD-Unk"; in eap_pwd_state_txt()
79 wpa_printf(MSG_DEBUG, "EAP-pwd: %s -> %s", in eap_pwd_state()
80 eap_pwd_state_txt(data->state), eap_pwd_state_txt(state)); in eap_pwd_state()
81 data->state = state; in eap_pwd_state()
89 if (sm->user == NULL || sm->user->password == NULL || in eap_pwd_init()
[all …]
/freebsd/sys/netinet/
H A Din_pcb.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
6 * Copyright (c) 2007-2009 Robert N. M. Watson
7 * Copyright (c) 2010-2011 Juniper Networks, Inc.
8 * Copyright (c) 2021-2022 Gleb Smirnoff <glebius@FreeBSD.org>
120 VNET_DEFINE(int, ipport_lowfirstauto) = IPPORT_RESERVED - 1; /* 1023 */
132 VNET_DEFINE(int, ipport_reservedhigh) = IPPORT_RESERVED - 1; /* 1023 */
155 RANGECHK(V_ipport_lowfirstauto, 1, IPPORT_RESERVED - 1); in sysctl_net_ipport_check()
156 RANGECHK(V_ipport_lowlastauto, 1, IPPORT_RESERVED - 1); in sysctl_net_ipport_check()
259 struct inpcblbgroup *grp; in in_pcblbgroup_alloc() local
[all …]

12345678910>>...20