a2845faee3
test case: int main(void) { struct stat buf; int ret; stat("test1.t", &buf); printf("test1.t st.mode:%x\n", buf.st_mode); stat("test.t", &buf); printf("test.t st.mode:%x\n", buf.st_mode); ret = chmod("test1.t", buf.st_mode); if (ret == 0) { stat("test1.t", &buf); printf("test1.t st.mode:%x\n", buf.st_mode); } return 0; } >> test1.t st.mode:81b4 test.t st.mode:81fd test1.t st.mode:81fd Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> |
||
---|---|---|
.. | ||
aio | ||
binfs | ||
cromfs | ||
driver | ||
fat | ||
hostfs | ||
inode | ||
littlefs | ||
mmap | ||
mnemofs | ||
mount | ||
mqueue | ||
nfs | ||
notify | ||
nxffs | ||
partition | ||
procfs | ||
romfs | ||
rpmsgfs | ||
semaphore | ||
shm | ||
smartfs | ||
socket | ||
spiffs | ||
tmpfs | ||
unionfs | ||
userfs | ||
v9fs | ||
vfs | ||
zipfs | ||
CMakeLists.txt | ||
fs_heap.c | ||
fs_heap.h | ||
fs_initialize.c | ||
Kconfig | ||
Makefile |