HomeSort by relevance Sort by last modified time
    Searched refs:pwd (Results 1 - 25 of 493) 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/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/openssh/openbsd-compat/
port-solaris.h 23 #include <pwd.h>
  /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...]
  /bionic/tests/
grp_pwd_test.cpp 21 #include <pwd.h>
43 static void check_passwd(const passwd* pwd, const char* username, uid_t uid, uid_type_t uid_type) {
44 ASSERT_TRUE(pwd != NULL);
45 ASSERT_STREQ(username, pwd->pw_name);
46 ASSERT_EQ(uid, pwd->pw_uid);
47 ASSERT_EQ(uid, pwd->pw_gid);
48 ASSERT_EQ(NULL, pwd->pw_passwd);
50 ASSERT_EQ(NULL, pwd->pw_gecos);
54 ASSERT_STREQ("/", pwd->pw_dir);
56 ASSERT_STREQ("/data", pwd->pw_dir)
63 passwd* pwd = getpwuid(uid); local
71 passwd* pwd = getpwnam(username); local
83 passwd* pwd = NULL; local
97 passwd* pwd = NULL; local
190 passwd* pwd; local
    [all...]
  /toolchain/binutils/binutils-2.25/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;
  /bionic/libc/private/
grp_pwd.h 32 #include <pwd.h>
  /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;
  /build/blueprint/pathtools/
glob_test.go 24 var pwd, _ = os.Getwd() var
96 pattern: filepath.Join(pwd, "testdata/c/*/*.ext"),
98 filepath.Join(pwd, "testdata/c/f/f.ext"),
99 filepath.Join(pwd, "testdata/c/g/g.ext"),
102 filepath.Join(pwd, "testdata/c"),
103 filepath.Join(pwd, "testdata/c/f"),
104 filepath.Join(pwd, "testdata/c/g"),
105 filepath.Join(pwd, "testdata/c/h"),
152 pattern: filepath.Join(pwd, "testdata/**/*.ext"),
154 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);
  /external/openssh/
platform.h 21 #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
  /tools/apksig/src/apksigner/java/com/android/apksigner/
PasswordRetriever.java 115 char[] pwd = spec.substring("pass:".length()).toCharArray(); local
116 return getPasswords(pwd);
121 char[] pwd = console.readPassword(description + ": "); local
122 if (pwd == null) {
125 return getPasswords(pwd);
173 private static List<char[]> getPasswords(char[] pwd) {
175 addPasswords(passwords, pwd);
192 char[] pwd = decodePassword(encodedPwd, encoding); local
193 addPasswords(passwords, pwd);
207 private static void addPasswords(List<char[]> passwords, char[] pwd) {
    [all...]

Completed in 1512 milliseconds

1 2 3 4 5 6 7 8 91011>>