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 15, 10:18 PM
Unknown Object (File)
Fri, Nov 14, 9:55 PM
Unknown Object (File)
Mon, Nov 10, 7:45 PM
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)
Oct 26 2025, 11:26 AM
Unknown Object (File)
Oct 21 2025, 2:38 PM
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