D | prot_hsymlinks.c | 25 * Users who own sticky world-writable directory can't follow symlinks 26 * inside that directory if their don't own ones. All other users can follow. 30 * Hard links restriction applies only to non-privileged users. Only 99 static struct test_user users[USERS_NUM]; variable 206 strcpy(users[ROOT].name, "root"); in setup() 210 snprintf(users[TEST_USER].name, MAX_USER_NAME, "%s", tmp_user_name); in setup() 250 /* get all users files and directories */ in test_run() 251 for (file = 0; file < users[usr].num; ++file) { in test_run() 252 ufile = &users[usr].file[file]; in test_run() 322 snprintf(cmd, MAX_CMD_LEN, "%s %s", user_cmd, users[TEST_USER].name); in test_user_cmd() [all …]
|