<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>d0b2dbfa - Remove $FreeBSD$: one-line sh pattern</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#d0b2dbfa</link>
        <description>Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Wed, 16 Aug 2023 17:55:03 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>7fa2f2a6 - Rename NO_WERROR -&gt; MK_WERROR=no</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#7fa2f2a6</link>
        <description>Rename NO_WERROR -&gt; MK_WERROR=noAs suggested in D27598. This also supports MK_WERROR.clang=no andMK_WERROR.gcc=no to support the existing NO_WERROR.&lt;compiler&gt; uses.Reviewed By:	brooksDifferential Revision: https://reviews.freebsd.org/D27601

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Wed, 06 Jan 2021 17:55:06 +0000</pubDate>
        <dc:creator>Alex Richardson &lt;Alexander.Richardson@cl.cam.ac.uk&gt;</dc:creator>
    </item>
<item>
        <title>caa449b6 - Use PT_GET_SC_ARGS and PT_GET_SC_RET in truss.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#caa449b6</link>
        <description>Use PT_GET_SC_ARGS and PT_GET_SC_RET in truss.This removes all of the architecture-specific functions from truss.A per-ABI structure is still needed to map syscall numbers to namesand FreeBSD errno values to ABI error values as well as hold syscallcounters.  However, the linker set of ABI structures is now replacedwith a simple table mapping ABI names to structures.  This approachpermits sharing the same ABI structure among separate names such asi386 a.out and ELF binaries as well as ELF v1 vs ELF v2 for powerpc64.A few differences are visible due to using PT_GET_SC_RET to fetch theerror value of a system call.  Note that ktrace/kdump have had the&quot;new&quot; behaviors for a long time already:- System calls that return with EJUSTRETURN or ERESTART will now be  noticed and logged as such.  Previously sigreturn (which uses  EJUSTRETURN) would report whatever random value was in the register  holding errno from the previous system call for example.  Now it  reports EJUSTRETURN.- System calls that return errno as their error value such as  posix_fallocate() and posix_fadvise() now report non-zero return  values as errors instead of success with a non-zero return value.Reviewed by:	kibMFC after:	1 monthSponsored by:	DARPADifferential Revision:	https://reviews.freebsd.org/D20963

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Tue, 16 Jul 2019 22:59:15 +0000</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>4be29fb3 - Make truss work for CloudABI executables on i386.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#4be29fb3</link>
        <description>Make truss work for CloudABI executables on i386.The system call convention is different from i386 binaries running onFreeBSD/amd64, but this is not noticeable by executables. OnFreeBSD/amd64, the vDSO already does padding of arguments and returnvalues to 64-bit values. On i386, it does not, meaning that system callreturn values are simply stored in registers.

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Thu, 21 Dec 2017 09:21:40 +0000</pubDate>
        <dc:creator>Ed Schouten &lt;ed@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>d0aec748 - Make truss(8) work for 32-bit CloudABI executables on ARM64.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#d0aec748</link>
        <description>Make truss(8) work for 32-bit CloudABI executables on ARM64.This change effectively merges the existing 64-bit support for ARM64with the 32-on-64-bit support for AMD64.

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Wed, 20 Dec 2017 13:13:10 +0000</pubDate>
        <dc:creator>Ed Schouten &lt;ed@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>ae8ef112 - Make truss(8) work for i686-unknown-cloudabi binaries on FreeBSD/amd64.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#ae8ef112</link>
        <description>Make truss(8) work for i686-unknown-cloudabi binaries on FreeBSD/amd64.This change copies the existing amd64_cloudabi64.c to amd64_cloudabi32.cand reimplements the functions for fetching system call arguments andreturn values to use the same scheme as used by the vDSO that is usedwhen running cloudabi32 executables.As arguments are automatically padded to 64-bit words by the vDSO inuserspace, we can copy the arguments directly into the array used bytruss(8) internally.Reviewed by:	jhbDifferential Revision:	https://reviews.freebsd.org/D13516

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Sat, 16 Dec 2017 19:40:28 +0000</pubDate>
        <dc:creator>Ed Schouten &lt;ed@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>a35f04fb - Adopt SRCTOP in usr.bin</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#a35f04fb</link>
        <description>Adopt SRCTOP in usr.binPrefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/fooover ${.CURDIR}/../foo for paths in Makefiles.Differential Revision:	https://reviews.freebsd.org/D9932Sponsored by:		NetflixSilence on:		arch@ (twice)

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Sun, 12 Mar 2017 18:58:44 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>9289f547 - Move mksubr from kdump into libsysdecode.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#9289f547</link>
        <description>Move mksubr from kdump into libsysdecode.Restructure this script so that it generates a header of tables insteadof a source file.  The tables are included in a flags.c source file whichprovides functions to decode various system call arguments.For functions that decode an enumeration, the function returns a pointerto a string for known values and NULL for unknown values.For functions that do more complex decoding (typically of a bitmask), thefunction accepts a pointer to a FILE object (open_memstream() can be usedas a string builder) to which decoded values are written.  If thefunction operates on a bitmask, the function returns true if any bitswere decoded or false if the entire value was valid.  Additionally, thethird argument accepts a pointer to a value to which any undecoded bitsare stored.  This pointer can be NULL if the caller doesn&apos;t care aboutremaining bits.Convert kdump over to using decoder functions from libsysdecode instead ofmksubr.  truss also uses decoders from libsysdecode instead of privatelookup tables, though lookup tables for objects not decoded by kdump remainin truss for now.  Eventually most of these tables should move intolibsysdecode as the automated table generation approach from mksubr isless stale than the static tables in truss.Some changes have been made to truss and kdump output:- The flags passed to open() are now properly decoded in that one of  O_RDONLY, O_RDWR, O_WRONLY, or O_EXEC is always included in a decoded  mask.- Optional arguments to open(), openat(), and fcntl() are only printed  in kdump if they exist (e.g. the mode is only printed for open() if  O_CREAT is set in the flags).- Print argument to F_GETLK/SETLK/SETLKW in kdump as a pointer, not int.- Include all procctl() commands.- Correctly decode pipe2() flags in truss by not assuming full  open()-like flags with O_RDONLY, etc.- Decode file flags passed to *chflags() as file flags (UF_* and SF_*)  rather than as a file mode.- Fix decoding of quotactl() commands by splitting out the two command  components instead of assuming the raw command value matches the  primary command component.In addition, truss and kdump now build without triggering any warnings.All of the sysdecode manpages now include the required headers in thesynopsis.Reviewed by:	kib (several older versions), wblock (manpages)MFC after:	2 monthsDifferential Revision:	https://reviews.freebsd.org/D7847

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Mon, 17 Oct 2016 22:37:07 +0000</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>d3a5e7a3 - Add support for truss&apos;ing Linux/x86_64 binaries under amd64.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#d3a5e7a3</link>
        <description>Add support for truss&apos;ing Linux/x86_64 binaries under amd64.Prodding by:	xmj

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Thu, 09 Jun 2016 02:21:07 +0000</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>287b96dd - Add handling for non-native error values to libsysdecode.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#287b96dd</link>
        <description>Add handling for non-native error values to libsysdecode.Add two new functions, sysdecode_abi_to_freebsd_errno() andsysdecode_freebsd_to_abi_errno(), which convert errno values betweenthe native FreeBSD ABI and other supported ABIs. Note that themappings are not necessarily perfect meaning in some cases multipleerrors in one ABI might map to a single error in another ABI. In thatcase, the reverse mapping will return one of the errors that maps, butwhich error is non-deterministic.Change truss to always report the raw error value to the user butuse libsysdecode to map it to a native errno value that can be usedwith strerror() to generate a description. Previously truss reportedthe &quot;converted&quot; error value. Now the user will always see the exacterror value that the application sees.Change kdump to report the truly raw error value to the user. Previouslykdump would report the absolute value of the raw error value (so forLinux binaries it didn&apos;t output the FreeBSD error value, but the positivevalue of the Linux error). Now it reports the real (i.e. negative) errorvalue for Linux binaries. Also, use libsysdecode to convert the nativeFreeBSD error reported in the ktrace record to the raw error used by theABI. This means that the Linux ABI can now be handled directly inktrsysret() and removes the need for linux_ktrsysret().Reviewed by:	bdrewery, kibHelpful notes:	wblock (manpage)Differential Revision:	https://reviews.freebsd.org/D5314

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Tue, 23 Feb 2016 20:00:55 +0000</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>a5f14abf - Add support to libsysdecode for decoding system call names.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#a5f14abf</link>
        <description>Add support to libsysdecode for decoding system call names.A new sysdecode_syscallname() function accepts a system call code andreturns a string of the corresponding name (or NULL if the code isunknown).  To support different process ABIs, the new function accepts avalue from a new sysdecode_abi enum as its first argument to select theABI in use.  Current ABIs supported include FREEBSD (native binaries),FREEBSD32, LINUX, LINUX32, and CLOUDABI64.  Note that not all ABIs aresupported by all platforms.  In general, a given ABI is only supportedif a platform can execute binaries for that ABI.To simplify the implementation, libsysdecode&apos;s build reuses theexisting pre-generated files from the kernel source tree rather thanduplicating new copies of said files during the build.kdump(1) and truss(1) now use these functions to map system callidentifiers to names.  For kdump(1), a new &apos;syscallname()&apos; functionconsolidates duplicated code from ktrsyscall() and ktrsyscallret().The Linux ABI no longer requires custom handling for ktrsyscall() andlinux_ktrsyscall() has been removed as a result.Reviewed by:	bdreweryDifferential Revision:	https://reviews.freebsd.org/D4823

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Tue, 26 Jan 2016 19:07:09 +0000</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>265e5898 - Move the mkioctls script to libsysdecode and use it to generate a</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#265e5898</link>
        <description>Move the mkioctls script to libsysdecode and use it to generate asysdecode_ioctlname() function.  This function matches the behaviorof the truss variant in that it returns a pointer to a string descriptionfor known ioctls.  The caller is responsible for displaying unknownioctl requests.  For kdump this meant moving the logic to handle unknownioctl requests out of the generated function and into an ioctlname()function in kdump.c instead.Differential Revision:	https://reviews.freebsd.org/D4610

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Tue, 22 Dec 2015 20:33:49 +0000</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>d6fb4894 - Start on a new library (libsysdecode) that provides routines for decoding</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#d6fb4894</link>
        <description>Start on a new library (libsysdecode) that provides routines for decodingsystem call information such as system call arguments.  Initially thiswill consist of pulling duplicated code out of truss and kdump though itmay prove useful for other utilities in the future.This commit moves the shared utrace(2) record parser out of kdump intothe library and updates kdump and truss to use it.  One difference fromthe previous version is that the library version treats unknown eventsthat start with the &quot;RTLD&quot; signature as unknown events.  This simplifiesthe interface and allows the consumer to decide how to handle allnon-recognized events.  Instead, this function only generates a stringdescription for known malloc() and RTLD records.Reviewed by:	bdreweryDifferential Revision:	https://reviews.freebsd.org/D4537

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Tue, 15 Dec 2015 00:05:07 +0000</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>b0e78727 - Make truss work for CloudABI processes on aarch64.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#b0e78727</link>
        <description>Make truss work for CloudABI processes on aarch64.This change copies over amd64-cloudabi64.c to aarch64-cloudabi.c andadjusts it to fetch the proper registers on aarch64. To reduce theamount of shared code, the errno conversion function is moved into aseparate source file.Reviewed by:	jhb, andrewDifferential Revision:	https://reviews.freebsd.org/D4023

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Fri, 30 Oct 2015 08:11:37 +0000</pubDate>
        <dc:creator>Ed Schouten &lt;ed@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>8c444cbc - Simplify syscall generation and ABI source file handling for the build.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#8c444cbc</link>
        <description>Simplify syscall generation and ABI source file handling for the build.This is to make the Makefile more easily extendable for new ABIs.This also makes several other subtle changes:  -  The build now is given a list of ABIs to use based on the MACHINE_ARCH or     MACHINE_CPUARCH.  These ABIs have a related path in sys/ that is used     to generate their syscalls.  For each ABI to build check for a     ABI.c, MACHINE_ARCH-ABI.c, or a MACHINE_CPUARCH-ABI.c.  This matches     the old behavior needed for archs such as powerpc* and mips*.  -  The ABI source file selection allows for simpler assignment of common     ABIs such as &quot;fbsd32&quot; from sys/compat/freebsd32, or cloudabi64.  - Expand &apos;fbsd&apos; to &apos;freebsd&apos; everywhere for consistency.  -  Split out the powerpc-fbsd.c file into a powerpc64-freebsd32.c to be more     like the amd64-freebsd32.c file and to more easily allow the auto-generation     of ABI handling to work.  -  Rename &apos;syscalls.h&apos; to &apos;fbsd_syscalls.h&apos; to lessen the ambiguity and     avoid confusion with syscall.h (such as in r288997).  -  For non-native syscall header files, they are now renamed to be     ABI_syscalls.h, where ABI is what ABI the Makefile is building.  -  Remove all of the makesyscalls config files.  The &quot;native&quot; one being     name i386.conf was a long outstanding bug.  They were all the same     except for the data they generated, so now it is just auto-generated     as a build artifact.  -  The syscalls array is now fixed to be static in the syscalls header to     remove the compiler warning about non-extern.  This was worked around     in the aarch64-fbsd.c file but not the others.  -  All syscall table names are now just &apos;syscallnames&apos; since they don&apos;t     need to be different as they are all static in their own ABI files.  The     alternative is to name them ABI_syscallnames which does not seem     necessary.Reviewed by:	ed, jhbMFC after:	3 weeksDifferential Revision:	https://reviews.freebsd.org/D3851

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Tue, 13 Oct 2015 18:23:51 +0000</pubDate>
        <dc:creator>Bryan Drewery &lt;bdrewery@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>808d9805 - Properly format pointer size independent CloudABI system calls.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#808d9805</link>
        <description>Properly format pointer size independent CloudABI system calls.CloudABI has approximately 50 system calls that do not depend on thepointer size of the system. As the ABI is pretty compact, it takeslittle effort to each truss(8) the formatting rules for these systemcalls. Start off by formatting pointer size independent system calls.Changes:- Make it possible to include the CloudABI system call definitions in  FreeBSD userspace builds. Add ${root}/sys to the truss(8) Makefile so  we can pull in &lt;compat/cloudabi/cloudabi_syscalldefs.h&gt;.- Refactoring: patch up amd64-cloudabi64.c to use the CLOUDABI_*  constants instead of rolling our own table.- Add table entries for all of the system calls.- Add new generic formatting types (UInt, IntArray) that we&apos;ll be using  to format unsigned integers and arrays of integers.- Add CloudABI specific formatting types.Approved by:	jhbDifferential Revision:	https://reviews.freebsd.org/D3836

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Thu, 08 Oct 2015 05:27:45 +0000</pubDate>
        <dc:creator>Ed Schouten &lt;ed@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>195aef99 - truss: Add support for utrace(2).</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#195aef99</link>
        <description>truss: Add support for utrace(2).This uses the kdump(1) utrace support code directly until a common libraryis created.This allows malloc(3) tracing with MALLOC_CONF=utrace:true and rtld tracingwith LD_UTRACE=1.  Unknown utrace(2) data is just printed as hex.PR:		43819 [inspired by]Reviewed by:	jhbMFC after:	2 weeksRelnotes:	yesDifferential Revision:	https://reviews.freebsd.org/D3819

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Tue, 06 Oct 2015 21:58:38 +0000</pubDate>
        <dc:creator>Bryan Drewery &lt;bdrewery@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>2f9ebcc1 - Make truss print CloudABI system call names.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#2f9ebcc1</link>
        <description>Make truss print CloudABI system call names.This change adds the bits that are necessary to fetch system callarguments and return values from trapframes for CloudABI. This allows usto properly print system calls with the right name. We need to make surethat we properly convert error numbers when system calls fail.We still need to improve truss to pretty-print some of the system callsthat have flags.

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Fri, 02 Oct 2015 11:17:15 +0000</pubDate>
        <dc:creator>Ed Schouten &lt;ed@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>728d82cd - Use INCLUDEDIR rather than hard coded /usr/include</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#728d82cd</link>
        <description>Use INCLUDEDIR rather than hard coded /usr/includeDifferential Revision:	D2748Reviewed by:	brooks imp

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Thu, 11 Jun 2015 14:25:53 +0000</pubDate>
        <dc:creator>Simon J. Gerraty &lt;sjg@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>0bc8845f - We no longer need to fiddle with INCLUDEDIR</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/truss/Makefile#0bc8845f</link>
        <description>We no longer need to fiddle with INCLUDEDIR

            List of files:
            /freebsd-14.2/usr.bin/truss/Makefile</description>
        <pubDate>Thu, 09 May 2013 22:28:16 +0000</pubDate>
        <dc:creator>Simon J. Gerraty &lt;sjg@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
