Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

path_open all flags support #6

Open
pmp-p opened this issue Nov 13, 2024 · 1 comment
Open

path_open all flags support #6

pmp-p opened this issue Nov 13, 2024 · 1 comment

Comments

@pmp-p
Copy link
Contributor

pmp-p commented Nov 13, 2024

it seems path_open does not allocate fd when passed OFLAGS_CREAT, does not handle OFLAGS_EXCL
and maybe does not return all possible values in all posible cases ( ERRNO_EXIST / ERRNO_NOTDIR )

@konsumer
Copy link
Owner

Notes from discord:

  • the fd is not allocated when creating
  • it should test for file, then if file is not there, test for valid parent and rights to create in it
  • leads to fopen with mode w/w+ failing right now
  • needs logic here

konsumer added a commit that referenced this issue Nov 14, 2024
@konsumer konsumer reopened this Nov 16, 2024
@pmp-p pmp-p changed the title path_open / OFLAGS_CREAT path_open all flags support Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants