HomeSort by relevance Sort by last modified time
    Searched refs:pwd (Results 1 - 25 of 487) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/
5-1.c 14 #include <pwd.h>
35 struct passwd *pwd;
37 pwd = getpwnam("nobody");
38 if (pwd != NULL) {
39 setgid(pwd->pw_gid);
40 setuid(pwd->pw_uid);
  /external/ltp/testcases/misc/math/float/bessel/
readme 4 $ pwd
  /external/ltp/testcases/misc/math/float/exp_log/
readme 4 $ pwd
  /external/ltp/testcases/misc/math/float/iperb/
README 4 $ pwd
  /external/ltp/testcases/misc/math/float/power/
readme 4 $ pwd
  /external/syslinux/com32/modules/
pwd.c 37 char pwd[PATH_MAX], *pwdptr; local
39 pwdptr = getcwd(pwd, PATH_MAX);
41 if (pwd[0] != 0)
42 puts(pwd);
  /external/toybox/toys/pending/
useradd.c 45 struct passwd pwd; local
64 pwd.pw_name = s;
65 pwd.pw_passwd = "x";
66 pwd.pw_gecos = TT.gecos ? TT.gecos : "Linux User,";
67 pwd.pw_dir = TT.dir ? TT.dir : xmprintf("/home/%s", *toys.optargs);
79 pwd.pw_shell = TT.shell;
90 pwd.pw_uid = TT.uid;
97 if (getgrnam(pwd.pw_name)) error_exit("group '%s' in use", pwd.pw_name);
101 pwd.pw_gid = TT.gid
    [all...]
sulogin.c 39 static int validate_password(char *pwd)
63 pass = crypt(toybuf, pwd);
65 if( pass && !strcmp(pass, pwd)) ret = 0;
79 struct passwd *pwd = NULL; local
100 if (!(pwd = getpwuid(0))) error_exit("invalid user");
101 pass = pwd->pw_passwd;
104 if ((spwd = getspnam (pwd->pw_name))) pass = spwd->sp_pwdp;
116 || (shell = pwd->pw_shell))
  /external/compiler-rt/test/sanitizer_common/TestCases/Linux/
getpwnam_r_invalid_user.cc 6 #include <pwd.h>
13 struct passwd pwd; local
16 int res = getpwnam_r("no-such-user", &pwd, buf, sizeof(buf), &pwdres);
  /external/adhd/cras/src/common/
cras_config.c 6 #include <pwd.h>
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/testdata/
i22600.go 9 pwd, err := os.Getwd()
14 fmt.Println(pwd)
  /prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/testdata/
i22600.go 9 pwd, err := os.Getwd()
14 fmt.Println(pwd)
  /external/toybox/toys/other/
login.c 52 struct passwd *pwd = 0; local
87 pwd = getpwnam(username);
88 if (pwd && *pwd->pw_passwd != '!' && *pwd->pw_passwd != '*') {
91 if (TT.username || !*pwd->pw_passwd) break;
94 if (*(pass = pwd->pw_passwd) == 'x') {
110 syslog(LOG_WARNING, "invalid password for '%s' on %s %s%s", pwd->pw_name,
117 pwd = 0;
124 if (!pwd) error_exit("max retries (3)")
    [all...]
  /external/toybox/toys/posix/
pwd.c 0 /* pwd.c - Print working directory.
5 * See http://opengroup.org/onlinepubs/9699919799/utilities/pwd.html
7 USE_PWD(NEWTOY(pwd, ">0LP[-LP]", TOYFLAG_BIN))
9 config PWD
10 bool "pwd"
13 usage: pwd [-L|-P]
17 -L Use shell's path from $PWD (when applicable)
26 char *s, *pwd = getcwd(0, 0), *PWD; local
28 // Only use $PWD if it's an absolute path alias for cwd with no "." or "..
    [all...]
  /toolchain/binutils/binutils-2.27/libiberty/
getpwd.c 62 /* Get the working directory. Use the PWD environment variable if it's
70 static char *pwd; local
73 char *p = pwd;
79 if (! ((p = getenv ("PWD")) != 0
103 pwd = p;
117 static char *pwd = 0; local
119 if (!pwd)
120 pwd = getcwd (XNEWVEC (char, MAXPATHLEN + 1), MAXPATHLEN + 1
125 return pwd;
  /external/libbrillo/brillo/
userdb_utils.cc 8 #include <pwd.h>
24 passwd* pwd = nullptr; local
26 if (getpwnam_r(user.c_str(), &pwd_buf, buf.data(), buf_len, &pwd) || !pwd) {
32 *uid = pwd->pw_uid;
34 *gid = pwd->pw_gid;
  /bionic/tests/
grp_pwd_test.cpp 21 #include <pwd.h>
47 static void check_passwd(const passwd* pwd, const char* username, uid_t uid, uid_type_t uid_type,
49 ASSERT_TRUE(pwd != NULL);
51 EXPECT_STREQ(username, pwd->pw_name);
53 EXPECT_EQ(uid, pwd->pw_uid);
54 EXPECT_EQ(uid, pwd->pw_gid);
55 EXPECT_EQ(NULL, pwd->pw_passwd);
57 EXPECT_EQ(NULL, pwd->pw_gecos);
61 EXPECT_STREQ("/", pwd->pw_dir);
63 EXPECT_STREQ("/data", pwd->pw_dir)
71 passwd* pwd = getpwuid(uid); local
80 passwd* pwd = getpwnam(username); local
93 passwd* pwd = NULL; local
108 passwd* pwd = NULL; local
259 passwd* pwd; local
    [all...]
  /build/blueprint/pathtools/
glob_test.go 25 var pwd, _ = os.Getwd() var
99 pattern: filepath.Join(pwd, "testdata/c/*/*.ext"),
101 filepath.Join(pwd, "testdata/c/f/f.ext"),
102 filepath.Join(pwd, "testdata/c/g/g.ext"),
105 filepath.Join(pwd, "testdata/c"),
106 filepath.Join(pwd, "testdata/c/f"),
107 filepath.Join(pwd, "testdata/c/g"),
108 filepath.Join(pwd, "testdata/c/h"),
155 pattern: filepath.Join(pwd, "testdata/**/*.ext"),
157 filepath.Join(pwd, "testdata/d.ext")
    [all...]
  /external/conscrypt/common/src/main/java/org/conscrypt/
KeyManagerFactoryImpl.java 45 private char[] pwd; field in class:KeyManagerFactoryImpl
57 pwd = password.clone();
59 pwd = EmptyArray.CHAR;
76 pwd = EmptyArray.CHAR;
78 pwd = keyStorePwd.toCharArray();
81 keyStore.load(new FileInputStream(new File(keyStoreName)), pwd);
114 return new KeyManager[] { new KeyManagerImpl(keyStore, pwd) };
  /external/selinux/libselinux/utils/
togglesebool.c 8 #include <pwd.h>
81 struct passwd *pwd = getpwuid(getuid()); local
83 if (pwd && pwd->pw_name)
86 argv[i], pwd->pw_name);
  /bionic/libc/private/
grp_pwd.h 32 #include <pwd.h>
  /external/ImageMagick/config/
lndir.sh 29 # Do "pwd" command *after* "cd $DIRTO".
66 pwd=`pwd`
68 if [ `(cd $DIRFROM; pwd)` = $pwd ]
70 echo "$pwd: FROM and TO are identical!"
83 pwd=`pwd`
88 if [ `(cd $DIRFROM/$file; pwd)` = $pwd ]
    [all...]
  /external/ltp/testcases/kernel/sched/sched_stress/
sched.h 45 #include <pwd.h>
  /external/ltp/testcases/kernel/syscalls/execve/
execve02.c 37 #include <pwd.h>
103 struct passwd *pwd; local
117 pwd = SAFE_GETPWNAM(tst_rmdir, USER_NAME);
118 nobody_uid = pwd->pw_uid;
  /external/syslinux/com32/cmenu/libmenu/
passwords.h 4 char authenticate_user(const char *username, const char *pwd);
15 #define PWDHASH_LENGTH 40 // Max lenght of pwd hash

Completed in 595 milliseconds

1 2 3 4 5 6 7 8 91011>>