| /f-stack/tools/libutil/ |
| H A D | login_class.c | 151 if (pwd != NULL) { in substvar() 165 if (pwd != NULL) { in substvar() 201 int hlen = pwd ? strlen(pwd->pw_dir) : 0; in setclassenvironment() 202 int nlen = pwd ? strlen(pwd->pw_name) : 0; in setclassenvironment() 435 if (pwd != NULL && (lc = login_getpwclass(pwd)) != NULL) in setusercontext() 443 if (pwd == NULL) in setusercontext() 456 pwd ? pwd->pw_name : "-", in setusercontext() 464 pwd ? pwd->pw_name : "-", in setusercontext() 469 pwd ? pwd->pw_name : "-", in setusercontext() 481 if (initgroups(pwd->pw_name, pwd->pw_gid) == -1) { in setusercontext() [all …]
|
| H A D | login_cap.c | 189 login_getclassbyname(char const *name, const struct passwd *pwd) in login_getclassbyname() argument 204 dir = (!me || pwd == NULL) ? NULL : pwd->pw_dir; in login_getclassbyname() 214 (void)setegid(pwd->pw_gid); in login_getclassbyname() 215 (void)seteuid(pwd->pw_uid); in login_getclassbyname() 220 if (_secure_path(userpath, pwd->pw_uid, pwd->pw_gid) != -1) in login_getclassbyname() 322 login_getpwclass(const struct passwd *pwd) in login_getpwclass() argument 326 if (pwd != NULL) { in login_getpwclass() 327 cls = pwd->pw_class; in login_getpwclass() 335 return login_getclassbyname(cls, pwd); in login_getpwclass() 346 login_getuserclass(const struct passwd *pwd) in login_getuserclass() argument [all …]
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
| H A D | argon2.c | 115 context.pwd = (uint8_t *) pwd; in argon2_hash() 160 const uint32_t parallelism, const void *pwd, in argon2i_hash_encoded() argument 171 const uint32_t parallelism, const void *pwd, in argon2i_hash_raw() argument 181 const uint32_t parallelism, const void *pwd, in argon2id_hash_encoded() argument 192 const uint32_t parallelism, const void *pwd, in argon2id_hash_raw() argument 201 argon2_verify(const char *encoded, const void *pwd, const size_t pwdlen, in argon2_verify() argument 212 ctx.pwd = NULL; in argon2_verify() 252 ret = argon2_hash(ctx.t_cost, ctx.m_cost, ctx.threads, pwd, pwdlen, in argon2_verify() 268 argon2i_verify(const char *encoded, const void *pwd, const size_t pwdlen) in argon2i_verify() argument 270 return argon2_verify(encoded, pwd, pwdlen, Argon2_i); in argon2i_verify() [all …]
|
| H A D | argon2.h | 167 uint8_t *pwd; /* password array */ member 213 const uint32_t parallelism, const void *pwd, 234 const uint32_t parallelism, const void *pwd, 254 const uint32_t parallelism, const void *pwd, 273 const uint32_t parallelism, const void *pwd, 279 const uint32_t parallelism, const void *pwd, 291 int argon2i_verify(const char *encoded, const void *pwd, const size_t pwdlen); 300 int argon2id_verify(const char *encoded, const void *pwd, const size_t pwdlen); 303 int argon2_verify(const char *encoded, const void *pwd, const size_t pwdlen,
|
| H A D | argon2-core.c | 264 if (NULL == context->pwd) { in validate_inputs() 425 if (context->pwd != NULL) { in initial_hash() 427 &BlakeHash, (const uint8_t *) context->pwd, context->pwdlen); in initial_hash() 431 sodium_memzero(context->pwd, context->pwdlen); in initial_hash()
|
| H A D | pwhash_argon2i.c | 260 ctx.out = ctx.pwd = ctx.salt = fodder; in _needs_rehash()
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_auth_basic_module.c | 98 ngx_str_t pwd, realm, user_file; in ngx_http_auth_basic_handler() local 224 pwd.len = i - passwd; in ngx_http_auth_basic_handler() 225 pwd.data = &buf[passwd]; in ngx_http_auth_basic_handler() 227 return ngx_http_auth_basic_crypt_handler(r, &pwd, &realm); in ngx_http_auth_basic_handler() 257 pwd.len = i - passwd; in ngx_http_auth_basic_handler() 258 pwd.data = ngx_pnalloc(r->pool, pwd.len + 1); in ngx_http_auth_basic_handler() 259 if (pwd.data == NULL) { in ngx_http_auth_basic_handler() 263 ngx_cpystrn(pwd.data, &buf[passwd], pwd.len + 1); in ngx_http_auth_basic_handler() 265 return ngx_http_auth_basic_crypt_handler(r, &pwd, &realm); in ngx_http_auth_basic_handler()
|
| /f-stack/freebsd/sys/ |
| H A D | filedesc.h | 88 struct pwd { struct 94 typedef SMR_POINTER(struct pwd *) smrpwd_t; 159 struct pwd *_pwd; \ 192 struct pwd *_pwd; \ 340 struct pwd *pwd_hold_pwddesc(struct pwddesc *pdp); 341 bool pwd_hold_smr(struct pwd *pwd); 342 struct pwd *pwd_hold(struct thread *td); 343 void pwd_drop(struct pwd *pwd); 345 pwd_set(struct pwddesc *pdp, struct pwd *newpwd) in pwd_set()
|
| H A D | namei.h | 121 struct pwd **pwdp);
|
| /f-stack/freebsd/security/audit/ |
| H A D | audit_bsm_klib.c | 501 struct pwd *pwd; in audit_canon_path() local 509 pwd = pwd_hold(td); in audit_canon_path() 510 rdir = pwd->pwd_rdir; in audit_canon_path() 515 cdir = pwd->pwd_cdir; in audit_canon_path() 520 pwd_drop(pwd); in audit_canon_path() 529 pwd_drop(pwd); in audit_canon_path()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_descrip.c | 2239 struct pwd *pwd; in pddrop() local 3716 pwd_fill(struct pwd *oldpwd, struct pwd *newpwd) in pwd_fill() 3738 struct pwd *pwd; in pwd_hold_pwddesc() local 3750 pwd_hold_smr(struct pwd *pwd) in pwd_hold_smr() argument 3764 struct pwd *pwd; in pwd_hold() local 3785 struct pwd *pwd; in pwd_alloc() local 3788 bzero(pwd, sizeof(*pwd)); in pwd_alloc() 3794 pwd_drop(struct pwd *pwd) in pwd_drop() argument 4375 struct pwd *pwd; in kern_proc_filedesc_out() local 4559 struct pwd *pwd; in sysctl_kern_proc_ofiledesc() local [all …]
|
| H A D | vfs_lookup.c | 292 struct pwd *pwd; in namei_setup() local 335 pwd = pwd_hold(td); in namei_setup() 340 ndp->ni_rootdir = pwd->pwd_rdir; in namei_setup() 341 ndp->ni_topdir = pwd->pwd_jdir; in namei_setup() 351 *dpp = pwd->pwd_cdir; in namei_setup() 427 pwd_drop(pwd); in namei_setup() 435 *pwdp = pwd; in namei_setup() 505 struct pwd *pwd; in namei() local 596 error = namei_setup(ndp, &dp, &pwd); in namei() 624 pwd_drop(pwd); in namei() [all …]
|
| H A D | vfs_cache.c | 2900 struct pwd *pwd; in vn_getcwd() local 2910 error = vn_fullpath_any(pwd->pwd_cdir, pwd->pwd_rdir, buf, in vn_getcwd() 2912 pwd_drop(pwd); in vn_getcwd() 2960 struct pwd *pwd; in vn_fullpath() local 2977 pwd_drop(pwd); in vn_fullpath() 3411 struct pwd *pwd; in vn_fullpath_hardlink() local 3729 struct pwd **pwd; member 4090 struct pwd *pwd; in cache_fplookup_partial_setup() local 4095 pwd = *(fpl->pwd); in cache_fplookup_partial_setup() 5758 struct pwd *pwd; in cache_fplookup() local [all …]
|
| H A D | kern_linker.c | 2066 struct pwd *pwd; in linker_root_mounted() local 2072 pwd = pwd_hold(curthread); in linker_root_mounted() 2073 ret = pwd->pwd_rdir != NULL; in linker_root_mounted() 2074 pwd_drop(pwd); in linker_root_mounted()
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_trace_utils.c | 294 struct passwd *pwd; in trace_dir_default_path_get() local 301 pwd = getpwuid(getuid()); in trace_dir_default_path_get() 302 if (pwd == NULL) in trace_dir_default_path_get() 305 home_dir = pwd->pw_dir; in trace_dir_default_path_get()
|
| /f-stack/app/nginx-1.16.1/src/event/ |
| H A D | ngx_event_openssl.c | 702 ngx_str_t *pwd; in ngx_ssl_load_certificate_key() local 784 pwd = NULL; in ngx_ssl_load_certificate_key() 798 pwd++; in ngx_ssl_load_certificate_key() 824 if (pwd == NULL) { in ngx_ssl_password_callback() 832 size = pwd->len; in ngx_ssl_password_callback() 1222 if (pwd == NULL) { in ngx_ssl_read_password_file() 1287 if (pwd == NULL) { in ngx_ssl_preserve_passwords() 1292 pwd->data = ngx_pnalloc(cf->pool, pwd->len); in ngx_ssl_preserve_passwords() 1311 ngx_str_t *pwd; in ngx_ssl_passwords_cleanup() local 1314 pwd = passwords->elts; in ngx_ssl_passwords_cleanup() [all …]
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | nginx.c | 1132 struct passwd *pwd; in ngx_core_module_init_conf() local 1135 pwd = getpwnam(NGX_USER); in ngx_core_module_init_conf() 1136 if (pwd == NULL) { in ngx_core_module_init_conf() 1143 ccf->user = pwd->pw_uid; in ngx_core_module_init_conf() 1224 struct passwd *pwd; in ngx_set_user() 1245 pwd = getpwnam((const char *) value[1].data); in ngx_set_user() 1246 if (pwd == NULL) { in ngx_set_user() 1252 ccf->user = pwd->pw_uid; in ngx_set_user()
|
| /f-stack/freebsd/contrib/xz-embedded/ |
| H A D | README | 28 KCPPFLAGS=-I"$(pwd)/../../include" M="$(pwd)" \ 36 KCPPFLAGS=-I"$(pwd)/../../include" M="$(pwd)" \
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/include/ |
| H A D | commands.cfg | 72 pwd
|
| /f-stack/tools/ipfw/ |
| H A D | ipfw2.c | 1471 struct passwd *pwd; in print_instruction() local 1682 pwd = getpwuid(insntod(cmd, u32)->d[0]); in print_instruction() 1683 if (pwd != NULL) in print_instruction() 1684 bprintf(bp, " uid %s", pwd->pw_name); in print_instruction() 4701 struct passwd *pwd; in compile_rule() local 4705 pwd = (*end == '\0') ? getpwuid(uid) : getpwnam(*av); in compile_rule() 4706 if (pwd == NULL) in compile_rule() 4708 cmd32->d[0] = pwd->pw_uid; in compile_rule()
|
| /f-stack/freebsd/contrib/openzfs/config/ |
| H A D | lib-prefix.m4 | 230 *) searchdir=`cd "$searchdir" && pwd`
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/perf/ |
| H A D | perf.shlib | 261 typeset dir="$(pwd)/perf_data"
|
| /f-stack/dpdk/doc/guides/nics/ |
| H A D | mlx4.rst | 389 (cd "/sys/class/net/${intf}/device/" && pwd -P);
|
| /f-stack/freebsd/contrib/libsodium/ |
| H A D | configure.ac | 44 AS_IF([pwd | fgrep ' ' > /dev/null 2>&1],
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/ |
| H A D | configure.ac | 125 abs_srcroot="`cd \"${srcdir}\"; pwd`/" 130 abs_objroot="`pwd`/"
|