Skip to content

[pkcl M1] ディレクトリ(opendir/readdir)、O_DIRECTORY、statvfs、chown、dup3、pread/pwrite #166

Open

Description

@src3453

doc/spec_pkcl.md §6.1〜6.2 の「予定(M1)」。fnd_dir_open/fnd_dir_next/fnd_dir_rewind を DIR(<dirent.h>)に載せる(d_ino は 0、d_type は stat の type)。open(dir, O_RDONLY|O_DIRECTORY) は現状 EISDIR。FS_VOLUME_INFO を statvfs に、所有者を変えない chown、dup3・F_DUPFD_CLOEXEC、pread/pwrite(lseek+read/write の代用)を追加する。BusyBox の ls/cp -r/rm -r/df に必要。ゲストテストを foundation/tests/pkcl に足す。

Activity

  1. added this to the Foundation OS milestone on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions