Searched defs:pwent (Results 1 - 4 of 4) sorted by relevance
/external/selinux/libselinux/src/ |
H A D | seusers.c | 97 struct passwd pwstorage, *pwent = NULL; local 105 int retval = getpwnam_r(name, &pwstorage, rbuf, rbuflen, &pwent); 106 if (retval == 0 && pwent) { 107 gid = pwent->pw_gid;
|
/external/selinux/libsemanage/src/ |
H A D | genhomedircon.c | 817 struct passwd pwstorage, *pwent = NULL; local 876 retval = getpwnam_r(name, &pwstorage, rbuf, rbuflen, &pwent); 877 if (retval != 0 || pwent == NULL) { 888 int len = strlen(pwent->pw_dir) -1; 889 for(; len > 0 && pwent->pw_dir[len] == '/'; len--) { 890 pwent->pw_dir[len] = '\0'; 893 if (strcmp(pwent->pw_dir, "/") == 0) { 899 if (ignore(pwent->pw_dir)) 902 prefix, pwent->pw_dir, level) != STATUS_SUCCESS) {
|
/external/sqlite/dist/orig/ |
H A D | shell.c | 4307 struct passwd *pwent; local 4309 if( (pwent=getpwuid(uid)) != NULL) { 4310 home_dir = pwent->pw_dir;
|
/external/sqlite/dist/ |
H A D | shell.c | 4329 struct passwd *pwent; local 4331 if( (pwent=getpwuid(uid)) != NULL) { 4332 home_dir = pwent->pw_dir;
|
Completed in 714 milliseconds