Page MenuHomeFreeBSD

alter path: for linux mkdir, if the folder has been existed in /compat/linux, return EEXIST directly
Needs ReviewPublic

Authored by weike.chen_dell.com on Oct 11 2023, 5:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 8, 5:29 PM
Unknown Object (File)
Wed, Nov 5, 6:35 PM
Unknown Object (File)
Fri, Oct 31, 1:46 PM
Unknown Object (File)
Sun, Oct 26, 11:26 AM
Unknown Object (File)
Tue, Oct 21, 2:38 PM
Unknown Object (File)
Tue, Oct 21, 2:38 PM
Unknown Object (File)
Tue, Oct 21, 2:35 AM
Unknown Object (File)
Tue, Oct 14, 8:45 AM
Subscribers

Details

Reviewers
dchagin
Group Reviewers
Linux Emulation
linuxkpi
Summary

Linux applications calls 'mkdir' to create folder, if it is existed in /compat/linux, the correct implementation creates it in '/'. This behavior causes the failure for the Linux applications use 'mkdir' to check if the folder is existed or not, but have no permission to create folders in '/'.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped