[macports-legacy-support] branch master updated (0dd04b1 -> 0001dbc)

Christopher Nielsen mascguy at macports.org
Tue May 20 11:18:01 UTC 2025


Christopher Nielsen (mascguy) pushed a change to branch master
in repository macports-legacy-support.

    from 0dd04b1  Check for "shadowing" warnings.
     new 3562164  Rewrite clock_gettime_nsec_np()
     new 1d13dd0  Add more clock_gettime_nsec_np() tests.
     new 7188c5f  Rewrite clock_gettime() and clock_getres().
     new f462618  Rewrite mach_time scaling.
     new d803d36  Add mach_approximate_time() and derivatives (10.10+).
     new cb9c705  Add "continuous" mach_time functions and derivatives.
     new 5bf5c9e  Add tool to report properties of mach time scale.
     new a848fc1  clock_gettime*(): Use new syscall for thread time on 10.10+.
     new 9edd87b  libtest_settime: Include CLOCK_MONOTONIC in monotonicity check.
     new 3a684d3  libtest_settime: Add boottime and mach time reports.
     new 8fcbe43  Make CLOCK_MONOTONIC actually monotonic.
     new 73eff77  libtest_settime: Report any adjustments to boottime.
     new 8f13c00  endian.h: New local include for byte-swapping ops.
     new 40c0d2d  Fix packet timestamps under Rosetta.
     new 83fb138  Add packet test (for timestamps).
     new 8a8fd45  test_packet: Include mach_continuous_time() capture.
     new 68f34b7  Add manual packet test for SO_TIMESTAMP_CONTINUOUS.
     new b9f83cc  Implement recvmsg() variants.
     new 85d0b36  Allow disabling CMSG fixes.
     new f36e569  Add manual test for disabled CMSG fixes.
     new 24b18f8  Add additional packet test variants.
     new 8e68e8e  Fix CMSG timestamp format confusion.
     new 5a7ce25  test_packet: Remove forgiveness for bad timestamp format.
     new 2c96b22  Fix up .gitignores for test and tools dirs.
     new 135f3c2  Limit CLOCK_MONOTONIC to microsecond resolution.
     new 4b5ec68  test_clocks: Initial new clock test.
     new cccb15a  test_clocks: Add cross-check reporting.
     new 631f37e  Remove redundant test_cmsg_macro.
     new a3376c3  Add clock investigative tool.
     new d71139d  TargetConditionals.h: Fix bugs with SDK 15 and GCC 4.2.
     new 3e60c32  Make security-wrapper tests manual.
     new ef3531a  test_clocks: Add cross-check tests.
     new 24117c0  test_clocks: Add mach_time scaling check.
     new b9c0d65  time.c: Fix bug in pre-10.10 thread time.
     new 57cf29f  test_clocks: Add process/thread time check.
     new b8623c9  Make old time test manual.
     new c0908be  test_clocks: Ignore errors caused by Rosetta 2 bug.
     new 0001dbc  test_packet: Ignore errors caused by Rosetta 2 bug.

The 38 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore                                         |    1 +
 Makefile                                           |   32 +-
 include/MacportsLegacySupport.h                    |   17 +-
 include/TargetConditionals.h                       |   38 +-
 include/{sys/time.h => mach/mach_time.h}           |   29 +-
 include/sys/socket.h                               |   38 +-
 manual_tests/.gitignore                            |    2 +
 manual_tests/libtest_packet_cont.c                 |   16 +
 manual_tests/libtest_packet_nofix.c                |   11 +
 manual_tests/libtest_packet_nofix_nocancel.c       |    8 +
 .../libtest_packet_nofix_nonposix.c                |    6 +-
 manual_tests/libtest_settime.c                     |  226 ++-
 test/test_time.c => manual_tests/libtest_time.c    |   65 +-
 .../stpncpy_chk.c                                  |    0
 manual_tests/stpncpy_chk_force0.c                  |    7 +
 manual_tests/stpncpy_chk_force1.c                  |    7 +
 .../stpncpy_chk_forced.c                           |    4 +-
 .../strncpy_chk.c                                  |    0
 manual_tests/strncpy_chk_force0.c                  |    7 +
 manual_tests/strncpy_chk_force1.c                  |    7 +
 .../strncpy_chk_forced.c                           |    4 +-
 src/endian.h                                       |   47 +
 src/packet.c                                       |  462 +++++
 src/time.c                                         |  648 +++++--
 test/.gitignore                                    |    2 +
 test/test_clocks.c                                 | 1834 ++++++++++++++++++++
 test/test_packet.c                                 |  590 +++++++
 test/test_packet_nocancel.c                        |    6 +
 ..._realpath_nonposix.c => test_packet_nonposix.c} |    4 +-
 test/test_stpncpy_chk_force0.c                     |    7 -
 test/test_stpncpy_chk_force1.c                     |    7 -
 test/test_strncpy_chk_force0.c                     |    7 -
 test/test_strncpy_chk_force1.c                     |    7 -
 tools/.gitignore                                   |    1 +
 tools/clock_info.c                                 | 1018 +++++++++++
 tools/mach_time.c                                  |  186 ++
 xtest/.gitignore                                   |    2 +
 xtest/test_cmsg_macro.c                            |   24 -
 38 files changed, 5161 insertions(+), 216 deletions(-)
 copy include/{sys/time.h => mach/mach_time.h} (62%)
 create mode 100644 manual_tests/libtest_packet_cont.c
 create mode 100644 manual_tests/libtest_packet_nofix.c
 create mode 100644 manual_tests/libtest_packet_nofix_nocancel.c
 copy test/test_realpath_nonposix.c => manual_tests/libtest_packet_nofix_nonposix.c (69%)
 rename test/test_time.c => manual_tests/libtest_time.c (72%)
 rename test/test_stpncpy_chk.c => manual_tests/stpncpy_chk.c (100%)
 create mode 100644 manual_tests/stpncpy_chk_force0.c
 create mode 100644 manual_tests/stpncpy_chk_force1.c
 rename test/test_strncpy_chk_forced.c => manual_tests/stpncpy_chk_forced.c (76%)
 rename test/test_strncpy_chk.c => manual_tests/strncpy_chk.c (100%)
 create mode 100644 manual_tests/strncpy_chk_force0.c
 create mode 100644 manual_tests/strncpy_chk_force1.c
 rename test/test_stpncpy_chk_forced.c => manual_tests/strncpy_chk_forced.c (76%)
 create mode 100644 src/endian.h
 create mode 100644 src/packet.c
 create mode 100644 test/test_clocks.c
 create mode 100644 test/test_packet.c
 create mode 100644 test/test_packet_nocancel.c
 copy test/{test_realpath_nonposix.c => test_packet_nonposix.c} (78%)
 delete mode 100644 test/test_stpncpy_chk_force0.c
 delete mode 100644 test/test_stpncpy_chk_force1.c
 delete mode 100644 test/test_strncpy_chk_force0.c
 delete mode 100644 test/test_strncpy_chk_force1.c
 create mode 100644 tools/clock_info.c
 create mode 100644 tools/mach_time.c
 delete mode 100644 xtest/test_cmsg_macro.c



More information about the macports-changes mailing list