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
F156712818: D42154.id128540.diff
Fri, May 15, 8:32 PM
F156712122: D42154.diff
Fri, May 15, 8:26 PM
Unknown Object (File)
Thu, May 14, 3:35 AM
Unknown Object (File)
Wed, May 6, 3:53 AM
Unknown Object (File)
Wed, May 6, 2:17 AM
Unknown Object (File)
Sat, May 2, 1:11 AM
Unknown Object (File)
Thu, Apr 30, 6:05 PM
Unknown Object (File)
Wed, Apr 29, 3:22 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