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)
May 17 2026, 11:10 AM
Unknown Object (File)
May 16 2026, 6:21 PM
Unknown Object (File)
May 15 2026, 8:32 PM
Unknown Object (File)
May 15 2026, 8:26 PM
Unknown Object (File)
May 14 2026, 3:35 AM
Unknown Object (File)
May 6 2026, 3:53 AM
Unknown Object (File)
May 6 2026, 2:17 AM
Unknown Object (File)
May 2 2026, 1:11 AM
Subscribers

Details

Reviewers
dchagin
Group Reviewers
Linux Emulation
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