/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/testsuite/smbd/ |
H A D | se_access_check_allowsome.c | 37 BOOL allowsome_check(struct passwd *pw, int ngroups, gid_t *groups) argument 46 result = se_access_check(sd, pw->pw_uid, pw->pw_gid, 51 len1 = (int)strlen(pw->pw_name) - strlen("user0"); 52 len2 = (int)strlen(pw->pw_name) - strlen("user2"); 54 if ((strncmp("user0", &pw->pw_name[MAX(len1, 0)], 56 (strncmp("user2", &pw->pw_name[MAX(len2, 0)], 60 pw->pw_name); 64 printf("FAIL: access granted for %s\n", pw->pw_name); 69 pw [all...] |
H A D | se_access_check_denysome.c | 39 BOOL denysome_check(struct passwd *pw, int ngroups, gid_t *groups) argument 48 result = se_access_check(sd, pw->pw_uid, pw->pw_gid, 53 len1 = (int)strlen(pw->pw_name) - strlen("user1"); 54 len2 = (int)strlen(pw->pw_name) - strlen("user3"); 56 if ((strncmp("user1", &pw->pw_name[MAX(len1, 0)], 58 (strncmp("user3", &pw->pw_name[MAX(len2, 0)], 62 pw->pw_name); 66 printf("FAIL: access denied for %s\n", pw->pw_name); 71 pw [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/testsuite/smbd/ |
H A D | se_access_check_allowsome.c | 38 BOOL allowsome_check(struct passwd *pw, int ngroups, gid_t *groups) argument 47 result = se_access_check(sd, pw->pw_uid, pw->pw_gid, 52 len1 = (int)strlen(pw->pw_name) - strlen("user0"); 53 len2 = (int)strlen(pw->pw_name) - strlen("user2"); 55 if ((strncmp("user0", &pw->pw_name[MAX(len1, 0)], 57 (strncmp("user2", &pw->pw_name[MAX(len2, 0)], 61 pw->pw_name); 65 printf("FAIL: access granted for %s\n", pw->pw_name); 70 pw [all...] |
H A D | se_access_check_denysome.c | 40 BOOL denysome_check(struct passwd *pw, int ngroups, gid_t *groups) argument 49 result = se_access_check(sd, pw->pw_uid, pw->pw_gid, 54 len1 = (int)strlen(pw->pw_name) - strlen("user1"); 55 len2 = (int)strlen(pw->pw_name) - strlen("user3"); 57 if ((strncmp("user1", &pw->pw_name[MAX(len1, 0)], 59 (strncmp("user3", &pw->pw_name[MAX(len2, 0)], 63 pw->pw_name); 67 printf("FAIL: access denied for %s\n", pw->pw_name); 72 pw [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/loginutils/ |
H A D | su.c | 42 struct passwd *pw; local 73 pw = getpwuid(cur_uid); 74 old_user = pw ? xstrdup(pw->pw_name) : ""; 83 pw = xgetpwnam(opt_username); 85 if (cur_uid == 0 || correct_password(pw)) { 105 /* Make sure pw->pw_shell is non-NULL. It may be NULL when NEW_USER 108 if (!pw->pw_shell || !pw->pw_shell[0]) 109 pw [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/loginutils/ |
H A D | su.c | 42 struct passwd *pw; local 73 pw = getpwuid(cur_uid); 74 old_user = pw ? xstrdup(pw->pw_name) : ""; 83 pw = xgetpwnam(opt_username); 85 if (cur_uid == 0 || correct_password(pw)) { 105 /* Make sure pw->pw_shell is non-NULL. It may be NULL when NEW_USER 108 if (!pw->pw_shell || !pw->pw_shell[0]) 109 pw [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/loginutils/ |
H A D | su.c | 42 struct passwd *pw; local 73 pw = getpwuid(cur_uid); 74 old_user = pw ? xstrdup(pw->pw_name) : ""; 83 pw = xgetpwnam(opt_username); 85 if (cur_uid == 0 || correct_password(pw)) { 105 /* Make sure pw->pw_shell is non-NULL. It may be NULL when NEW_USER 108 if (!pw->pw_shell || !pw->pw_shell[0]) 109 pw [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/testsuite/nsswitch/ |
H A D | getent_pwent.c | 29 struct passwd *pw; local 36 pw = getpwent(); 41 if (pw != NULL) { 54 pw = getpwent(); 57 if (pw == NULL) break; 59 if (strchr(pw->pw_name, '/')) {
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/testsuite/nsswitch/ |
H A D | getent_pwent.c | 29 struct passwd *pw; local 36 pw = getpwent(); 41 if (pw != NULL) { 54 pw = getpwent(); 57 if (pw == NULL) break; 59 if (strchr(pw->pw_name, '/')) {
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/testsuite/nsswitch/ |
H A D | getent_pwent.c | 28 struct passwd *pw; local 35 pw = getpwent(); 40 if (pw != NULL) { 53 pw = getpwent(); 56 if (pw == NULL) break; 58 if (strchr(pw->pw_name, '/')) {
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/testsuite/nsswitch/ |
H A D | getent_pwent.c | 28 struct passwd *pw; local 35 pw = getpwent(); 40 if (pw != NULL) { 53 pw = getpwent(); 56 if (pw == NULL) break; 58 if (strchr(pw->pw_name, '/')) {
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/testsuite/nsswitch/ |
H A D | getent_pwent.c | 28 struct passwd *pw; local 35 pw = getpwent(); 40 if (pw != NULL) { 53 pw = getpwent(); 56 if (pw == NULL) break; 58 if (strchr(pw->pw_name, '/')) {
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/testsuite/nsswitch/ |
H A D | getent_pwent.c | 29 struct passwd *pw; local 36 pw = getpwent(); 41 if (pw != NULL) { 54 pw = getpwent(); 57 if (pw == NULL) break; 59 if (strchr(pw->pw_name, '/')) {
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/libbb/ |
H A D | bb_pwd.c | 20 struct passwd *pw = getpwnam(name); local 21 if (!pw) 23 return pw; 37 struct passwd *pw = getpwuid(uid); local 38 if (!pw) 40 return pw; 53 struct passwd *pw = xgetpwuid(uid); local 54 return pw->pw_name; 65 struct passwd *pw = getpwuid(uid); local 66 return (pw) [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/libbb/ |
H A D | bb_pwd.c | 20 struct passwd *pw = getpwnam(name); local 21 if (!pw) 23 return pw; 37 struct passwd *pw = getpwuid(uid); local 38 if (!pw) 40 return pw; 53 struct passwd *pw = xgetpwuid(uid); local 54 return pw->pw_name; 65 struct passwd *pw = getpwuid(uid); local 66 return (pw) [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/libbb/ |
H A D | bb_pwd.c | 20 struct passwd *pw = getpwnam(name); local 21 if (!pw) 23 return pw; 37 struct passwd *pw = getpwuid(uid); local 38 if (!pw) 40 return pw; 53 struct passwd *pw = xgetpwuid(uid); local 54 return pw->pw_name; 65 struct passwd *pw = getpwuid(uid); local 66 return (pw) [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/lib/ |
H A D | util_pw.c | 47 struct passwd *pw, *for_cache; local 49 pw = (struct passwd *)memcache_lookup_talloc( 51 if (pw != NULL) { 52 return tcopy_passwd(mem_ctx, pw); 55 pw = sys_getpwnam(name); 56 if (pw == NULL) { 60 for_cache = tcopy_passwd(talloc_autofree_context(), pw); 68 return tcopy_passwd(mem_ctx, pw);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/lib/ |
H A D | util_pw.c | 47 struct passwd *pw, *for_cache; local 49 pw = (struct passwd *)memcache_lookup_talloc( 51 if (pw != NULL) { 52 return tcopy_passwd(mem_ctx, pw); 55 pw = sys_getpwnam(name); 56 if (pw == NULL) { 60 for_cache = tcopy_passwd(talloc_autofree_context(), pw); 68 return tcopy_passwd(mem_ctx, pw);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/lib/ |
H A D | util_pw.c | 47 struct passwd *pw, *for_cache; local 49 pw = (struct passwd *)memcache_lookup_talloc( 51 if (pw != NULL) { 52 return tcopy_passwd(mem_ctx, pw); 55 pw = sys_getpwnam(name); 56 if (pw == NULL) { 60 for_cache = tcopy_passwd(talloc_autofree_context(), pw); 68 return tcopy_passwd(mem_ctx, pw);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/testsuite/smbd/ |
H A D | se_access_check_allowall.c | 38 BOOL allowall_check(struct passwd *pw, int ngroups, gid_t *groups) argument 43 result = se_access_check(sd, pw->pw_uid, pw->pw_gid, 51 pw->pw_uid, pw->pw_gid);
|
H A D | se_access_check_denyall.c | 38 BOOL denyall_check(struct passwd *pw, int ngroups, gid_t *groups) argument 43 result = se_access_check(sd, pw->pw_uid, pw->pw_gid, 50 pw->pw_uid, pw->pw_gid);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/testsuite/smbd/ |
H A D | se_access_check_allowall.c | 38 BOOL allowall_check(struct passwd *pw, int ngroups, gid_t *groups) argument 43 result = se_access_check(sd, pw->pw_uid, pw->pw_gid, 51 pw->pw_uid, pw->pw_gid);
|
H A D | se_access_check_denyall.c | 38 BOOL denyall_check(struct passwd *pw, int ngroups, gid_t *groups) argument 43 result = se_access_check(sd, pw->pw_uid, pw->pw_gid, 50 pw->pw_uid, pw->pw_gid);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/testsuite/smbd/ |
H A D | se_access_check_allowall.c | 37 BOOL allowall_check(struct passwd *pw, int ngroups, gid_t *groups) argument 42 result = se_access_check(sd, pw->pw_uid, pw->pw_gid, 50 pw->pw_uid, pw->pw_gid);
|
H A D | se_access_check_denyall.c | 37 BOOL denyall_check(struct passwd *pw, int ngroups, gid_t *groups) argument 42 result = se_access_check(sd, pw->pw_uid, pw->pw_gid, 49 pw->pw_uid, pw->pw_gid);
|