/freebsd-current/bin/sh/ |
H A D | exec.c | 709 const char *pwd; local 711 if (*name != '/' && (pwd = lookupvar("PWD")) != NULL && *pwd != '\0') { 712 out1str(pwd); 713 if (strcmp(pwd, "/") != 0)
|
/freebsd-current/usr.sbin/quot/ |
H A D | quot.c | 47 #include <pwd.h> 280 struct passwd *pwd; local 288 if (!(pwd = getpwuid(uid))) { 293 malloc(strlen(pwd->pw_name) + 1))) 294 strcpy(usr->name,pwd->pw_name);
|
/freebsd-current/contrib/unbound/daemon/ |
H A D | unbound.c | 65 #include <pwd.h> 475 struct passwd *pwd = NULL; local 478 if((pwd = getpwnam(cfg->username)) == NULL) 480 /* endpwent below, in case we need pwd for setusercontext */ 580 if(setusercontext(NULL, pwd, cfg_uid, (unsigned) 585 (void)pwd;
|
/freebsd-current/contrib/libarchive/test_utils/ |
H A D | test_main.c | 3674 char *buff, *tried, *pwd = NULL, *p = NULL; local 3697 pwd = NULL; 3708 pwd = getcwd(NULL, PATH_MAX);/* Solaris getcwd needs the size. */ 3710 pwd = getcwd(NULL, 0); 3712 while (pwd[strlen(pwd) - 1] == '\n') 3713 pwd[strlen(pwd) - 1] = '\0'; 3716 snprintf(buff, buff_size, "%s", pwd); 3722 snprintf(buff, buff_size, "%s/test", pwd); 3898 char *pwd, *testprogdir, *tmp2 = NULL, *vlevel = NULL; local [all...] |
/freebsd-current/usr.sbin/inetd/ |
H A D | inetd.c | 121 #include <pwd.h> 320 struct passwd *pwd; local 793 if ((pwd = getpwnam(sep->se_user)) == NULL) { 815 pwd->pw_gid = grp->gr_gid; 835 if (setusercontext(lc, pwd, pwd->pw_uid, 845 if (pwd->pw_uid) { 852 if (setgid(pwd->pw_gid) < 0) { 855 sep->se_service, pwd->pw_gid); 858 (void) initgroups(pwd [all...] |
/freebsd-current/lib/libc/gen/ |
H A D | glob-compat11.c | 49 #include <pwd.h> 386 struct passwd *pwd; local 422 (pwd = getpwnam(h)) != NULL) || 423 (pwd = getpwuid(getuid())) != NULL) 424 h = pwd->pw_dir; 435 if ((pwd = getpwnam((char *)wbuf)) == NULL) 438 h = pwd->pw_dir;
|
H A D | glob.c | 83 #include <pwd.h> 418 struct passwd *pwd; local 454 (pwd = getpwnam(h)) != NULL) || 455 (pwd = getpwuid(getuid())) != NULL) 456 h = pwd->pw_dir; 467 if ((pwd = getpwnam((char *)wbuf)) == NULL) 470 h = pwd->pw_dir;
|
H A D | readpassphrase.c | 29 #include <pwd.h>
|
/freebsd-current/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Path.inc | 35 #include <pwd.h> 372 const char *pwd = ::getenv("PWD"); 374 if (pwd && llvm::sys::path::is_absolute(pwd) && 375 !llvm::sys::fs::status(pwd, PWDStatus) && 378 result.append(pwd, pwd + strlen(pwd));
|
/freebsd-current/contrib/kyua/utils/ |
H A D | passwd_test.cpp | 34 #include <pwd.h>
|
/freebsd-current/contrib/capsicum-test/ |
H A D | capsicum-test-main.cc | 11 #include <pwd.h>
|
/freebsd-current/crypto/openssh/regress/ |
H A D | check-perm.c | 17 #include <pwd.h>
|
/freebsd-current/contrib/smbfs/lib/smb/ |
H A D | ctx.c | 46 #include <pwd.h> 70 struct passwd *pwd; local 100 if ((pwd = getpwuid(euid)) != NULL) { 101 smb_ctx_setuser(ctx, pwd->pw_name);
|
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_revoke.c | 40 #include <pwd.h>
|
/freebsd-current/crypto/heimdal/appl/ftp/ftp/ |
H A D | cmdtab.c | 163 { "pwd", pwdhelp, 0, 1, 1, pwd },
|
/freebsd-current/crypto/heimdal/appl/afsutil/ |
H A D | pagsh.c | 52 #include <pwd.h>
|
/freebsd-current/contrib/openbsm/bin/auditdistd/ |
H A D | sandbox.c | 41 #include <pwd.h>
|
/freebsd-current/crypto/openssh/ |
H A D | uidswap.c | 18 #include <pwd.h>
|
H A D | sshpty.c | 28 #include <pwd.h>
|
H A D | logintest.c | 42 #include <pwd.h>
|
H A D | auth-passwd.c | 43 #include <pwd.h>
|
/freebsd-current/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | HostInfoPosix.cpp | 23 #include <pwd.h>
|
/freebsd-current/libexec/rpc.rwalld/ |
H A D | rwalld.c | 34 #include <pwd.h>
|
/freebsd-current/libexec/mknetid/ |
H A D | mknetid.c | 50 #include <pwd.h>
|
/freebsd-current/lib/libc/posix1e/ |
H A D | acl_from_text.c | 38 #include <pwd.h>
|