From: frezidok1@gmail.com
To: yocto-patches@lists.yoctoproject.org
Cc: Dmitry Sakhonchik <frezidok1@gmail.com>
Subject: [pseudo] [PATCH v3 0/6] Add open_tree() wrapper
Date: Mon, 7 Sep 2026 14:18:37 +0300 [thread overview]
Message-ID: <20260907111843.26746-1-frezidok1@gmail.com> (raw)
From: Dmitry Sakhonchik <frezidok1@gmail.com>
v2:
- Handle relative paths correctly in the open_tree wrapper
- Add fallback to SYS_open_tree when libc function is absent
- Add tests coverage with relative paths (dirfd != AT_FDCWD)
- Add support and tests for syscall(SYS_open_tree, ...)
v3:
- Add open_tree_attr wrapper
- Add open_tree_attr syscall test
Dmitry Sakhonchik (6):
ports/linux/guts: Add open_tree wrapper
test: Add open_tree test
ports/linux/pseudo_wrappers.c: Add syscall support for open_tree()
wrapper
test: Add open_tree syscall test
test: Add open_tree_attr syscall test
ports/linux/guts: Add open_tree_attr wrapper
ports/linux/guts/open_tree.c | 46 ++++++++
ports/linux/guts/open_tree_attr.c | 48 ++++++++
ports/linux/portdefs.h | 18 +++
ports/linux/pseudo_wrappers.c | 30 +++++
ports/linux/wrapfuncs.in | 2 +
pseudo_wrappers.c | 1 +
test/test-open_tree-syscall.c | 152 +++++++++++++++++++++++++
test/test-open_tree-syscall.sh | 5 +
test/test-open_tree.c | 139 +++++++++++++++++++++++
test/test-open_tree.sh | 5 +
test/test-open_tree_attr-syscall.c | 165 ++++++++++++++++++++++++++++
test/test-open_tree_attr-syscall.sh | 5 +
12 files changed, 616 insertions(+)
create mode 100644 ports/linux/guts/open_tree.c
create mode 100644 ports/linux/guts/open_tree_attr.c
create mode 100644 test/test-open_tree-syscall.c
create mode 100755 test/test-open_tree-syscall.sh
create mode 100644 test/test-open_tree.c
create mode 100755 test/test-open_tree.sh
create mode 100644 test/test-open_tree_attr-syscall.c
create mode 100755 test/test-open_tree_attr-syscall.sh
next reply other threads:[~2026-09-07 11:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-07 11:18 frezidok1 [this message]
2026-09-07 11:18 ` [pseudo] [PATCH v3 1/6] ports/linux/guts: Add open_tree wrapper frezidok1
2026-09-07 11:18 ` [pseudo] [PATCH v3 2/6] test: Add open_tree test frezidok1
2026-09-07 11:18 ` [pseudo] [PATCH v3 3/6] ports/linux/pseudo_wrappers.c: Add syscall support for open_tree() wrapper frezidok1
2026-09-07 11:18 ` [pseudo] [PATCH v3 4/6] test: Add open_tree syscall test frezidok1
2026-09-07 11:18 ` [pseudo] [PATCH v3 5/6] test: Add open_tree_attr " frezidok1
2026-09-07 11:18 ` [pseudo] [PATCH v3 6/6] ports/linux/guts: Add open_tree_attr wrapper frezidok1
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260907111843.26746-1-frezidok1@gmail.com \
--to=frezidok1@gmail.com \
--cc=yocto-patches@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.