시험용 statx를 구형 glibc 헤더 선언과 분리
- 작성자
- 코노모리 카논
- 작성 시각
- 커밋
249f85adda07dbf63ad3a995d6fbfcb46ef34dc6- 부모
- d184f28
변경된 파일 1개
+4-1| @@ -97,7 +97,10 @@ static const char *redirect(const char *path, char *buffer, size_t length) { | ||
| 97 | 97 | return buffer; |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 삭제: int statx(int fd, const char *path, int flags, unsigned int mask, struct statx *info) { | |
| 100 | 추가: int private_group_statx(int fd, const char *path, int flags, unsigned int mask, | |
| 101 | 추가: struct statx *info) __asm__("statx"); | |
| 102 | 추가: | |
| 103 | 추가: int private_group_statx(int fd, const char *path, int flags, unsigned int mask, struct statx *info) { | |
| 101 | 104 | int (*original)(int, const char *, int, unsigned int, struct statx *) = dlsym(RTLD_NEXT, "statx"); |
| 102 | 105 | const char *phase = getenv("ZIPELO_GROUP_CASE"); |
| 103 | 106 | if (path && phase && ((!strcmp(phase, "sss-probe-error") && !strncmp(path, "/var/lib/sss", 12)) || |