Skip to content

Consolidated pseudo patches

Mark Hatle yocto-patches 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20test-syscall: Remove build warningtest/test-syscall.c+1 -10 replies
2/20test: Cleanup test outputMakefile.in run_tests.sh test/test-acl.sh +1 more+55 -50 replies
3/20test/test-statx.sh: It should be a failure if pseudo prints an errortest/test-statx.sh+13 -10 replies
4/20test-realpath: Verify the realpath behavior matches glibctest/test-realpath.c test/test-realpath.sh+80 -00 replies
5/20run_tests.sh: In verbose mode, include pseudo.log in outputrun_tests.sh+4 -00 replies
6/20test/test-statx: Add uutils test casetest/test-statx.sh+25 -00 replies
7/20test/test-nftw: Avoid compile warningstest/nftw-test-impl.c+2 -00 replies
8/20test-tclsh-fork: Skip test if tclsh is not availabletest/test-tclsh-fork.sh+5 -00 replies
9/20ports/unix/guts/realpath.c: realpath fails if the resolved path doesn't existports/unix/guts/realpath.c+9 -00 replies
10/20test/test-proc-pipe.sh: Add test case for proc pipestest/test-proc-pipe.sh+27 -00 replies
11/20pseudo_util.c: Skip realpath like expansion for /proc on Linuxpseudo_util.c+68 -00 replies
12/20ports/unix/guts/realpath.c: Fix indentsports/unix/guts/realpath.c+7 -70 replies
13/20ports/linux/pseudo_wrappers.c: Reorder the syscall operationsports/linux/pseudo_wrappers.c+16 -130 replies
14/20ports/linux/pseudo_wrappers.c: Call the wrappers where possibleports/linux/pseudo_wrappers.c+17 -120 replies
15/20ports/linux: Add additional EFAULTS for Linux functionsports/linux/openat2/wrapfuncs.in ports/linux/wrapfuncs.in ports/linux/xattr/wrapfuncs.in+20 -200 replies
16/20Update COPYRIGHT filesguts/COPYRIGHT ports/darwin/guts/COPYRIGHT ports/linux/guts/COPYRIGHT +2 more+8 -00 replies
17/20makewrappers: improve error handling and robustnessmakewrappers+40 -330 replies
18/20pseudo: code quality scan - resolved various potential issuesports/unix/guts/fts_open.c ports/unix/guts/nftw_wrapper_base.c pseudo.c +4 more+117 -520 replies
19/20configure: Minor code quality changesconfigure+12 -70 replies
20/20Makefile.in: Bump version to 1.9.3ChangeLog.txt Makefile.in+5 -10 replies

Reviews trailers per patch

None of the 20 patches has a Reviewed-by or Acked-by.

PatchGauthier HADERER
1/20
2/20
3/20
4/20
5/20
6/20
7/20
8/20
9/20Contributed-by
10/20
11/20
12/20
13/20
14/20
15/20
16/20
17/20
18/20
19/20
20/20

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [pseudo][PATCH 00/20] Consolidated pseudo patches

This is the full set of pending changes. Many of which have already been sent to the mailing list. This set matches 'fray/master' branch in the repository.

The new features in this set include:

* Test harness improvements (better display, more robust)
* Realpath POSIX fix from Gauthier HADERER
* Linux path traversal into /proc fixes
* General cleanup

This along with the other changes that have recently gone in should get us to 1.9.3 or even 2.0.0.

Note: the test suite still shows there are problems with parallel rename and symlink operations. These are reported but we don't have any sort of a fix in mind yet.

renameat2 is not implemented, this will require potentially extensive changes to pseudo to allow for atomic exchange (rename). It will return ENOSYS until then.

openat2 is not implemented, a prototype version of this code was created, but does not yet pass testing. This also returns ENOSYS.

Gauthier HADERER (1):
ports/unix/guts/realpath.c: realpath fails if the resolved path
doesn't exist

Mark Hatle (19):
test-syscall: Remove build warning
test: Cleanup test output
test/test-statx.sh: It should be a failure if pseudo prints an error
test-realpath: Verify the realpath behavior matches glibc run_tests.sh: In verbose mode, include pseudo.log in output test/test-statx: Add uutils test case
test/test-nftw: Avoid compile warnings
test-tclsh-fork: Skip test if tclsh is not available test/test-proc-pipe.sh: Add test case for proc pipes pseudo_util.c: Skip realpath like expansion for /proc on Linux ports/unix/guts/realpath.c: Fix indents ports/linux/pseudo_wrappers.c: Reorder the syscall operations ports/linux/pseudo_wrappers.c: Call the wrappers where possible ports/linux: Add additional EFAULTS for Linux functions Update COPYRIGHT files
makewrappers: improve error handling and robustness
pseudo: code quality scan - resolved various potential issues
configure: Minor code quality changes
Makefile.in: Bump version to 1.9.3

 ChangeLog.txt                       |   4 +
 Makefile.in                         |   5 +-
 configure                           |  19 ++--
 guts/COPYRIGHT                      |   2 +
 makewrappers                        |  73 ++++++++-------
 ports/darwin/guts/COPYRIGHT         |   1 +
 ports/linux/guts/COPYRIGHT          |   2 +
 ports/linux/openat2/wrapfuncs.in    |   2 +-
 ports/linux/pseudo_wrappers.c       |  46 ++++++----
 ports/linux/wrapfuncs.in            |  22 ++---
 ports/linux/xattr/wrapfuncs.in      |  16 ++--
 ports/uids_generic/guts/COPYRIGHT   |   1 +
 ports/unix/guts/COPYRIGHT           |   2 +
 ports/unix/guts/fts_open.c          |   5 +-
 ports/unix/guts/nftw_wrapper_base.c |  11 +--
 ports/unix/guts/realpath.c          |  23 +++--
 pseudo.c                            |  61 ++++++++-----
 pseudo_client.c                     |   4 +
 pseudo_db.c                         |  10 +++
 pseudo_server.c                     |  14 +++
 pseudo_util.c                       | 132 +++++++++++++++++++++++-----
 run_tests.sh                        |  28 ++++--
 test/nftw-test-impl.c               |   2 +
 test/test-acl.sh                    |  16 ++++
 test/test-proc-pipe.sh              |  27 ++++++
 test/test-realpath.c                |  17 ++++
 test/test-realpath.sh               |  63 +++++++++++++
 test/test-statx.sh                  |  39 +++++++-
 test/test-syscall.c                 |   2 +-
 test/test-tclsh-fork.sh             |   5 ++
 test/test-xattr.sh                  |  17 ++++
 31 files changed, 525 insertions(+), 146 deletions(-)
 create mode 100755 test/test-proc-pipe.sh
 create mode 100644 test/test-realpath.c
 create mode 100755 test/test-realpath.sh
Signature · 1 line
2.43.0