All of lore.kernel.org
 help / color / mirror / Atom feed
* [pseudo] [PATCH v2 0/4] Add open_tree() wrapper
@ 2026-09-04 13:06 frezidok1
  2026-09-04 13:06 ` [pseudo] [PATCH v2 1/4] ports/linux/guts: Add open_tree wrapper frezidok1
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: frezidok1 @ 2026-09-04 13:06 UTC (permalink / raw)
  To: yocto-patches; +Cc: Dmitry Sakhonchik

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, ...)

Dmitry Sakhonchik (4):
  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

 ports/linux/guts/open_tree.c   |  46 ++++++++++
 ports/linux/portdefs.h         |   9 ++
 ports/linux/pseudo_wrappers.c  |  14 +++
 ports/linux/wrapfuncs.in       |   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 ++
 8 files changed, 371 insertions(+)
 create mode 100644 ports/linux/guts/open_tree.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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-09-04 13:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04 13:06 [pseudo] [PATCH v2 0/4] Add open_tree() wrapper frezidok1
2026-09-04 13:06 ` [pseudo] [PATCH v2 1/4] ports/linux/guts: Add open_tree wrapper frezidok1
2026-09-04 13:06 ` [pseudo] [PATCH v2 2/4] test: Add open_tree test frezidok1
2026-09-04 13:06 ` [pseudo] [PATCH v2 3/4] ports/linux/pseudo_wrappers.c: Add syscall support for open_tree() wrapper frezidok1
2026-09-04 13:06 ` [pseudo] [PATCH v2 4/4] test: Add open_tree syscall test frezidok1

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.