MFH: r278968-r280640
Sponsored by: The FreeBSD Foundation
This commit is contained in:
commit
6681de7bf9
4
Makefile
4
Makefile
@ -165,10 +165,10 @@ _MAKE= PATH=${PATH} ${SUB_MAKE} -f Makefile.inc1 TARGET=${_TARGET} TARGET_ARCH=$
|
||||
|
||||
# Guess machine architecture from machine type, and vice versa.
|
||||
.if !defined(TARGET_ARCH) && defined(TARGET)
|
||||
_TARGET_ARCH= ${TARGET:S/pc98/i386/}
|
||||
_TARGET_ARCH= ${TARGET:S/pc98/i386/:S/arm64/aarch64/}
|
||||
.elif !defined(TARGET) && defined(TARGET_ARCH) && \
|
||||
${TARGET_ARCH} != ${MACHINE_ARCH}
|
||||
_TARGET= ${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb|hf)?/arm/}
|
||||
_TARGET= ${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb|hf)?/arm/:C/aarch64/arm64/:C/powerpc64/powerpc/}
|
||||
.endif
|
||||
.if defined(TARGET) && !defined(_TARGET)
|
||||
_TARGET=${TARGET}
|
||||
|
@ -149,7 +149,7 @@ SRCRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \
|
||||
VERSION= FreeBSD ${REVISION}-${BRANCH:C/-p[0-9]+$//} ${TARGET_ARCH} ${SRCRELDATE}
|
||||
.endif
|
||||
|
||||
KNOWN_ARCHES?= amd64 arm armeb/arm armv6/arm armv6hf/arm i386 i386/pc98 mips mipsel/mips mips64el/mips mips64/mips mipsn32el/mips mipsn32/mips powerpc powerpc64/powerpc sparc64
|
||||
KNOWN_ARCHES?= aarch64/arm64 amd64 arm armeb/arm armv6/arm armv6hf/arm i386 i386/pc98 mips mipsel/mips mips64el/mips mips64/mips mipsn32el/mips mipsn32/mips powerpc powerpc64/powerpc sparc64
|
||||
.if ${TARGET} == ${TARGET_ARCH}
|
||||
_t= ${TARGET}
|
||||
.else
|
||||
@ -209,7 +209,9 @@ INSTALLTMP!= /usr/bin/mktemp -d -u -t install
|
||||
# 1. legacy stage [BMAKE]
|
||||
# This stage is responsible for creating compatibility
|
||||
# shims that are needed by the bootstrap-tools,
|
||||
# build-tools and cross-tools stages.
|
||||
# build-tools and cross-tools stages. These are generally
|
||||
# APIs that tools from one of those three stages need to
|
||||
# build that aren't present on the host.
|
||||
# 1. bootstrap-tools stage [BMAKE]
|
||||
# This stage is responsible for creating programs that
|
||||
# are needed for backward compatibility reasons. They
|
||||
@ -220,7 +222,7 @@ INSTALLTMP!= /usr/bin/mktemp -d -u -t install
|
||||
# the build process.
|
||||
# 3. cross-tools stage [XMAKE]
|
||||
# This stage is responsible for creating any tools that
|
||||
# are needed for cross-builds. A cross-compiler is one
|
||||
# are needed for building the system. A cross-compiler is one
|
||||
# of them.
|
||||
# 4. world stage [WMAKE]
|
||||
# This stage actually builds the world.
|
||||
@ -259,7 +261,8 @@ BMAKE= MAKEOBJDIRPREFIX=${WORLDTMP} \
|
||||
-DNO_PIC MK_PROFILE=no -DNO_SHARED \
|
||||
-DNO_CPU_CFLAGS MK_WARNS=no MK_CTF=no \
|
||||
MK_CLANG_EXTRAS=no MK_CLANG_FULL=no \
|
||||
MK_LLDB=no MK_TESTS=no
|
||||
MK_LLDB=no MK_TESTS=no \
|
||||
MK_INCLUDES=yes
|
||||
|
||||
# build-tools stage
|
||||
TMAKE= MAKEOBJDIRPREFIX=${OBJTREE} \
|
||||
@ -318,6 +321,19 @@ LOCALBASE?= /usr/local
|
||||
CROSS_COMPILER_PREFIX?=${CROSS_TOOLCHAIN_PREFIX}
|
||||
CROSS_BINUTILS_PREFIX?=${CROSS_TOOLCHAIN_PREFIX}
|
||||
.endif
|
||||
|
||||
# If we do not have a bootstrap binutils (because the in-tree one does not
|
||||
# support the target architecture), provide a default cross-binutils prefix.
|
||||
# This allows aarch64 builds, for example, to automatically use the
|
||||
# aarch64-binutils port or package.
|
||||
.if !empty(BROKEN_OPTIONS:MBINUTILS_BOOTSTRAP) && \
|
||||
!defined(CROSS_BINUTILS_PREFIX)
|
||||
CROSS_BINUTILS_PREFIX=/usr/local/${TARGET_ARCH}-freebsd/bin/
|
||||
.if !exists(${CROSS_BINUTILS_PREFIX})
|
||||
.error In-tree binutils does not support the ${TARGET_ARCH} architecture. Install the ${TARGET_ARCH}-binutils port or package or set CROSS_BINUTILS_PREFIX.
|
||||
.endif
|
||||
.endif
|
||||
|
||||
XCOMPILERS= CC CXX CPP
|
||||
.for COMPILER in ${XCOMPILERS}
|
||||
.if defined(CROSS_COMPILER_PREFIX)
|
||||
@ -371,7 +387,13 @@ XCFLAGS+= -target ${TARGET_TRIPLE}
|
||||
XCFLAGS+= --sysroot=${WORLDTMP} ${BFLAGS}
|
||||
XCXXFLAGS+= --sysroot=${WORLDTMP} ${BFLAGS}
|
||||
.endif
|
||||
.else
|
||||
.if defined(CROSS_BINUTILS_PREFIX) && exists(${CROSS_BINUTILS_PREFIX})
|
||||
BFLAGS+= -B${CROSS_BINUTILS_PREFIX}
|
||||
XCFLAGS+= ${BFLAGS}
|
||||
XCXXFLAGS+= ${BFLAGS}
|
||||
.endif
|
||||
.endif # ${XCC:M/*}
|
||||
|
||||
WMAKE= ${WMAKEENV} ${MAKE} ${WORLD_FLAGS} -f Makefile.inc1 DESTDIR=${WORLDTMP}
|
||||
|
||||
@ -1202,7 +1224,9 @@ update:
|
||||
#
|
||||
|
||||
#
|
||||
# legacy: Build compatibility shims for the next three targets
|
||||
# legacy: Build compatibility shims for the next three targets. This is a minimal
|
||||
# set of tools and shims necessary to compensate for older systems which don't have
|
||||
# the APIs that the targets built in bootstrap-tools, build-tools or cross-tools.
|
||||
#
|
||||
legacy:
|
||||
.if ${BOOTSTRAPPING} < 800107 && ${BOOTSTRAPPING} != 0
|
||||
@ -1220,8 +1244,13 @@ legacy:
|
||||
.endfor
|
||||
|
||||
#
|
||||
# bootstrap-tools: Build tools needed for compatibility
|
||||
# bootstrap-tools: Build tools needed for compatibility. These are binaries that
|
||||
# are built to build other binaries in the system. However, the focus of these
|
||||
# binaries is usually quite narrow. Bootstrap tools use the host's compiler and
|
||||
# libraries, augmented by -legacy.
|
||||
#
|
||||
_bt= _bootstrap-tools
|
||||
|
||||
.if ${MK_GAMES} != "no"
|
||||
_strfile= games/fortune/strfile
|
||||
.endif
|
||||
@ -1245,11 +1274,8 @@ _sed= usr.bin/sed
|
||||
.if ${BOOTSTRAPPING} < 1000002
|
||||
_m4= lib/libohash \
|
||||
usr.bin/m4
|
||||
.endif
|
||||
|
||||
.if ${BOOTSTRAPPING} < 1000013
|
||||
_yacc= lib/liby \
|
||||
usr.bin/yacc
|
||||
${_bt}-usr.bin/m4: ${_bt}-lib/libohash
|
||||
.endif
|
||||
|
||||
.if ${BOOTSTRAPPING} < 1000014
|
||||
@ -1259,6 +1285,8 @@ _crunch= usr.sbin/crunch
|
||||
.if ${BOOTSTRAPPING} < 1000026
|
||||
_nmtree= lib/libnetbsd \
|
||||
usr.sbin/nmtree
|
||||
|
||||
${_bt}-usr.sbin/nmtree: ${_bt}-lib/libnetbsd
|
||||
.endif
|
||||
|
||||
.if ${BOOTSTRAPPING} < 1000027
|
||||
@ -1273,6 +1301,13 @@ _lex= usr.bin/lex
|
||||
_awk= usr.bin/awk
|
||||
.endif
|
||||
|
||||
.if ${BOOTSTRAPPING} < 1001506
|
||||
_yacc= lib/liby \
|
||||
usr.bin/yacc
|
||||
|
||||
${_bt}-usr.bin/yacc: ${_bt}-lib/liby
|
||||
.endif
|
||||
|
||||
.if ${MK_BSNMP} != "no"
|
||||
_gensnmptree= usr.sbin/bsnmpd/gensnmptree
|
||||
.endif
|
||||
@ -1285,6 +1320,9 @@ _clang_tblgen= \
|
||||
lib/clang/libllvmtablegen \
|
||||
usr.bin/clang/tblgen \
|
||||
usr.bin/clang/clang-tblgen
|
||||
|
||||
${_bt}-usr.bin/clang/clang-tblgen: ${_bt}-lib/clang/libllvmtablegen ${_bt}-lib/clang/libllvmsupport
|
||||
${_bt}-usr.bin/clang/tblgen: ${_bt}-lib/clang/libllvmtablegen ${_bt}-lib/clang/libllvmsupport
|
||||
.endif
|
||||
|
||||
# ELF Tool Chain libraries are needed for ELF tools and dtrace tools.
|
||||
@ -1296,6 +1334,9 @@ _elftoolchain_libs= lib/libelf lib/libdwarf
|
||||
.if ${MK_CDDL} != "no"
|
||||
_dtrace_tools= cddl/usr.bin/sgsmsg cddl/lib/libctf cddl/usr.bin/ctfconvert \
|
||||
cddl/usr.bin/ctfmerge
|
||||
|
||||
${_bt}-cddl/usr.bin/ctfconvert: ${_bt}-lib/libelf ${_bt}-lib/libdwarf ${_bt}-cddl/lib/libctf
|
||||
${_bt}-cddl/usr.bin/ctfmerge: ${_bt}-lib/libelf ${_bt}-lib/libdwarf ${_bt}-cddl/lib/libctf
|
||||
.endif
|
||||
.endif
|
||||
|
||||
@ -1314,12 +1355,16 @@ _kerberos5_bootstrap_tools= \
|
||||
kerberos5/tools/asn1_compile \
|
||||
kerberos5/tools/slc \
|
||||
usr.bin/compile_et
|
||||
|
||||
${_bt}-kerberos5/tools/slc: ${_bt}-kerberos5/lib/libroken
|
||||
${_bt}-kerberos5/tools/asn1_compile: ${_bt}-kerberos5/lib/libroken
|
||||
.endif
|
||||
|
||||
bootstrap-tools: .PHONY
|
||||
|
||||
# Please document (add comment) why something is in 'bootstrap-tools'.
|
||||
# Try to bound the building of the bootstrap-tool to just the
|
||||
# FreeBSD versions that need the tool built at this stage of the build.
|
||||
bootstrap-tools: .MAKE
|
||||
.for _tool in \
|
||||
${_clang_tblgen} \
|
||||
${_kerberos5_bootstrap_tools} \
|
||||
@ -1345,12 +1390,15 @@ bootstrap-tools: .MAKE
|
||||
${_crunch} \
|
||||
${_nmtree} \
|
||||
${_vtfontcvt}
|
||||
${_bt}-${_tool}: .PHONY .MAKE
|
||||
${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \
|
||||
cd ${.CURDIR}/${_tool} && \
|
||||
${MAKE} DIRPRFX=${_tool}/ obj && \
|
||||
${MAKE} DIRPRFX=${_tool}/ depend && \
|
||||
${MAKE} DIRPRFX=${_tool}/ all && \
|
||||
${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX}/legacy install
|
||||
|
||||
bootstrap-tools: ${_bt}-${_tool}
|
||||
.endfor
|
||||
|
||||
#
|
||||
@ -1405,7 +1453,9 @@ kernel-tools: .MAKE
|
||||
-p ${MAKEOBJDIRPREFIX}/usr >/dev/null
|
||||
|
||||
#
|
||||
# cross-tools: Build cross-building tools
|
||||
# cross-tools: All the tools needed to build the rest of the system after
|
||||
# we get done with the earlier stages. It is the last set of tools needed
|
||||
# to begin building the target binaries.
|
||||
#
|
||||
.if ${TARGET_ARCH} != ${MACHINE_ARCH}
|
||||
.if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "i386"
|
||||
@ -1436,6 +1486,11 @@ _elftctools= lib/libelftc \
|
||||
# cross-build on a FreeBSD 10 host:
|
||||
_elftctools+= usr.bin/addr2line
|
||||
.endif
|
||||
.elif ${TARGET_ARCH} != ${MACHINE_ARCH} && ${MK_ELFTOOLCHAIN_TOOLS} != "no"
|
||||
# If cross-building with an external binutils we still need to build strip for
|
||||
# the target (for at least crunchide).
|
||||
_elftctools= lib/libelftc \
|
||||
usr.bin/elfcopy
|
||||
.endif
|
||||
|
||||
# If an full path to an external cross compiler is given, don't build
|
||||
@ -1457,7 +1512,6 @@ cross-tools: .MAKE
|
||||
${_binutils} \
|
||||
${_elftctools} \
|
||||
${_cc} \
|
||||
usr.bin/xlint/lint1 usr.bin/xlint/lint2 usr.bin/xlint/xlint \
|
||||
${_btxld} \
|
||||
${_crunchide} \
|
||||
${_kgzip} \
|
||||
@ -1646,6 +1700,10 @@ gnu/lib/libstdc++__L: lib/msun__L
|
||||
gnu/lib/libsupc++__L: gnu/lib/libstdc++__L
|
||||
.endif
|
||||
|
||||
.if ${MK_LIBCPLUSPLUS} != "no"
|
||||
_prebuild_libs+= lib/libc++
|
||||
.endif
|
||||
|
||||
lib/libgeom__L: lib/libexpat__L
|
||||
|
||||
.if ${MK_LIBTHR} != "no"
|
||||
|
@ -38,6 +38,70 @@
|
||||
# xargs -n1 | sort | uniq -d;
|
||||
# done
|
||||
|
||||
# 20150315: new clang import which bumps version from 3.5.1 to 3.6.0.
|
||||
OLD_FILES+=usr/include/clang/3.5.1/__wmmintrin_aes.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/__wmmintrin_pclmul.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/altivec.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/ammintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/arm_acle.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/arm_neon.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/avx2intrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/avxintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/bmi2intrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/bmiintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/cpuid.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/emmintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/f16cintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/fma4intrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/fmaintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/ia32intrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/immintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/lzcntintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/mm3dnow.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/mm_malloc.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/mmintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/module.modulemap
|
||||
OLD_FILES+=usr/include/clang/3.5.1/nmmintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/pmmintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/popcntintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/prfchwintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/rdseedintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/rtmintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/shaintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/smmintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/tbmintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/tmmintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/wmmintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/x86intrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/xmmintrin.h
|
||||
OLD_FILES+=usr/include/clang/3.5.1/xopintrin.h
|
||||
OLD_DIRS+=usr/include/clang/3.5.1
|
||||
OLD_DIRS+=usr/include/clang
|
||||
OLD_FILES+=usr/lib/clang/3.5.1/lib/freebsd/libclang_rt.asan-i386.a
|
||||
OLD_FILES+=usr/lib/clang/3.5.1/lib/freebsd/libclang_rt.asan-x86_64.a
|
||||
OLD_FILES+=usr/lib/clang/3.5.1/lib/freebsd/libclang_rt.asan_cxx-i386.a
|
||||
OLD_FILES+=usr/lib/clang/3.5.1/lib/freebsd/libclang_rt.asan_cxx-x86_64.a
|
||||
OLD_FILES+=usr/lib/clang/3.5.1/lib/freebsd/libclang_rt.profile-arm.a
|
||||
OLD_FILES+=usr/lib/clang/3.5.1/lib/freebsd/libclang_rt.profile-i386.a
|
||||
OLD_FILES+=usr/lib/clang/3.5.1/lib/freebsd/libclang_rt.profile-x86_64.a
|
||||
OLD_FILES+=usr/lib/clang/3.5.1/lib/freebsd/libclang_rt.san-i386.a
|
||||
OLD_FILES+=usr/lib/clang/3.5.1/lib/freebsd/libclang_rt.san-x86_64.a
|
||||
OLD_FILES+=usr/lib/clang/3.5.1/lib/freebsd/libclang_rt.ubsan-i386.a
|
||||
OLD_FILES+=usr/lib/clang/3.5.1/lib/freebsd/libclang_rt.ubsan-x86_64.a
|
||||
OLD_FILES+=usr/lib/clang/3.5.1/lib/freebsd/libclang_rt.ubsan_cxx-i386.a
|
||||
OLD_FILES+=usr/lib/clang/3.5.1/lib/freebsd/libclang_rt.ubsan_cxx-x86_64.a
|
||||
OLD_DIRS+=usr/lib/clang/3.5.1/lib/freebsd
|
||||
OLD_DIRS+=usr/lib/clang/3.5.1/lib
|
||||
OLD_DIRS+=usr/lib/clang/3.5.1
|
||||
# 20150302: binutils documentation distributed as a manpage
|
||||
OLD_FILES+=usr/share/doc/binutils/as.txt
|
||||
OLD_FILES+=usr/share/doc/binutils/ld.txt
|
||||
OLD_DIRS+=usr/share/doc/binutils
|
||||
# 20150222: Removed bcd(6) and ppt(6)
|
||||
OLD_FILES+=usr/bin/bcd
|
||||
OLD_FILES+=usr/bin/ppt
|
||||
OLD_FILES+=usr/share/man/man6/bcd.6.gz
|
||||
OLD_FILES+=usr/share/man/man6/ppt.6.gz
|
||||
# 20150217: Removed remnants of ar(4) driver
|
||||
OLD_FILES+=usr/include/sys/dev/ic/hd64570.h
|
||||
# 20150212: /usr/games moving into /usr/bin
|
||||
|
21
UPDATING
21
UPDATING
@ -31,13 +31,30 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11.x IS SLOW:
|
||||
disable the most expensive debugging functionality run
|
||||
"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
|
||||
|
||||
20150324:
|
||||
From legacy ata(4) driver was removed support for SATA controllers
|
||||
supported by more functional drivers ahci(4), siis(4) and mvs(4).
|
||||
Kernel modules ataahci and ataadaptec were removed completely,
|
||||
replaced by ahci and mvs modules respectively.
|
||||
|
||||
20150315:
|
||||
Clang, llvm and lldb have been upgraded to 3.6.0 release. Please see
|
||||
the 20141231 entry below for information about prerequisites and
|
||||
upgrading, if you are not already using 3.5.0 or higher.
|
||||
|
||||
20150307:
|
||||
The 32-bit PowerPC kernel has been changed to a position-independent
|
||||
executable. This can only be booted with a version of loader(8)
|
||||
newer than January 31, 2015, so make sure to update both world and
|
||||
kernel before rebooting.
|
||||
|
||||
20150217:
|
||||
If you are running a -CURRENT kernel since r273872 (Oct 30th, 2014),
|
||||
but before r278950, the RNG was not seeded properly. Immediately
|
||||
upgrade the kernel to r278950 or later and regenerate any keys (e.g.
|
||||
ssh keys or openssl keys) that were generated w/ a kernel from that
|
||||
range. This does not effect programs that directly used /dev/random
|
||||
or /dev/urandom. All userland uses of arc4random(3) are effected.
|
||||
range. This does not affect programs that directly used /dev/random
|
||||
or /dev/urandom. All userland uses of arc4random(3) are affected.
|
||||
|
||||
20150210:
|
||||
The autofs(4) ABI was changed in order to restore binary compatibility
|
||||
|
@ -342,7 +342,7 @@ setfile(struct stat *fs, int fd)
|
||||
|
||||
tspec[0] = fs->st_atim;
|
||||
tspec[1] = fs->st_mtim;
|
||||
if (utimensat(AT_FDCWD, to.p_path, tspec,
|
||||
if (fdval ? futimens(fd, tspec) : utimensat(AT_FDCWD, to.p_path, tspec,
|
||||
islink ? AT_SYMLINK_NOFOLLOW : 0)) {
|
||||
warn("utimensat: %s", to.p_path);
|
||||
rval = 1;
|
||||
|
@ -6,6 +6,9 @@ PROG= expr
|
||||
SRCS= expr.y
|
||||
YFLAGS=
|
||||
|
||||
# expr relies on signed integer wrapping
|
||||
CFLAGS+= -fwrapv
|
||||
|
||||
NO_WMISSING_VARIABLE_DECLARATIONS=
|
||||
|
||||
.if ${MK_TESTS} != "no"
|
||||
|
@ -56,7 +56,6 @@ __FBSDID("$FreeBSD$");
|
||||
#ifdef SHELL
|
||||
#define main killcmd
|
||||
#include "bltin/bltin.h"
|
||||
#include "error.h"
|
||||
#endif
|
||||
|
||||
static void nosig(const char *);
|
||||
|
@ -352,7 +352,7 @@ err: if (unlink(to))
|
||||
|
||||
ts[0] = sbp->st_atim;
|
||||
ts[1] = sbp->st_mtim;
|
||||
if (utimensat(AT_FDCWD, to, ts, 0))
|
||||
if (futimens(to_fd, ts))
|
||||
warn("%s: set times", to);
|
||||
|
||||
if (close(to_fd)) {
|
||||
|
@ -82,7 +82,7 @@ static int wr_trail = 1; /* trailer was rewritten in append */
|
||||
static int can_unlnk = 0; /* do we unlink null archives? */
|
||||
const char *arcname; /* printable name of archive */
|
||||
const char *gzip_program; /* name of gzip program */
|
||||
static pid_t zpid = -1; /* pid of child process */
|
||||
static pid_t zpid = -1; /* pid of child process */
|
||||
|
||||
static int get_phys(void);
|
||||
static void ar_start_gzip(int, const char *, int);
|
||||
@ -1123,7 +1123,7 @@ ar_next(void)
|
||||
if (sigprocmask(SIG_SETMASK, &o_mask, NULL) < 0)
|
||||
syswarn(0, errno, "Unable to restore signal mask");
|
||||
|
||||
if (done || !wr_trail || strcmp(NM_TAR, argv0) == 0)
|
||||
if (done || !wr_trail || Oflag || strcmp(NM_TAR, argv0) == 0)
|
||||
return(-1);
|
||||
|
||||
tty_prnt("\nATTENTION! %s archive volume change required.\n", argv0);
|
||||
|
@ -217,6 +217,7 @@ extern int vflag;
|
||||
extern int Dflag;
|
||||
extern int Hflag;
|
||||
extern int Lflag;
|
||||
extern int Oflag;
|
||||
extern int Xflag;
|
||||
extern int Yflag;
|
||||
extern int Zflag;
|
||||
|
@ -194,7 +194,7 @@ pax_options(int argc, char **argv)
|
||||
/*
|
||||
* process option flags
|
||||
*/
|
||||
while ((c=getopt(argc,argv,"ab:cdf:iklno:p:rs:tuvwx:zB:DE:G:HLPT:U:XYZ"))
|
||||
while ((c=getopt(argc,argv,"ab:cdf:iklno:p:rs:tuvwx:zB:DE:G:HLOPT:U:XYZ"))
|
||||
!= -1) {
|
||||
switch (c) {
|
||||
case 'a':
|
||||
@ -447,6 +447,12 @@ pax_options(int argc, char **argv)
|
||||
Lflag = 1;
|
||||
flg |= CLF;
|
||||
break;
|
||||
case 'O':
|
||||
/*
|
||||
* Force one volume. Non standard option.
|
||||
*/
|
||||
Oflag = 1;
|
||||
break;
|
||||
case 'P':
|
||||
/*
|
||||
* do NOT follow symlinks (default)
|
||||
@ -584,7 +590,7 @@ tar_options(int argc, char **argv)
|
||||
{
|
||||
int c;
|
||||
int fstdin = 0;
|
||||
int Oflag = 0;
|
||||
int tar_Oflag = 0;
|
||||
int nincfiles = 0;
|
||||
int incfiles_max = 0;
|
||||
struct incfile {
|
||||
@ -664,7 +670,7 @@ tar_options(int argc, char **argv)
|
||||
if (opt_add("write_opt=nodir") < 0)
|
||||
tar_usage();
|
||||
case 'O':
|
||||
Oflag = 1;
|
||||
tar_Oflag = 1;
|
||||
break;
|
||||
case 'p':
|
||||
/*
|
||||
@ -820,8 +826,8 @@ tar_options(int argc, char **argv)
|
||||
* (unless -o specified)
|
||||
*/
|
||||
if (act == ARCHIVE || act == APPND)
|
||||
frmt = &(fsub[Oflag ? F_OTAR : F_TAR]);
|
||||
else if (Oflag) {
|
||||
frmt = &(fsub[tar_Oflag ? F_OTAR : F_TAR]);
|
||||
else if (tar_Oflag) {
|
||||
paxwarn(1, "The -O/-o options are only valid when writing an archive");
|
||||
tar_usage(); /* only valid when writing */
|
||||
}
|
||||
@ -1526,25 +1532,25 @@ no_op(void)
|
||||
void
|
||||
pax_usage(void)
|
||||
{
|
||||
(void)fputs("usage: pax [-cdnvz] [-E limit] [-f archive] ", stderr);
|
||||
(void)fputs("usage: pax [-cdnOvz] [-E limit] [-f archive] ", stderr);
|
||||
(void)fputs("[-s replstr] ... [-U user] ...", stderr);
|
||||
(void)fputs("\n [-G group] ... ", stderr);
|
||||
(void)fputs("[-T [from_date][,to_date]] ... ", stderr);
|
||||
(void)fputs("[pattern ...]\n", stderr);
|
||||
(void)fputs(" pax -r [-cdiknuvzDYZ] [-E limit] ", stderr);
|
||||
(void)fputs(" pax -r [-cdiknOuvzDYZ] [-E limit] ", stderr);
|
||||
(void)fputs("[-f archive] [-o options] ... \n", stderr);
|
||||
(void)fputs(" [-p string] ... [-s replstr] ... ", stderr);
|
||||
(void)fputs("[-U user] ... [-G group] ...\n ", stderr);
|
||||
(void)fputs("[-T [from_date][,to_date]] ... ", stderr);
|
||||
(void)fputs(" [pattern ...]\n", stderr);
|
||||
(void)fputs(" pax -w [-dituvzHLPX] [-b blocksize] ", stderr);
|
||||
(void)fputs(" pax -w [-dituvzHLOPX] [-b blocksize] ", stderr);
|
||||
(void)fputs("[ [-a] [-f archive] ] [-x format] \n", stderr);
|
||||
(void)fputs(" [-B bytes] [-s replstr] ... ", stderr);
|
||||
(void)fputs("[-o options] ... [-U user] ...", stderr);
|
||||
(void)fputs("\n [-G group] ... ", stderr);
|
||||
(void)fputs("[-T [from_date][,to_date][/[c][m]]] ... ", stderr);
|
||||
(void)fputs("[file ...]\n", stderr);
|
||||
(void)fputs(" pax -r -w [-diklntuvDHLPXYZ] ", stderr);
|
||||
(void)fputs(" pax -r -w [-diklntuvDHLOPXYZ] ", stderr);
|
||||
(void)fputs("[-p string] ... [-s replstr] ...", stderr);
|
||||
(void)fputs("\n [-U user] ... [-G group] ... ", stderr);
|
||||
(void)fputs("[-T [from_date][,to_date][/[c][m]]] ... ", stderr);
|
||||
|
@ -33,7 +33,7 @@
|
||||
.\" @(#)pax.1 8.4 (Berkeley) 4/18/94
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd December 21, 2013
|
||||
.Dd March 17, 2015
|
||||
.Dt PAX 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -41,7 +41,7 @@
|
||||
.Nd read and write file archives and copy directory hierarchies
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl cdnvz
|
||||
.Op Fl cdnvzO
|
||||
.Bk -words
|
||||
.Op Fl f Ar archive
|
||||
.Ek
|
||||
@ -68,7 +68,7 @@
|
||||
.Op Ar pattern ...\&
|
||||
.Nm
|
||||
.Fl r
|
||||
.Op Fl cdiknuvzDYZ
|
||||
.Op Fl cdiknuvzDOYZ
|
||||
.Bk -words
|
||||
.Op Fl f Ar archive
|
||||
.Ek
|
||||
@ -104,7 +104,7 @@
|
||||
.Op Ar pattern ...\&
|
||||
.Nm
|
||||
.Fl w
|
||||
.Op Fl dituvzHLPX
|
||||
.Op Fl dituvzHLOPX
|
||||
.Bk -words
|
||||
.Op Fl b Ar blocksize
|
||||
.Ek
|
||||
@ -147,7 +147,7 @@
|
||||
.Nm
|
||||
.Fl r
|
||||
.Fl w
|
||||
.Op Fl diklntuvDHLPXYZ
|
||||
.Op Fl diklntuvDHLOPXYZ
|
||||
.Bk -words
|
||||
.Op Fl p Ar string
|
||||
.Ar ...\&
|
||||
@ -853,6 +853,13 @@ Follow only command line symbolic links while performing a physical file
|
||||
system traversal.
|
||||
.It Fl L
|
||||
Follow all symbolic links to perform a logical file system traversal.
|
||||
.It Fl O
|
||||
Force the archive to be one volume.
|
||||
If a volume ends prematurely,
|
||||
.Nm
|
||||
will not prompt for a new volume.
|
||||
This option can be useful for
|
||||
automated tasks where error recovery cannot be performed by a human.
|
||||
.It Fl P
|
||||
Do not follow symbolic links, perform a physical file system traversal.
|
||||
This is the default mode.
|
||||
@ -1176,6 +1183,7 @@ The options
|
||||
.Fl G ,
|
||||
.Fl H ,
|
||||
.Fl L ,
|
||||
.Fl O ,
|
||||
.Fl P ,
|
||||
.Fl T ,
|
||||
.Fl U ,
|
||||
|
@ -85,6 +85,7 @@ int vflag; /* produce verbose output */
|
||||
int Dflag; /* same as uflag except inode change time */
|
||||
int Hflag; /* follow command line symlinks (write only) */
|
||||
int Lflag; /* follow symlinks when writing */
|
||||
int Oflag; /* limit to single volume */
|
||||
int Xflag; /* archive files with same device id only */
|
||||
int Yflag; /* same as Dflg except after name mode */
|
||||
int Zflag; /* same as uflg except after name mode */
|
||||
|
@ -4,7 +4,7 @@
|
||||
jail_name_to_jid()
|
||||
{
|
||||
local check_name="$1"
|
||||
jls -j "$check_name" -s 2>/dev/null | tr ' ' '\n' | grep jid= | sed -e 's/.*=//g'
|
||||
jls -j "$check_name" -s | tr ' ' '\n' | grep jid= | sed -e 's/.*=//g'
|
||||
}
|
||||
|
||||
base=pgrep_j_test
|
||||
@ -38,6 +38,7 @@ for i in `seq 1 10`; do
|
||||
esac
|
||||
sleep 0.1
|
||||
done
|
||||
sleep 0.5
|
||||
|
||||
pid1="$(pgrep -f -x -j "$jid" "$sleep $sleep_amount" | sort)"
|
||||
pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_1_1.pid)" \
|
||||
|
@ -4,7 +4,7 @@
|
||||
jail_name_to_jid()
|
||||
{
|
||||
local check_name="$1"
|
||||
jls -j "$check_name" -s 2>/dev/null | tr ' ' '\n' | grep jid= | sed -e 's/.*=//g'
|
||||
jls -j "$check_name" -s | tr ' ' '\n' | grep jid= | sed -e 's/.*=//g'
|
||||
}
|
||||
|
||||
base=pkill_j_test
|
||||
@ -40,6 +40,7 @@ for i in `seq 1 10`; do
|
||||
esac
|
||||
sleep 0.1
|
||||
done
|
||||
sleep 0.5
|
||||
|
||||
if pkill -f -j "$jid" $sleep && sleep 0.5 &&
|
||||
! -f ${PWD}/${base}_1_1.pid &&
|
||||
|
@ -383,7 +383,6 @@ started(KINFO *k, VARENT *ve __unused)
|
||||
{
|
||||
time_t then;
|
||||
struct tm *tp;
|
||||
static int use_ampm = -1;
|
||||
size_t buflen = 100;
|
||||
char *buf;
|
||||
|
||||
@ -394,16 +393,12 @@ started(KINFO *k, VARENT *ve __unused)
|
||||
if (buf == NULL)
|
||||
errx(1, "malloc failed");
|
||||
|
||||
if (use_ampm < 0)
|
||||
use_ampm = (*nl_langinfo(T_FMT_AMPM) != '\0');
|
||||
then = k->ki_p->ki_start.tv_sec;
|
||||
tp = localtime(&then);
|
||||
if (now - k->ki_p->ki_start.tv_sec < 24 * 3600) {
|
||||
(void)strftime(buf, buflen,
|
||||
use_ampm ? "%l:%M%p" : "%k:%M ", tp);
|
||||
(void)strftime(buf, buflen, "%H:%M ", tp);
|
||||
} else if (now - k->ki_p->ki_start.tv_sec < 7 * 86400) {
|
||||
(void)strftime(buf, buflen,
|
||||
use_ampm ? "%a%I%p" : "%a%H ", tp);
|
||||
(void)strftime(buf, buflen, "%a%H ", tp);
|
||||
} else
|
||||
(void)strftime(buf, buflen, "%e%b%y", tp);
|
||||
return (buf);
|
||||
|
@ -381,12 +381,12 @@ the real memory (resident set) size of the process (in 1024 byte units).
|
||||
The time the command started.
|
||||
If the command started less than 24 hours ago, the start time is
|
||||
displayed using the
|
||||
.Dq Li %l:ps.1p
|
||||
.Dq Li %H:%M
|
||||
format described in
|
||||
.Xr strftime 3 .
|
||||
If the command started less than 7 days ago, the start time is
|
||||
displayed using the
|
||||
.Dq Li %a6.15p
|
||||
.Dq Li %a%H
|
||||
format.
|
||||
Otherwise, the start time is displayed using the
|
||||
.Dq Li %e%b%y
|
||||
|
@ -7,6 +7,5 @@ CFLAGS+=-DBINDIR=${BINDIR}
|
||||
|
||||
BINOWN= root
|
||||
BINMODE=4555
|
||||
PRECIOUSPROG=
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -81,6 +81,8 @@
|
||||
#define ARITH_QMARK 37
|
||||
#define ARITH_COLON 38
|
||||
|
||||
extern const char *arith_buf;
|
||||
|
||||
union yystype {
|
||||
arith_t val;
|
||||
char *name;
|
||||
|
@ -50,8 +50,6 @@ __FBSDID("$FreeBSD$");
|
||||
#error Arithmetic tokens are out of order.
|
||||
#endif
|
||||
|
||||
extern const char *arith_buf;
|
||||
|
||||
int
|
||||
yylex(void)
|
||||
{
|
||||
|
@ -42,6 +42,7 @@
|
||||
#include "../shell.h"
|
||||
#include "../mystring.h"
|
||||
#ifdef SHELL
|
||||
#include "../error.h"
|
||||
#include "../output.h"
|
||||
#include "builtins.h"
|
||||
#define FILE struct output
|
||||
@ -73,7 +74,6 @@
|
||||
#include <unistd.h>
|
||||
|
||||
pointer stalloc(int);
|
||||
void error(const char *, ...) __printf0like(1, 2);
|
||||
int killjob(const char *, int);
|
||||
|
||||
extern char *commandname;
|
||||
|
@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
|
||||
*/
|
||||
|
||||
#include "shell.h"
|
||||
#include "eval.h"
|
||||
#include "main.h"
|
||||
#include "options.h"
|
||||
#include "output.h"
|
||||
@ -64,7 +65,6 @@ struct jmploc *handler;
|
||||
volatile sig_atomic_t exception;
|
||||
volatile sig_atomic_t suppressint;
|
||||
volatile sig_atomic_t intpending;
|
||||
char *commandname;
|
||||
|
||||
|
||||
static void exverror(int, const char *, va_list) __printf0like(2, 0) __dead2;
|
||||
|
@ -149,7 +149,7 @@ evalcmd(int argc, char **argv)
|
||||
*/
|
||||
|
||||
void
|
||||
evalstring(char *s, int flags)
|
||||
evalstring(const char *s, int flags)
|
||||
{
|
||||
union node *n;
|
||||
struct stackmark smark;
|
||||
|
@ -53,7 +53,7 @@ void reseteval(void);
|
||||
#define EV_TESTED 02 /* exit status is checked; ignore -e flag */
|
||||
#define EV_BACKCMD 04 /* command executing within back quotes */
|
||||
|
||||
void evalstring(char *, int);
|
||||
void evalstring(const char *, int);
|
||||
union node; /* BLETCH for ansi C */
|
||||
void evaltree(union node *, int);
|
||||
void evalbackcmd(union node *, struct backcmd *);
|
||||
|
@ -635,7 +635,7 @@ evalvar(char *p, int flag)
|
||||
int varlenb;
|
||||
int easy;
|
||||
int quotes = flag & (EXP_FULL | EXP_CASE);
|
||||
int record;
|
||||
int record = 0;
|
||||
|
||||
varflags = (unsigned char)*p++;
|
||||
subtype = varflags & VSTYPE;
|
||||
|
@ -338,8 +338,8 @@ histcmd(int argc, char **argv __unused)
|
||||
out1fmt("%5d ", he.num);
|
||||
out1str(he.str);
|
||||
} else {
|
||||
char *s = pat ?
|
||||
fc_replace(he.str, pat, repl) : (char *)he.str;
|
||||
const char *s = pat ?
|
||||
fc_replace(he.str, pat, repl) : he.str;
|
||||
|
||||
if (sflg) {
|
||||
if (displayhist) {
|
||||
@ -477,7 +477,7 @@ bindcmd(int argc, char **argv)
|
||||
|
||||
if (el == NULL)
|
||||
error("line editing is disabled");
|
||||
return (el_parse(el, argc, (const char **)argv));
|
||||
return (el_parse(el, argc, __DECONST(const char **, argv)));
|
||||
}
|
||||
|
||||
#else
|
||||
|
@ -232,7 +232,7 @@ fgcmd(int argc __unused, char **argv __unused)
|
||||
|
||||
|
||||
int
|
||||
bgcmd(int argc, char **argv)
|
||||
bgcmd(int argc __unused, char **argv __unused)
|
||||
{
|
||||
struct job *jp;
|
||||
|
||||
|
@ -204,7 +204,7 @@ parsefield(void)
|
||||
}
|
||||
|
||||
|
||||
char writer[] = "\
|
||||
static const char writer[] = "\
|
||||
/*\n\
|
||||
* This file was generated by the mknodes program.\n\
|
||||
*/\n\
|
||||
|
@ -60,7 +60,7 @@ struct synclass {
|
||||
};
|
||||
|
||||
/* Syntax classes */
|
||||
struct synclass synclass[] = {
|
||||
static const struct synclass synclass[] = {
|
||||
{ "CWORD", "character is nothing special" },
|
||||
{ "CNL", "newline character" },
|
||||
{ "CBACK", "a backslash character" },
|
||||
@ -85,7 +85,7 @@ struct synclass synclass[] = {
|
||||
* Syntax classes for is_ functions. Warning: if you add new classes
|
||||
* you may have to change the definition of the is_in_name macro.
|
||||
*/
|
||||
struct synclass is_entry[] = {
|
||||
static const struct synclass is_entry[] = {
|
||||
{ "ISDIGIT", "a digit" },
|
||||
{ "ISUPPER", "an upper case letter" },
|
||||
{ "ISLOWER", "a lower case letter" },
|
||||
@ -94,7 +94,7 @@ struct synclass is_entry[] = {
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
static char writer[] = "\
|
||||
static const char writer[] = "\
|
||||
/*\n\
|
||||
* This file was generated by the mksyntax program.\n\
|
||||
*/\n\
|
||||
|
@ -74,11 +74,11 @@ exec > token.h
|
||||
awk '{print "#define " $1 " " NR-1}' $temp
|
||||
echo '
|
||||
/* Array indicating which tokens mark the end of a list */
|
||||
const char tokendlist[] = {'
|
||||
static const char tokendlist[] = {'
|
||||
awk '{print "\t" $2 ","}' $temp
|
||||
echo '};
|
||||
|
||||
const char *const tokname[] = {'
|
||||
static const char *const tokname[] = {'
|
||||
sed -e 's/"/\\"/g' \
|
||||
-e 's/[^ ]*[ ][ ]*[^ ]*[ ][ ]*\(.*\)/ "\1",/' \
|
||||
$temp
|
||||
|
@ -465,7 +465,7 @@ getopts(char *optstr, char *optvar, char **optfirst, char ***optnext,
|
||||
int ind = 0;
|
||||
int err = 0;
|
||||
char s[10];
|
||||
const char *optarg = NULL;
|
||||
const char *newoptarg = NULL;
|
||||
|
||||
if ((p = *optptr) == NULL || *p == '\0') {
|
||||
/* Current word is done, advance */
|
||||
@ -491,7 +491,7 @@ atend:
|
||||
if (optstr[0] == ':') {
|
||||
s[0] = c;
|
||||
s[1] = '\0';
|
||||
optarg = s;
|
||||
newoptarg = s;
|
||||
}
|
||||
else
|
||||
out2fmt_flush("Illegal option -%c\n", c);
|
||||
@ -507,7 +507,7 @@ atend:
|
||||
if (optstr[0] == ':') {
|
||||
s[0] = c;
|
||||
s[1] = '\0';
|
||||
optarg = s;
|
||||
newoptarg = s;
|
||||
c = ':';
|
||||
}
|
||||
else {
|
||||
@ -519,7 +519,7 @@ atend:
|
||||
|
||||
if (p == **optnext)
|
||||
(*optnext)++;
|
||||
optarg = p;
|
||||
newoptarg = p;
|
||||
p = NULL;
|
||||
}
|
||||
|
||||
@ -527,8 +527,8 @@ out:
|
||||
if (*optnext != NULL)
|
||||
ind = *optnext - optfirst + 1;
|
||||
*optptr = p;
|
||||
if (optarg != NULL)
|
||||
err |= setvarsafe("OPTARG", optarg, 0);
|
||||
if (newoptarg != NULL)
|
||||
err |= setvarsafe("OPTARG", newoptarg, 0);
|
||||
else {
|
||||
INTOFF;
|
||||
err |= unsetvar("OPTARG");
|
||||
|
@ -73,6 +73,7 @@ struct optent {
|
||||
char val;
|
||||
};
|
||||
|
||||
extern struct optent optlist[NOPTS];
|
||||
#ifdef DEFINE_OPTIONS
|
||||
struct optent optlist[NOPTS] = {
|
||||
{ "errexit", 'e', 0 },
|
||||
@ -95,8 +96,6 @@ struct optent optlist[NOPTS] = {
|
||||
{ "physical", 'P', 0 },
|
||||
{ "trackall", 'h', 0 },
|
||||
};
|
||||
#else
|
||||
extern struct optent optlist[NOPTS];
|
||||
#endif
|
||||
|
||||
|
||||
|
21
bin/sh/sh.1
21
bin/sh/sh.1
@ -32,7 +32,7 @@
|
||||
.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd November 14, 2014
|
||||
.Dd February 22, 2015
|
||||
.Dt SH 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -1196,17 +1196,18 @@ command is implemented as a special built-in command.
|
||||
.Ss Variables and Parameters
|
||||
The shell maintains a set of parameters.
|
||||
A parameter
|
||||
denoted by a name is called a variable.
|
||||
denoted by a name
|
||||
(consisting solely
|
||||
of alphabetics, numerics, and underscores,
|
||||
and starting with an alphabetic or an underscore)
|
||||
is called a variable.
|
||||
When starting up,
|
||||
the shell turns all the environment variables into shell
|
||||
the shell turns all environment variables with valid names into shell
|
||||
variables.
|
||||
New variables can be set using the form
|
||||
.Pp
|
||||
.D1 Ar name Ns = Ns Ar value
|
||||
.Pp
|
||||
Variables set by the user must have a name consisting solely
|
||||
of alphabetics, numerics, and underscores.
|
||||
The first letter of a variable name must not be numeric.
|
||||
A parameter can also be denoted by a number
|
||||
or a special character as explained below.
|
||||
.Pp
|
||||
@ -1369,6 +1370,10 @@ This variable overrides the
|
||||
.Va MAIL
|
||||
setting.
|
||||
There is a maximum of 10 mailboxes that can be monitored at once.
|
||||
.It Va OPTIND
|
||||
The index of the next argument to be processed by
|
||||
.Ic getopts .
|
||||
This is initialized to 1 at startup.
|
||||
.It Va PATH
|
||||
The default search path for executables.
|
||||
See the
|
||||
@ -2297,6 +2302,8 @@ If an invalid option is encountered,
|
||||
is set to
|
||||
.Ql \&? .
|
||||
It returns a false value (1) when it encounters the end of the options.
|
||||
A new set of arguments may be parsed by assigning
|
||||
.Li OPTIND=1 .
|
||||
.It Ic hash Oo Fl rv Oc Op Ar command ...
|
||||
The shell maintains a hash table which remembers the locations of commands.
|
||||
With no arguments whatsoever, the
|
||||
@ -2771,7 +2778,7 @@ This is inherited by children of the shell, and is used in the history
|
||||
editing modes.
|
||||
.El
|
||||
.Pp
|
||||
Additionally, all environment variables are turned into shell variables
|
||||
Additionally, environment variables are turned into shell variables
|
||||
at startup,
|
||||
which may affect the shell as described under
|
||||
.Sx Special Variables .
|
||||
|
10
bin/sh/var.c
10
bin/sh/var.c
@ -94,6 +94,7 @@ struct var vps4;
|
||||
static struct var voptind;
|
||||
struct var vdisvfork;
|
||||
|
||||
struct localvar *localvars;
|
||||
int forcelocal;
|
||||
|
||||
static const struct varinit varinit[] = {
|
||||
@ -141,6 +142,7 @@ static const int locale_categories[7] = {
|
||||
static int varequal(const char *, const char *);
|
||||
static struct var *find_var(const char *, struct var ***, int *);
|
||||
static int localevar(const char *);
|
||||
static void setvareq_const(const char *s, int flags);
|
||||
|
||||
extern char **environ;
|
||||
|
||||
@ -183,7 +185,7 @@ initvar(void)
|
||||
setvareq(*envp, VEXPORT|VTEXTFIXED);
|
||||
}
|
||||
}
|
||||
setvareq("OPTIND=1", VTEXTFIXED);
|
||||
setvareq_const("OPTIND=1", 0);
|
||||
}
|
||||
|
||||
/*
|
||||
@ -389,6 +391,12 @@ setvareq(char *s, int flags)
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
setvareq_const(const char *s, int flags)
|
||||
{
|
||||
setvareq(__DECONST(char *, s), flags | VTEXTFIXED);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Process a linked list of variable assignments.
|
||||
|
@ -68,7 +68,7 @@ struct localvar {
|
||||
};
|
||||
|
||||
|
||||
struct localvar *localvars;
|
||||
extern struct localvar *localvars;
|
||||
extern int forcelocal;
|
||||
|
||||
extern struct var vifs;
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
dtrace:::BEGIN
|
||||
{
|
||||
printf("%-22s %8s %6s\n", "TIME", "LASTPID", "PID/s");
|
||||
printf("%-22s %6s\n", "TIME", "PID/s");
|
||||
pids = 0;
|
||||
}
|
||||
|
||||
@ -52,6 +52,6 @@ proc:::exec-success
|
||||
|
||||
profile:::tick-1sec
|
||||
{
|
||||
printf("%-22Y %8d %6d\n", walltimestamp, `mpid, pids);
|
||||
printf("%-22Y %6d\n", walltimestamp, pids);
|
||||
pids = 0;
|
||||
}
|
||||
|
@ -66,5 +66,5 @@ $dtrace -s $tmpfile
|
||||
status=$?
|
||||
|
||||
rm $tmpfile
|
||||
pkill sleep
|
||||
pkill -P $$ sleep
|
||||
exit $status
|
||||
|
@ -52,7 +52,7 @@ main.o: main.c
|
||||
cc -c main.c
|
||||
|
||||
altlib.so: altlib.o
|
||||
cc -z defs -G -o altlib.so altlib.o -lc
|
||||
cc -shared -o altlib.so altlib.o -lc
|
||||
|
||||
altlib.o: altlib.c
|
||||
cc -c altlib.c
|
||||
|
@ -44,7 +44,7 @@ mkdir $DIR
|
||||
cd $DIR
|
||||
|
||||
cat > Makefile <<EOF
|
||||
all: main
|
||||
all: main
|
||||
|
||||
main: main.o prov.o
|
||||
cc -o main main.o prov.o
|
||||
|
@ -59,7 +59,7 @@ provmain.o: prov.d main.o
|
||||
$dtrace -G -32 -o provmain.o -s prov.d main.o
|
||||
|
||||
altlib.so: altlib.o provalt.o
|
||||
cc -z defs -G -o altlib.so altlib.o provalt.o -lc
|
||||
cc -shared -o altlib.so altlib.o provalt.o -lc
|
||||
|
||||
altlib.o: altlib.c prov.h
|
||||
cc -c altlib.c
|
||||
|
@ -53,7 +53,7 @@ main.o: main.c
|
||||
|
||||
|
||||
livelib.so: livelib.o prov.o
|
||||
cc -z defs -G -o livelib.so livelib.o prov.o -lc
|
||||
cc -shared -o livelib.so livelib.o prov.o -lc
|
||||
|
||||
livelib.o: livelib.c prov.h
|
||||
cc -c livelib.c
|
||||
@ -66,7 +66,7 @@ prov.h: prov.d
|
||||
|
||||
|
||||
deadlib.so: deadlib.o
|
||||
cc -z defs -G -o deadlib.so deadlib.o -lc
|
||||
cc -shared -o deadlib.so deadlib.o -lc
|
||||
|
||||
deadlib.o: deadlib.c
|
||||
cc -c deadlib.c
|
||||
|
@ -48,7 +48,7 @@ main.o: main.c
|
||||
|
||||
|
||||
livelib.so: livelib.o prov.o
|
||||
cc -z defs -G -o livelib.so livelib.o prov.o -lc
|
||||
cc -shared -o livelib.so livelib.o prov.o -lc
|
||||
|
||||
livelib.o: livelib.c prov.h
|
||||
cc -c livelib.c
|
||||
@ -61,7 +61,7 @@ prov.h: prov.d
|
||||
|
||||
|
||||
deadlib.so: deadlib.o
|
||||
cc -z defs -G -o deadlib.so deadlib.o -lc
|
||||
cc -shared -o deadlib.so deadlib.o -lc
|
||||
|
||||
deadlib.o: deadlib.c
|
||||
cc -c deadlib.c
|
||||
|
@ -53,7 +53,7 @@ main.o: main.c
|
||||
|
||||
|
||||
livelib.so: livelib.o prov.o
|
||||
cc -z defs -G -o livelib.so livelib.o prov.o -lc
|
||||
cc -shared -o livelib.so livelib.o prov.o -lc
|
||||
|
||||
livelib.o: livelib.c prov.h
|
||||
cc -c livelib.c
|
||||
@ -66,7 +66,7 @@ prov.h: prov.d
|
||||
|
||||
|
||||
deadlib.so: deadlib.o
|
||||
cc -z defs -G -o deadlib.so deadlib.o -lc
|
||||
cc -shared -o deadlib.so deadlib.o -lc
|
||||
|
||||
deadlib.o: deadlib.c
|
||||
cc -c deadlib.c
|
||||
|
@ -102,5 +102,5 @@ if [ $? -ne 0 ]; then
|
||||
fi
|
||||
|
||||
cd /
|
||||
/usr/bin/rm -rf $DIR
|
||||
rm -rf $DIR
|
||||
exit 0
|
||||
|
@ -55,5 +55,5 @@ if [ $? -eq 0 ]; then
|
||||
fi
|
||||
|
||||
cd /
|
||||
/usr/bin/rm -rf $DIR
|
||||
rm -rf $DIR
|
||||
exit 0
|
||||
|
@ -123,6 +123,6 @@ else
|
||||
fi
|
||||
|
||||
cd /
|
||||
/usr/bin/rm -rf $DIR
|
||||
rm -rf $DIR
|
||||
|
||||
exit $status
|
||||
|
@ -119,6 +119,6 @@ fi
|
||||
|
||||
kill $background
|
||||
cd /
|
||||
/usr/bin/rm -rf $DIR
|
||||
rm -rf $DIR
|
||||
|
||||
exit $status
|
||||
|
@ -110,6 +110,6 @@ grep D_PDESC_INVAL test.out 2> /dev/null 1>&2
|
||||
status=$?
|
||||
|
||||
cd /
|
||||
/usr/bin/rm -rf $DIR
|
||||
rm -rf $DIR
|
||||
|
||||
exit $status
|
||||
|
@ -834,6 +834,8 @@ zpool_do_create(int argc, char **argv)
|
||||
enable_all_pool_feat = B_FALSE;
|
||||
}
|
||||
}
|
||||
if (zpool_name_to_prop(optarg) == ZPOOL_PROP_ALTROOT)
|
||||
altroot = propval;
|
||||
break;
|
||||
case 'O':
|
||||
if ((propval = strchr(optarg, '=')) == NULL) {
|
||||
|
@ -583,10 +583,10 @@ ctf_discard(ctf_file_t *fp)
|
||||
return (0); /* no update required */
|
||||
|
||||
for (dtd = ctf_list_prev(&fp->ctf_dtdefs); dtd != NULL; dtd = ntd) {
|
||||
if (dtd->dtd_type <= fp->ctf_dtoldid)
|
||||
ntd = ctf_list_prev(dtd);
|
||||
if (CTF_TYPE_TO_INDEX(dtd->dtd_type) <= fp->ctf_dtoldid)
|
||||
continue; /* skip types that have been committed */
|
||||
|
||||
ntd = ctf_list_prev(dtd);
|
||||
ctf_dtd_delete(fp, dtd);
|
||||
}
|
||||
|
||||
@ -1313,10 +1313,13 @@ ctf_add_type(ctf_file_t *dst_fp, ctf_file_t *src_fp, ctf_id_t src_type)
|
||||
* unless dst_type is a forward declaration and src_type is a struct,
|
||||
* union, or enum (i.e. the definition of the previous forward decl).
|
||||
*/
|
||||
if (dst_type != CTF_ERR && dst_kind != kind && (
|
||||
dst_kind != CTF_K_FORWARD || (kind != CTF_K_ENUM &&
|
||||
kind != CTF_K_STRUCT && kind != CTF_K_UNION)))
|
||||
return (ctf_set_errno(dst_fp, ECTF_CONFLICT));
|
||||
if (dst_type != CTF_ERR && dst_kind != kind) {
|
||||
if (dst_kind != CTF_K_FORWARD || (kind != CTF_K_ENUM &&
|
||||
kind != CTF_K_STRUCT && kind != CTF_K_UNION))
|
||||
return (ctf_set_errno(dst_fp, ECTF_CONFLICT));
|
||||
else
|
||||
dst_type = CTF_ERR;
|
||||
}
|
||||
|
||||
/*
|
||||
* If the non-empty name was not found in the appropriate hash, search
|
||||
@ -1328,7 +1331,7 @@ ctf_add_type(ctf_file_t *dst_fp, ctf_file_t *src_fp, ctf_id_t src_type)
|
||||
*/
|
||||
if (dst_type == CTF_ERR && name[0] != '\0') {
|
||||
for (dtd = ctf_list_prev(&dst_fp->ctf_dtdefs); dtd != NULL &&
|
||||
dtd->dtd_type > dst_fp->ctf_dtoldid;
|
||||
CTF_TYPE_TO_INDEX(dtd->dtd_type) > dst_fp->ctf_dtoldid;
|
||||
dtd = ctf_list_prev(dtd)) {
|
||||
if (CTF_INFO_KIND(dtd->dtd_data.ctt_info) == kind &&
|
||||
dtd->dtd_name != NULL &&
|
||||
|
@ -492,7 +492,7 @@ write_type(void *arg1, void *arg2)
|
||||
|
||||
if (i > CTF_MAX_VLEN) {
|
||||
terminate("function %s has too many args: %d > %d\n",
|
||||
i, CTF_MAX_VLEN);
|
||||
tdesc_name(tp), i, CTF_MAX_VLEN);
|
||||
}
|
||||
|
||||
ctt.ctt_info = CTF_TYPE_INFO(CTF_K_FUNCTION, isroot, i);
|
||||
|
@ -23,8 +23,6 @@
|
||||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#pragma ident "%Z%%M% %I% %E% SMI"
|
||||
|
||||
/*
|
||||
* Routines for preparing tdata trees for conversion into CTF data, and
|
||||
* for placing the resulting data into an output file.
|
||||
|
@ -36,7 +36,7 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
|
||||
-I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \
|
||||
-I${OPENSOLARIS_SYS_DISTDIR}/uts/common
|
||||
|
||||
DPADD= ${LIBCTF} ${LIBDWARF} ${LIBELF} ${LIBZ} ${LIBPTHREAD}
|
||||
LDADD= -lctf -ldwarf -lelf -lz -lpthread
|
||||
DPADD= ${LIBDWARF} ${LIBELF} ${LIBZ} ${LIBPTHREAD}
|
||||
LDADD= -ldwarf -lelf -lz -lpthread
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -33,7 +33,7 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
|
||||
-I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \
|
||||
-I${OPENSOLARIS_SYS_DISTDIR}/uts/common
|
||||
|
||||
DPADD= ${LIBCTF} ${LIBDWARF} ${LIBELF} ${LIBZ} ${LIBPTHREAD}
|
||||
LDADD= -lctf -ldwarf -lelf -lz -lpthread
|
||||
DPADD= ${LIBDWARF} ${LIBELF} ${LIBZ} ${LIBPTHREAD}
|
||||
LDADD= -ldwarf -lelf -lz -lpthread
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
17
cddl/usr.sbin/dtrace/tests/Makefile
Normal file
17
cddl/usr.sbin/dtrace/tests/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
TESTSDIR= ${TESTSBASE}/cddl/usr.sbin/dtrace
|
||||
TESTS_SUBDIRS+= common
|
||||
|
||||
.PATH: ${.CURDIR:H:H:H:H}/tests
|
||||
KYUAFILE= YES
|
||||
|
||||
.PATH: ${.CURDIR:H:H:H}/contrib/opensolaris/cmd/dtrace/test/cmd/scripts
|
||||
SCRIPTSDIR= ${TESTSDIR}
|
||||
SCRIPTS= dtest.pl
|
||||
|
||||
SUBDIR_PARALLEL=
|
||||
|
||||
.include <bsd.test.mk>
|
53
cddl/usr.sbin/dtrace/tests/Makefile.inc1
Normal file
53
cddl/usr.sbin/dtrace/tests/Makefile.inc1
Normal file
@ -0,0 +1,53 @@
|
||||
# $FreeBSD$
|
||||
|
||||
TESTGROUP= ${.CURDIR:H:T}/${.CURDIR:T}
|
||||
TESTSRC= ${.CURDIR:H:H:H:H:H}/contrib/opensolaris/cmd/dtrace/test/tst/${TESTGROUP}
|
||||
TESTSDIR= ${TESTSBASE}/cddl/usr.sbin/dtrace/${TESTGROUP}
|
||||
|
||||
.if !defined(_RECURSING_PROGS)
|
||||
FILESGROUPS+= FILES ${TESTGROUP} ${TESTGROUP}EXE
|
||||
|
||||
${TESTGROUP}= ${TESTFILES}
|
||||
${TESTGROUP}EXE= ${TESTEXES}
|
||||
${TESTGROUP}EXEMODE= 0555
|
||||
|
||||
${TESTGROUP}DIR= ${TESTSDIR}
|
||||
${TESTGROUP}EXEDIR= ${TESTSDIR}
|
||||
|
||||
TESTWRAPPER= t_dtrace_contrib
|
||||
ATF_TESTS_SH+= ${TESTWRAPPER}
|
||||
TEST_METADATA.t_dtrace_contrib+= required_files="/usr/local/bin/perl"
|
||||
TEST_METADATA.t_dtrace_contrib+= required_files="/usr/local/bin/ksh"
|
||||
TEST_METADATA.t_dtrace_contrib+= required_user="root"
|
||||
|
||||
GENTEST?= ${.CURDIR:H:H}/tools/gentest.sh
|
||||
EXCLUDE= ${.CURDIR:H:H}/tools/exclude.sh
|
||||
${TESTWRAPPER}.sh: ${GENTEST} ${EXCLUDE} ${${TESTGROUP}}
|
||||
sh ${GENTEST} -e ${EXCLUDE} ${TESTGROUP} ${${TESTGROUP}:S/ */ /} > ${.TARGET}
|
||||
|
||||
CLEANFILES+= ${TESTWRAPPER}.sh
|
||||
.endif # !defined(_RECURSING_PROGS)
|
||||
|
||||
.PATH: ${TESTSRC}
|
||||
|
||||
PROGS= ${CFILES:T:S/.c$/.exe/g}
|
||||
.for prog in ${PROGS}
|
||||
SRCS.${prog}+= ${prog:S/.exe$/.c/}
|
||||
BINDIR.${prog}= ${TESTSDIR}
|
||||
MAN.${prog}=
|
||||
|
||||
.if exists(${prog:S/^tst.//:S/.exe$/.d/})
|
||||
SRCS.${prog}+= ${prog:S/^tst.//:S/.exe$/.d/}
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
# Some tests depend on the internals of their corresponding test programs,
|
||||
# so make sure the optimizer doesn't interfere with them.
|
||||
CFLAGS+= -O0
|
||||
|
||||
# Test programs shouldn't be stripped; else we generally can't use the PID
|
||||
# provider.
|
||||
DEBUG_FLAGS= -g
|
||||
STRIP=
|
||||
|
||||
.include <bsd.test.mk>
|
91
cddl/usr.sbin/dtrace/tests/common/Makefile
Normal file
91
cddl/usr.sbin/dtrace/tests/common/Makefile
Normal file
@ -0,0 +1,91 @@
|
||||
# $FreeBSD$
|
||||
|
||||
# We exclude several subdirectories: nfs and sysevent do not compile on
|
||||
# FreeBSD, and docsExamples doesn't seem amenable to automated testing.
|
||||
|
||||
TESTSDIR= ${TESTSBASE}/cddl/usr.sbin/dtrace/common
|
||||
TESTS_SUBDIRS+= aggs \
|
||||
arithmetic \
|
||||
arrays \
|
||||
assocs \
|
||||
begin \
|
||||
bitfields \
|
||||
buffering \
|
||||
builtinvar \
|
||||
cg \
|
||||
clauses \
|
||||
cpc \
|
||||
decls \
|
||||
drops \
|
||||
dtraceUtil \
|
||||
end \
|
||||
enum \
|
||||
error \
|
||||
exit \
|
||||
fbtprovider \
|
||||
funcs \
|
||||
grammar \
|
||||
include \
|
||||
inline \
|
||||
io \
|
||||
ip \
|
||||
java_api \
|
||||
json \
|
||||
lexer \
|
||||
llquantize \
|
||||
mdb \
|
||||
mib \
|
||||
misc \
|
||||
multiaggs \
|
||||
offsetof \
|
||||
operators \
|
||||
pid \
|
||||
plockstat \
|
||||
pointers \
|
||||
pragma \
|
||||
predicates \
|
||||
preprocessor \
|
||||
print \
|
||||
printa \
|
||||
printf \
|
||||
privs \
|
||||
probes \
|
||||
proc \
|
||||
profile-n \
|
||||
providers \
|
||||
raise \
|
||||
rates \
|
||||
safety \
|
||||
scalars \
|
||||
sched \
|
||||
scripting \
|
||||
sdt \
|
||||
sizeof \
|
||||
speculation \
|
||||
stability \
|
||||
stack \
|
||||
stackdepth \
|
||||
stop \
|
||||
strlen \
|
||||
strtoll \
|
||||
struct \
|
||||
syscall \
|
||||
tick-n \
|
||||
trace \
|
||||
tracemem \
|
||||
translators \
|
||||
typedef \
|
||||
types \
|
||||
uctf \
|
||||
union \
|
||||
usdt \
|
||||
ustack \
|
||||
vars \
|
||||
version \
|
||||
|
||||
.PATH: ${.CURDIR:H:H:H:H:H}/tests
|
||||
KYUAFILE= YES
|
||||
|
||||
SUBDIR_PARALLEL=
|
||||
|
||||
.include <bsd.test.mk>
|
189
cddl/usr.sbin/dtrace/tests/common/aggs/Makefile
Normal file
189
cddl/usr.sbin/dtrace/tests/common/aggs/Makefile
Normal file
@ -0,0 +1,189 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_AGG_FUNC.bad.d \
|
||||
err.D_AGG_MDIM.bad.d \
|
||||
err.D_AGG_NULL.bad.d \
|
||||
err.D_AGG_REDEF.redef.d \
|
||||
err.D_AGG_SCALAR.avgtoofew.d \
|
||||
err.D_AGG_SCALAR.maxnoarg.d \
|
||||
err.D_AGG_SCALAR.mintoofew.d \
|
||||
err.D_AGG_SCALAR.quantizetoofew.d \
|
||||
err.D_AGG_SCALAR.stddevtoofew.d \
|
||||
err.D_AGG_SCALAR.sumtoofew.d \
|
||||
err.D_CLEAR_AGGARG.bad.d \
|
||||
err.D_CLEAR_PROTO.bad.d \
|
||||
err.D_FUNC_IDENT.bad.d \
|
||||
err.D_FUNC_UNDEF.badaggfunc.d \
|
||||
err.D_IDENT_UNDEF.badexpr.d \
|
||||
err.D_IDENT_UNDEF.badkey3.d \
|
||||
err.D_IDENT_UNDEF.noeffect.d \
|
||||
err.D_KEY_TYPE.badkey1.d \
|
||||
err.D_KEY_TYPE.badkey2.d \
|
||||
err.D_KEY_TYPE.badkey4.d \
|
||||
err.D_LQUANT_BASETYPE.lqbad1.d \
|
||||
err.D_LQUANT_BASETYPE.lqshort.d \
|
||||
err.D_LQUANT_BASEVAL.bad.d \
|
||||
err.D_LQUANT_LIMTYPE.lqbad1.d \
|
||||
err.D_LQUANT_LIMVAL.bad.d \
|
||||
err.D_LQUANT_MATCHBASE.d \
|
||||
err.D_LQUANT_MATCHBASE.order.d \
|
||||
err.D_LQUANT_MATCHLIM.d \
|
||||
err.D_LQUANT_MATCHLIM.order.d \
|
||||
err.D_LQUANT_MATCHSTEP.d \
|
||||
err.D_LQUANT_MISMATCH.lqbadarg.d \
|
||||
err.D_LQUANT_STEPLARGE.lqtoofew.d \
|
||||
err.D_LQUANT_STEPSMALL.bad.d \
|
||||
err.D_LQUANT_STEPTYPE.lqbadinc.d \
|
||||
err.D_LQUANT_STEPVAL.bad.d \
|
||||
err.D_NORMALIZE_AGGARG.bad.d \
|
||||
err.D_NORMALIZE_PROTO.bad.d \
|
||||
err.D_NORMALIZE_SCALAR.bad.d \
|
||||
err.D_PROTO_ARG.lquantizetoofew.d \
|
||||
err.D_PROTO_LEN.avgnoarg.d \
|
||||
err.D_PROTO_LEN.avgtoomany.d \
|
||||
err.D_PROTO_LEN.counttoomany.d \
|
||||
err.D_PROTO_LEN.lquantizenoarg.d \
|
||||
err.D_PROTO_LEN.lquantizetoomany.d \
|
||||
err.D_PROTO_LEN.maxnoarg.d \
|
||||
err.D_PROTO_LEN.maxtoomany.d \
|
||||
err.D_PROTO_LEN.minnoarg.d \
|
||||
err.D_PROTO_LEN.mintoomany.d \
|
||||
err.D_PROTO_LEN.quantizenoarg.d \
|
||||
err.D_PROTO_LEN.quantizetoomany.d \
|
||||
err.D_PROTO_LEN.stddevnoarg.d \
|
||||
err.D_PROTO_LEN.stddevtoomany.d \
|
||||
err.D_PROTO_LEN.sumnoarg.d \
|
||||
err.D_PROTO_LEN.sumtoomany.d \
|
||||
err.D_TRUNC_AGGARG.bad.d \
|
||||
err.D_TRUNC_PROTO.badmany.d \
|
||||
err.D_TRUNC_PROTO.badnone.d \
|
||||
err.D_TRUNC_SCALAR.bad.d \
|
||||
tst.aggencoding.d \
|
||||
tst.aggencoding.d.out \
|
||||
tst.agghist.d \
|
||||
tst.agghist.d.out \
|
||||
tst.aggpack.d \
|
||||
tst.aggpack.d.out \
|
||||
tst.aggpackbanner.ksh \
|
||||
tst.aggpackbanner.ksh.out \
|
||||
tst.aggpackzoom.d \
|
||||
tst.aggpackzoom.d.out \
|
||||
tst.aggzoom.d \
|
||||
tst.aggzoom.d.out \
|
||||
tst.allquant.d \
|
||||
tst.allquant.d.out \
|
||||
tst.avg.d \
|
||||
tst.avg.d.out \
|
||||
tst.avg_neg.d \
|
||||
tst.avg_neg.d.out \
|
||||
tst.clear.d \
|
||||
tst.clear.d.out \
|
||||
tst.clearavg.d \
|
||||
tst.clearavg.d.out \
|
||||
tst.clearavg2.d \
|
||||
tst.clearavg2.d.out \
|
||||
tst.cleardenormalize.d \
|
||||
tst.cleardenormalize.d.out \
|
||||
tst.clearlquantize.d \
|
||||
tst.clearlquantize.d.out \
|
||||
tst.clearnormalize.d \
|
||||
tst.clearnormalize.d.out \
|
||||
tst.clearstddev.d \
|
||||
tst.clearstddev.d.out \
|
||||
tst.count.d \
|
||||
tst.count.d.out \
|
||||
tst.count2.d \
|
||||
tst.count2.d.out \
|
||||
tst.count3.d \
|
||||
tst.denormalize.d \
|
||||
tst.denormalize.d.out \
|
||||
tst.denormalizeonly.d \
|
||||
tst.denormalizeonly.d.out \
|
||||
tst.fmtnormalize.d \
|
||||
tst.fmtnormalize.d.out \
|
||||
tst.forms.d \
|
||||
tst.forms.d.out \
|
||||
tst.goodkey.d \
|
||||
tst.keysort.d \
|
||||
tst.keysort.d.out \
|
||||
tst.lquantize.d \
|
||||
tst.lquantize.d.out \
|
||||
tst.lquantnormal.d \
|
||||
tst.lquantnormal.d.out \
|
||||
tst.lquantrange.d \
|
||||
tst.lquantrange.d.out \
|
||||
tst.lquantround.d \
|
||||
tst.lquantround.d.out \
|
||||
tst.lquantzero.d \
|
||||
tst.lquantzero.d.out \
|
||||
tst.max.d \
|
||||
tst.max.d.out \
|
||||
tst.max_neg.d \
|
||||
tst.max_neg.d.out \
|
||||
tst.min.d \
|
||||
tst.min.d.out \
|
||||
tst.min_neg.d \
|
||||
tst.min_neg.d.out \
|
||||
tst.multiaggs1.d \
|
||||
tst.multiaggs2.d \
|
||||
tst.multiaggs2.d.out \
|
||||
tst.multiaggs3.d \
|
||||
tst.multiaggs3.d.out \
|
||||
tst.multinormalize.d \
|
||||
tst.multinormalize.d.out \
|
||||
tst.neglquant.d \
|
||||
tst.neglquant.d.out \
|
||||
tst.negorder.d \
|
||||
tst.negorder.d.out \
|
||||
tst.negquant.d \
|
||||
tst.negquant.d.out \
|
||||
tst.negtrunc.d \
|
||||
tst.negtrunc.d.out \
|
||||
tst.negtruncquant.d \
|
||||
tst.negtruncquant.d.out \
|
||||
tst.normalize.d \
|
||||
tst.normalize.d.out \
|
||||
tst.order.d \
|
||||
tst.order.d.out \
|
||||
tst.quantize.d \
|
||||
tst.quantize.d.out \
|
||||
tst.quantmany.d \
|
||||
tst.quantmany.d.out \
|
||||
tst.quantround.d \
|
||||
tst.quantround.d.out \
|
||||
tst.quantzero.d \
|
||||
tst.quantzero.d.out \
|
||||
tst.signature.d \
|
||||
tst.signedkeys.d \
|
||||
tst.signedkeys.d.out \
|
||||
tst.signedkeyspos.d \
|
||||
tst.signedkeyspos.d.out \
|
||||
tst.sizedkeys.d \
|
||||
tst.sizedkeys.d.out \
|
||||
tst.stddev.d \
|
||||
tst.stddev.d.out \
|
||||
tst.subr.d \
|
||||
tst.sum.d \
|
||||
tst.sum.d.out \
|
||||
tst.trunc.d \
|
||||
tst.trunc.d.out \
|
||||
tst.trunc0.d \
|
||||
tst.trunc0.d.out \
|
||||
tst.truncquant.d \
|
||||
tst.truncquant.d.out \
|
||||
tst.valsortkeypos.d \
|
||||
tst.valsortkeypos.d.out \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
32
cddl/usr.sbin/dtrace/tests/common/arithmetic/Makefile
Normal file
32
cddl/usr.sbin/dtrace/tests/common/arithmetic/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_DIV_ZERO.divby0.d \
|
||||
err.D_DIV_ZERO.divby0_1.d \
|
||||
err.D_DIV_ZERO.divby0_2.d \
|
||||
err.D_DIV_ZERO.modby0.d \
|
||||
err.D_SYNTAX.addmin.d \
|
||||
err.D_SYNTAX.divmin.d \
|
||||
err.D_SYNTAX.muladd.d \
|
||||
err.D_SYNTAX.muldiv.d \
|
||||
tst.basics.d \
|
||||
tst.basics.d.out \
|
||||
tst.compcast.d \
|
||||
tst.compcast.d.out \
|
||||
tst.compnarrowassign.d \
|
||||
tst.compnarrowassign.d.out \
|
||||
tst.execcast.d \
|
||||
tst.execcast.d.out \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
29
cddl/usr.sbin/dtrace/tests/common/arrays/Makefile
Normal file
29
cddl/usr.sbin/dtrace/tests/common/arrays/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_ARR_BADREF.bad.d \
|
||||
err.D_DECL_ARRBIG.toobig.d \
|
||||
err.D_DECL_ARRNULL.bad.d \
|
||||
err.D_DECL_ARRSUB.bad.d \
|
||||
err.D_DECL_PROTO_TYPE.badtuple.d \
|
||||
err.D_IDENT_UNDEF.badureg.d \
|
||||
tst.basic1.d \
|
||||
tst.basic2.d \
|
||||
tst.basic3.d \
|
||||
tst.basic4.d \
|
||||
tst.basic5.d \
|
||||
tst.basic6.d \
|
||||
tst.uregsarray.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
32
cddl/usr.sbin/dtrace/tests/common/assocs/Makefile
Normal file
32
cddl/usr.sbin/dtrace/tests/common/assocs/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_OP_INCOMPAT.dupgtype.d \
|
||||
err.D_OP_INCOMPAT.dupttype.d \
|
||||
err.D_OP_INCOMPAT.this.d \
|
||||
err.D_PROTO_ARG.badsig.d \
|
||||
err.D_PROTO_LEN.toofew.d \
|
||||
err.D_PROTO_LEN.toomany.d \
|
||||
err.D_SYNTAX.errassign.d \
|
||||
err.tupoflow.d \
|
||||
tst.cpyarray.d \
|
||||
tst.diffprofile.d \
|
||||
tst.initialize.d \
|
||||
tst.invalidref.d \
|
||||
tst.misc.d \
|
||||
tst.orthogonality.d \
|
||||
tst.this.d \
|
||||
tst.valassign.d.out \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
22
cddl/usr.sbin/dtrace/tests/common/begin/Makefile
Normal file
22
cddl/usr.sbin/dtrace/tests/common/begin/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_PDESC_ZERO.begin.d \
|
||||
err.D_PDESC_ZERO.tick.d \
|
||||
tst.begin.d \
|
||||
tst.begin.d.out \
|
||||
tst.multibegin.d \
|
||||
tst.multibegin.d.out \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
26
cddl/usr.sbin/dtrace/tests/common/bitfields/Makefile
Normal file
26
cddl/usr.sbin/dtrace/tests/common/bitfields/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_ADDROF_BITFIELD.BitfieldAddress.d \
|
||||
err.D_DECL_BFCONST.NegBitField.d \
|
||||
err.D_DECL_BFCONST.ZeroBitField.d \
|
||||
err.D_DECL_BFSIZE.ExceedBaseType.d \
|
||||
err.D_DECL_BFSIZE.GreaterThan64.d \
|
||||
err.D_DECL_BFTYPE.badtype.d \
|
||||
err.D_OFFSETOF_BITFIELD.d \
|
||||
err.D_SIZEOF_BITFIELD.SizeofBitfield.d \
|
||||
tst.BitFieldPromotion.d \
|
||||
tst.SizeofBitField.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
37
cddl/usr.sbin/dtrace/tests/common/buffering/Makefile
Normal file
37
cddl/usr.sbin/dtrace/tests/common/buffering/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.end.d \
|
||||
err.resize1.d \
|
||||
err.resize2.d \
|
||||
err.resize3.d \
|
||||
err.zerobuf.d \
|
||||
tst.alignring.d \
|
||||
tst.cputime.ksh \
|
||||
tst.dynvarsize.d \
|
||||
tst.fill1.d \
|
||||
tst.fill1.d.out \
|
||||
tst.resize1.d \
|
||||
tst.resize2.d \
|
||||
tst.resize3.d \
|
||||
tst.ring1.d \
|
||||
tst.ring2.d \
|
||||
tst.ring2.d.out \
|
||||
tst.ring3.d \
|
||||
tst.ring3.d.out \
|
||||
tst.smallring.d \
|
||||
tst.switch1.d \
|
||||
tst.switch1.d.out \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
48
cddl/usr.sbin/dtrace/tests/common/builtinvar/Makefile
Normal file
48
cddl/usr.sbin/dtrace/tests/common/builtinvar/Makefile
Normal file
@ -0,0 +1,48 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_XLATE_NOCONV.cpuusage.d \
|
||||
err.D_XLATE_NOCONV.nice.d \
|
||||
err.D_XLATE_NOCONV.priority.d \
|
||||
err.D_XLATE_NOCONV.prsize.d \
|
||||
err.D_XLATE_NOCONV.rssize.d \
|
||||
tst.arg0.d \
|
||||
tst.arg0clause.d \
|
||||
tst.arg1.d \
|
||||
tst.arg1to8.d \
|
||||
tst.arg1to8clause.d \
|
||||
tst.caller.d \
|
||||
tst.caller1.d \
|
||||
tst.epid.d \
|
||||
tst.epid1.d \
|
||||
tst.errno.d \
|
||||
tst.errno1.d \
|
||||
tst.execname.d \
|
||||
tst.hpriority.d \
|
||||
tst.id.d \
|
||||
tst.id1.d \
|
||||
tst.ipl.d \
|
||||
tst.ipl1.d \
|
||||
tst.lwpsinfo.d \
|
||||
tst.lwpsinfo1.d \
|
||||
tst.pid.d \
|
||||
tst.pid1.d \
|
||||
tst.psinfo.d \
|
||||
tst.psinfo1.d \
|
||||
tst.tid.d \
|
||||
tst.tid1.d \
|
||||
tst.timestamp.d \
|
||||
tst.vtimestamp.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
18
cddl/usr.sbin/dtrace/tests/common/cg/Makefile
Normal file
18
cddl/usr.sbin/dtrace/tests/common/cg/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_NOREG.noreg.d \
|
||||
err.baddif.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
26
cddl/usr.sbin/dtrace/tests/common/clauses/Makefile
Normal file
26
cddl/usr.sbin/dtrace/tests/common/clauses/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_IDENT_UNDEF.aggfun.d \
|
||||
err.D_IDENT_UNDEF.aggtup.d \
|
||||
err.D_IDENT_UNDEF.arrtup.d \
|
||||
err.D_IDENT_UNDEF.body.d \
|
||||
err.D_IDENT_UNDEF.both.d \
|
||||
err.D_IDENT_UNDEF.pred.d \
|
||||
tst.nopred.d \
|
||||
tst.pred.d \
|
||||
tst.predfirst.d \
|
||||
tst.predlast.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
27
cddl/usr.sbin/dtrace/tests/common/cpc/Makefile
Normal file
27
cddl/usr.sbin/dtrace/tests/common/cpc/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_PDESC_ZERO.lowfrequency.d \
|
||||
err.D_PDESC_ZERO.malformedoverflow.d \
|
||||
err.D_PDESC_ZERO.nonexistentevent.d \
|
||||
err.cpcvscpustatpart1.ksh \
|
||||
err.cpcvscpustatpart2.ksh \
|
||||
err.cputrackfailtostart.ksh \
|
||||
err.cputrackterminates.ksh \
|
||||
err.toomanyenablings.d \
|
||||
tst.allcpus.ksh \
|
||||
tst.genericevent.d \
|
||||
tst.platformevent.ksh \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
30
cddl/usr.sbin/dtrace/tests/common/decls/Makefile
Normal file
30
cddl/usr.sbin/dtrace/tests/common/decls/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_DECL_LOCASSC.NonLocalAssoc.d \
|
||||
err.D_DECL_LONGINT.LongStruct.d \
|
||||
err.D_DECL_PARMCLASS.BadStorageClass.d \
|
||||
err.D_DECL_PROTO_NAME.VoidName.d \
|
||||
err.D_DECL_PROTO_TYPE.Dyn.d \
|
||||
err.D_DECL_PROTO_VARARGS.VarLenArgs.d \
|
||||
err.D_DECL_PROTO_VOID.NonSoleVoid.d \
|
||||
err.D_DECL_SIGNINT.UnsignedStruct.d \
|
||||
err.D_DECL_VOIDATTR.ShortVoidDecl.d \
|
||||
tst.arrays.d \
|
||||
tst.basics.d \
|
||||
tst.funcs.d \
|
||||
tst.pointers.d \
|
||||
tst.varargsfuncs.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
32
cddl/usr.sbin/dtrace/tests/common/docsExamples/Makefile
Normal file
32
cddl/usr.sbin/dtrace/tests/common/docsExamples/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
badptr.d \
|
||||
countdown.d \
|
||||
counter.d \
|
||||
errorpath.d \
|
||||
hello.d \
|
||||
kstat.d \
|
||||
ksyms.d \
|
||||
renormalize.d \
|
||||
rtime.d \
|
||||
rw.d \
|
||||
rwinfo.d \
|
||||
rwtime.d \
|
||||
specopen.d \
|
||||
truss.d \
|
||||
trussrw.d \
|
||||
userfunc.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
24
cddl/usr.sbin/dtrace/tests/common/drops/Makefile
Normal file
24
cddl/usr.sbin/dtrace/tests/common/drops/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
drp.DTRACEDROP_AGGREGATION.d \
|
||||
drp.DTRACEDROP_DBLERROR.d \
|
||||
drp.DTRACEDROP_DYNAMIC.d \
|
||||
drp.DTRACEDROP_PRINCIPAL.d \
|
||||
drp.DTRACEDROP_PRINCIPAL.end.d \
|
||||
drp.DTRACEDROP_SPEC.d \
|
||||
drp.DTRACEDROP_SPECUNAVAIL.d \
|
||||
drp.DTRACEDROP_STKSTROVERFLOW.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
118
cddl/usr.sbin/dtrace/tests/common/dtraceUtil/Makefile
Normal file
118
cddl/usr.sbin/dtrace/tests/common/dtraceUtil/Makefile
Normal file
@ -0,0 +1,118 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_PDESC_ZERO.InvalidDescription1.d \
|
||||
man.APIVersion.d \
|
||||
man.AddSearchPath.d \
|
||||
man.CoalesceTrace.d \
|
||||
man.ELFGeneration.d \
|
||||
man.IncludedFilePath.d \
|
||||
man.ShowCompilerCode.d \
|
||||
man.VerboseStabilityReport.d \
|
||||
tst.AddSearchPath.d.ksh \
|
||||
tst.BufsizeGiga.d.ksh \
|
||||
tst.BufsizeKilo.d.ksh \
|
||||
tst.BufsizeMega.d.ksh \
|
||||
tst.BufsizeTera.d.ksh \
|
||||
tst.DataModel32.d.ksh \
|
||||
tst.DataModel64.d.ksh \
|
||||
tst.DefineNameWithCPP.d.ksh \
|
||||
tst.DefineNameWithCPP.d.ksh.out \
|
||||
tst.DestructWithFunction.d.ksh \
|
||||
tst.DestructWithFunction.d.ksh.out \
|
||||
tst.DestructWithID.d.ksh \
|
||||
tst.DestructWithID.d.ksh.out \
|
||||
tst.DestructWithModule.d.ksh \
|
||||
tst.DestructWithModule.d.ksh.out \
|
||||
tst.DestructWithName.d.ksh \
|
||||
tst.DestructWithName.d.ksh.out \
|
||||
tst.DestructWithProvider.d.ksh \
|
||||
tst.DestructWithProvider.d.ksh.out \
|
||||
tst.DestructWithoutW.d.ksh \
|
||||
tst.ELFGenerationOut.d.ksh \
|
||||
tst.ELFGenerationWithO.d.ksh \
|
||||
tst.ExitStatus1.d.ksh \
|
||||
tst.ExitStatus2.d.ksh \
|
||||
tst.ExtraneousProbeIds.d.ksh \
|
||||
tst.InvalidFuncName1.d.ksh \
|
||||
tst.InvalidFuncName2.d.ksh \
|
||||
tst.InvalidId1.d.ksh \
|
||||
tst.InvalidId2.d.ksh \
|
||||
tst.InvalidId3.d.ksh \
|
||||
tst.InvalidModule1.d.ksh \
|
||||
tst.InvalidModule2.d.ksh \
|
||||
tst.InvalidModule3.d.ksh \
|
||||
tst.InvalidModule4.d.ksh \
|
||||
tst.InvalidProbeIdentifier.d.ksh \
|
||||
tst.InvalidProvider1.d.ksh \
|
||||
tst.InvalidProvider2.d.ksh \
|
||||
tst.InvalidProvider3.d.ksh \
|
||||
tst.InvalidProvider4.d.ksh \
|
||||
tst.InvalidTraceFunc1.d.ksh \
|
||||
tst.InvalidTraceFunc2.d.ksh \
|
||||
tst.InvalidTraceFunc3.d.ksh \
|
||||
tst.InvalidTraceFunc4.d.ksh \
|
||||
tst.InvalidTraceFunc5.d.ksh \
|
||||
tst.InvalidTraceFunc6.d.ksh \
|
||||
tst.InvalidTraceFunc7.d.ksh \
|
||||
tst.InvalidTraceFunc8.d.ksh \
|
||||
tst.InvalidTraceFunc9.d.ksh \
|
||||
tst.InvalidTraceID1.d.ksh \
|
||||
tst.InvalidTraceID2.d.ksh \
|
||||
tst.InvalidTraceID3.d.ksh \
|
||||
tst.InvalidTraceID4.d.ksh \
|
||||
tst.InvalidTraceID5.d.ksh \
|
||||
tst.InvalidTraceID6.d.ksh \
|
||||
tst.InvalidTraceID7.d.ksh \
|
||||
tst.InvalidTraceModule1.d.ksh \
|
||||
tst.InvalidTraceModule2.d.ksh \
|
||||
tst.InvalidTraceModule3.d.ksh \
|
||||
tst.InvalidTraceModule4.d.ksh \
|
||||
tst.InvalidTraceModule5.d.ksh \
|
||||
tst.InvalidTraceModule6.d.ksh \
|
||||
tst.InvalidTraceModule7.d.ksh \
|
||||
tst.InvalidTraceModule8.d.ksh \
|
||||
tst.InvalidTraceName1.d.ksh \
|
||||
tst.InvalidTraceName2.d.ksh \
|
||||
tst.InvalidTraceName3.d.ksh \
|
||||
tst.InvalidTraceName4.d.ksh \
|
||||
tst.InvalidTraceName5.d.ksh \
|
||||
tst.InvalidTraceName6.d.ksh \
|
||||
tst.InvalidTraceName7.d.ksh \
|
||||
tst.InvalidTraceName8.d.ksh \
|
||||
tst.InvalidTraceName9.d.ksh \
|
||||
tst.InvalidTraceProvider1.d.ksh \
|
||||
tst.InvalidTraceProvider2.d.ksh \
|
||||
tst.InvalidTraceProvider3.d.ksh \
|
||||
tst.InvalidTraceProvider4.d.ksh \
|
||||
tst.InvalidTraceProvider5.d.ksh \
|
||||
tst.MultipleInvalidProbeId.d.ksh \
|
||||
tst.PreprocessorStatement.d.ksh \
|
||||
tst.QuietMode.d.ksh \
|
||||
tst.QuietMode.d.ksh.out \
|
||||
tst.TestCompile.d.ksh \
|
||||
tst.TestCompile.d.ksh.out \
|
||||
tst.UnDefineNameWithCPP.d.ksh \
|
||||
tst.ZeroFunctionProbes.d.ksh \
|
||||
tst.ZeroFunctionProbes.d.ksh.out \
|
||||
tst.ZeroModuleProbes.d.ksh \
|
||||
tst.ZeroModuleProbes.d.ksh.out \
|
||||
tst.ZeroNameProbes.d.ksh \
|
||||
tst.ZeroNameProbes.d.ksh.out \
|
||||
tst.ZeroProbeIdentfier.d.ksh \
|
||||
tst.ZeroProbesWithoutZ.d.ksh \
|
||||
tst.ZeroProviderProbes.d.ksh \
|
||||
tst.ZeroProviderProbes.d.ksh.out \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
21
cddl/usr.sbin/dtrace/tests/common/end/Makefile
Normal file
21
cddl/usr.sbin/dtrace/tests/common/end/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_IDENT_UNDEF.timespent.d \
|
||||
tst.end.d \
|
||||
tst.endwithoutbegin.d \
|
||||
tst.multibeginend.d \
|
||||
tst.multiend.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
21
cddl/usr.sbin/dtrace/tests/common/enum/Makefile
Normal file
21
cddl/usr.sbin/dtrace/tests/common/enum/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_DECL_IDRED.EnumSameName.d \
|
||||
err.D_UNKNOWN.RepeatIdentifiers.d \
|
||||
tst.EnumEquality.d \
|
||||
tst.EnumSameValue.d \
|
||||
tst.EnumValAssign.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
21
cddl/usr.sbin/dtrace/tests/common/error/Makefile
Normal file
21
cddl/usr.sbin/dtrace/tests/common/error/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
tst.DTRACEFLT_BADADDR.d \
|
||||
tst.DTRACEFLT_DIVZERO.d \
|
||||
tst.DTRACEFLT_UNKNOWN.d \
|
||||
tst.error.d \
|
||||
tst.errorend.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
19
cddl/usr.sbin/dtrace/tests/common/exit/Makefile
Normal file
19
cddl/usr.sbin/dtrace/tests/common/exit/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_PROTO_LEN.noarg.d \
|
||||
err.exitarg1.d \
|
||||
tst.basic1.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
26
cddl/usr.sbin/dtrace/tests/common/fbtprovider/Makefile
Normal file
26
cddl/usr.sbin/dtrace/tests/common/fbtprovider/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_PDESC_ZERO.notreturn.d \
|
||||
tst.basic.d \
|
||||
tst.functionentry.d \
|
||||
tst.functionreturnvalue.d \
|
||||
tst.ioctlargs.d \
|
||||
tst.offset.d \
|
||||
tst.offsetzero.d \
|
||||
tst.return.d \
|
||||
tst.return0.d \
|
||||
tst.tailcall.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
113
cddl/usr.sbin/dtrace/tests/common/funcs/Makefile
Normal file
113
cddl/usr.sbin/dtrace/tests/common/funcs/Makefile
Normal file
@ -0,0 +1,113 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_FUNC_UNDEF.progenyofbad1.d \
|
||||
err.D_OP_VFPTR.badop.d \
|
||||
err.D_PROTO_ARG.chillbadarg.d \
|
||||
err.D_PROTO_ARG.copyoutbadarg.d \
|
||||
err.D_PROTO_ARG.mobadarg.d \
|
||||
err.D_PROTO_ARG.raisebadarg.d \
|
||||
err.D_PROTO_ARG.tolower.d \
|
||||
err.D_PROTO_ARG.toupper.d \
|
||||
err.D_PROTO_LEN.allocanoarg.d \
|
||||
err.D_PROTO_LEN.badbreakpoint.d \
|
||||
err.D_PROTO_LEN.chilltoofew.d \
|
||||
err.D_PROTO_LEN.chilltoomany.d \
|
||||
err.D_PROTO_LEN.copyoutstrbadarg.d \
|
||||
err.D_PROTO_LEN.copyoutstrtoofew.d \
|
||||
err.D_PROTO_LEN.copyouttoofew.d \
|
||||
err.D_PROTO_LEN.copyouttoomany.d \
|
||||
err.D_PROTO_LEN.motoofew.d \
|
||||
err.D_PROTO_LEN.motoomany.d \
|
||||
err.D_PROTO_LEN.mtabadarg.d \
|
||||
err.D_PROTO_LEN.mtatoofew.d \
|
||||
err.D_PROTO_LEN.mtatoomany.d \
|
||||
err.D_PROTO_LEN.panicbadarg.d \
|
||||
err.D_PROTO_LEN.progenyofbad2.d \
|
||||
err.D_PROTO_LEN.stopbadarg.d \
|
||||
err.D_PROTO_LEN.tolower.d \
|
||||
err.D_PROTO_LEN.tolowertoomany.d \
|
||||
err.D_PROTO_LEN.toupper.d \
|
||||
err.D_PROTO_LEN.touppertoomany.d \
|
||||
err.D_STRINGOF_TYPE.badstringof.d \
|
||||
err.D_VAR_UNDEF.badvar.d \
|
||||
err.badalloca.d \
|
||||
err.badalloca2.d \
|
||||
err.badbcopy.d \
|
||||
err.badbcopy1.d \
|
||||
err.badbcopy2.d \
|
||||
err.badbcopy3.d \
|
||||
err.badbcopy4.d \
|
||||
err.badbcopy5.d \
|
||||
err.badbcopy6.d \
|
||||
err.badchill.d \
|
||||
err.chillbadarg.ksh \
|
||||
err.copyout.d \
|
||||
err.copyoutbadaddr.ksh \
|
||||
err.copyoutstrbadaddr.ksh \
|
||||
err.inet_ntoa6badaddr.d \
|
||||
err.inet_ntoabadaddr.d \
|
||||
err.inet_ntopbadaddr.d \
|
||||
err.inet_ntopbadarg.d \
|
||||
tst.badfreopen.ksh \
|
||||
tst.basename.d \
|
||||
tst.basename.d.out \
|
||||
tst.bcopy.d \
|
||||
tst.chill.ksh \
|
||||
tst.cleanpath.d \
|
||||
tst.cleanpath.d.out \
|
||||
tst.copyin.d \
|
||||
tst.copyinto.d \
|
||||
tst.ddi_pathname.d \
|
||||
tst.default.d \
|
||||
tst.freopen.ksh \
|
||||
tst.ftruncate.ksh \
|
||||
tst.ftruncate.ksh.out \
|
||||
tst.hton.d \
|
||||
tst.index.d \
|
||||
tst.index.d.out \
|
||||
tst.inet_ntoa.d \
|
||||
tst.inet_ntoa.d.out \
|
||||
tst.inet_ntoa6.d \
|
||||
tst.inet_ntoa6.d.out \
|
||||
tst.inet_ntop.d \
|
||||
tst.inet_ntop.d.out \
|
||||
tst.lltostr.d \
|
||||
tst.lltostr.d.out \
|
||||
tst.lltostrbase.d \
|
||||
tst.lltostrbase.d.out \
|
||||
tst.mutex_owned.d \
|
||||
tst.mutex_owner.d \
|
||||
tst.mutex_type_adaptive.d \
|
||||
tst.progenyof.d \
|
||||
tst.rand.d \
|
||||
tst.strchr.d \
|
||||
tst.strchr.d.out \
|
||||
tst.strjoin.d \
|
||||
tst.strjoin.d.out \
|
||||
tst.strstr.d \
|
||||
tst.strstr.d.out \
|
||||
tst.strtok.d \
|
||||
tst.strtok.d.out \
|
||||
tst.strtok_null.d \
|
||||
tst.substr.d \
|
||||
tst.substr.d.out \
|
||||
tst.substrminate.d \
|
||||
tst.substrminate.d.out \
|
||||
tst.system.d \
|
||||
tst.system.d.out \
|
||||
tst.tolower.d \
|
||||
tst.toupper.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
20
cddl/usr.sbin/dtrace/tests/common/grammar/Makefile
Normal file
20
cddl/usr.sbin/dtrace/tests/common/grammar/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_ADDROF_LVAL.d \
|
||||
err.D_EMPTY.empty.d \
|
||||
tst.clauses.d \
|
||||
tst.stmts.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
17
cddl/usr.sbin/dtrace/tests/common/include/Makefile
Normal file
17
cddl/usr.sbin/dtrace/tests/common/include/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
tst.includefirst.ksh \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
28
cddl/usr.sbin/dtrace/tests/common/inline/Makefile
Normal file
28
cddl/usr.sbin/dtrace/tests/common/inline/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_DECL_IDRED.redef1.d \
|
||||
err.D_DECL_IDRED.redef2.d \
|
||||
err.D_IDENT_UNDEF.recur.d \
|
||||
err.D_OP_INCOMPAT.baddef1.d \
|
||||
err.D_OP_INCOMPAT.baddef2.d \
|
||||
err.D_OP_INCOMPAT.badxlate.d \
|
||||
tst.InlineDataAssign.d \
|
||||
tst.InlineExpression.d \
|
||||
tst.InlineKinds.d \
|
||||
tst.InlineKinds.d.out \
|
||||
tst.InlineTypedef.d \
|
||||
tst.InlineWritableAssign.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
18
cddl/usr.sbin/dtrace/tests/common/io/Makefile
Normal file
18
cddl/usr.sbin/dtrace/tests/common/io/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
tst.fds.d \
|
||||
tst.fds.d.out \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
tst.fds.c \
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
36
cddl/usr.sbin/dtrace/tests/common/ip/Makefile
Normal file
36
cddl/usr.sbin/dtrace/tests/common/ip/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
tst.ipv4localicmp.ksh \
|
||||
tst.ipv4localicmp.ksh.out \
|
||||
tst.ipv4localtcp.ksh \
|
||||
tst.ipv4localtcp.ksh.out \
|
||||
tst.ipv4localudp.ksh \
|
||||
tst.ipv4localudp.ksh.out \
|
||||
tst.ipv4remoteicmp.ksh \
|
||||
tst.ipv4remoteicmp.ksh.out \
|
||||
tst.ipv4remotetcp.ksh \
|
||||
tst.ipv4remotetcp.ksh.out \
|
||||
tst.ipv4remoteudp.ksh \
|
||||
tst.ipv4remoteudp.ksh.out \
|
||||
tst.ipv6localicmp.ksh \
|
||||
tst.ipv6localicmp.ksh.out \
|
||||
tst.ipv6remoteicmp.ksh \
|
||||
tst.ipv6remoteicmp.ksh.out \
|
||||
tst.localtcpstate.ksh \
|
||||
tst.localtcpstate.ksh.out \
|
||||
tst.remotetcpstate.ksh \
|
||||
tst.remotetcpstate.ksh.out \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
44
cddl/usr.sbin/dtrace/tests/common/java_api/Makefile
Normal file
44
cddl/usr.sbin/dtrace/tests/common/java_api/Makefile
Normal file
@ -0,0 +1,44 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
tst.Abort.ksh \
|
||||
tst.Abort.ksh.out \
|
||||
tst.Bean.ksh \
|
||||
tst.Bean.ksh.out \
|
||||
tst.Close.ksh \
|
||||
tst.Close.ksh.out \
|
||||
tst.Drop.ksh \
|
||||
tst.Drop.ksh.out \
|
||||
tst.Enable.ksh \
|
||||
tst.Enable.ksh.out \
|
||||
tst.FunctionLookup.ksh \
|
||||
tst.FunctionLookup.ksh.out \
|
||||
tst.GetAggregate.ksh \
|
||||
tst.MaxConsumers.ksh \
|
||||
tst.MaxConsumers.ksh.out \
|
||||
tst.MultiAggPrinta.ksh \
|
||||
tst.MultiAggPrinta.ksh.out \
|
||||
tst.ProbeData.ksh \
|
||||
tst.ProbeData.ksh.out \
|
||||
tst.ProbeDescription.ksh \
|
||||
tst.ProbeDescription.ksh.out \
|
||||
tst.StateMachine.ksh \
|
||||
tst.StateMachine.ksh.out \
|
||||
tst.StopLock.ksh \
|
||||
tst.StopLock.ksh.out \
|
||||
tst.printa.d \
|
||||
tst.printa.d.out \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
tst.FunctionLookup.c \
|
||||
tst.ProbeData.c \
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
23
cddl/usr.sbin/dtrace/tests/common/json/Makefile
Normal file
23
cddl/usr.sbin/dtrace/tests/common/json/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
tst.general.d \
|
||||
tst.general.d.out \
|
||||
tst.strsize.d \
|
||||
tst.strsize.d.out \
|
||||
tst.usdt.d \
|
||||
tst.usdt.d.out \
|
||||
usdt.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
tst.usdt.c \
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
30
cddl/usr.sbin/dtrace/tests/common/lexer/Makefile
Normal file
30
cddl/usr.sbin/dtrace/tests/common/lexer/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_CHR_NL.char.d \
|
||||
err.D_CHR_NULL.char.d \
|
||||
err.D_INT_DIGIT.InvalidDigit.d \
|
||||
err.D_INT_OFLOW.BigInt.d \
|
||||
err.D_STR_NL.string.d \
|
||||
err.D_SYNTAX.brace1.d \
|
||||
err.D_SYNTAX.brace2.d \
|
||||
err.D_SYNTAX.brack1.d \
|
||||
err.D_SYNTAX.brack2.d \
|
||||
err.D_SYNTAX.brack3.d \
|
||||
err.D_SYNTAX.paren1.d \
|
||||
err.D_SYNTAX.paren2.d \
|
||||
err.D_SYNTAX.paren3.d \
|
||||
tst.D_MACRO_OFLOW.ParIntOvflow.d.ksh \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
50
cddl/usr.sbin/dtrace/tests/common/llquantize/Makefile
Normal file
50
cddl/usr.sbin/dtrace/tests/common/llquantize/Makefile
Normal file
@ -0,0 +1,50 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_LLQUANT_FACTOREVEN.nodivide.d \
|
||||
err.D_LLQUANT_FACTOREVEN.notfactor.d \
|
||||
err.D_LLQUANT_FACTORMATCH.d \
|
||||
err.D_LLQUANT_FACTORNSTEPS.d \
|
||||
err.D_LLQUANT_FACTORSMALL.d \
|
||||
err.D_LLQUANT_FACTORTYPE.d \
|
||||
err.D_LLQUANT_FACTORVAL.d \
|
||||
err.D_LLQUANT_HIGHMATCH.d \
|
||||
err.D_LLQUANT_HIGHTYPE.d \
|
||||
err.D_LLQUANT_HIGHVAL.d \
|
||||
err.D_LLQUANT_LOWMATCH.d \
|
||||
err.D_LLQUANT_LOWTYPE.d \
|
||||
err.D_LLQUANT_LOWVAL.d \
|
||||
err.D_LLQUANT_MAGRANGE.d \
|
||||
err.D_LLQUANT_MAGTOOBIG.d \
|
||||
err.D_LLQUANT_NSTEPMATCH.d \
|
||||
err.D_LLQUANT_NSTEPTYPE.d \
|
||||
err.D_LLQUANT_NSTEPVAL.d \
|
||||
tst.bases.d \
|
||||
tst.bases.d.out \
|
||||
tst.basic.d \
|
||||
tst.basic.d.out \
|
||||
tst.negorder.d \
|
||||
tst.negorder.d.out \
|
||||
tst.negvalue.d \
|
||||
tst.negvalue.d.out \
|
||||
tst.normal.d \
|
||||
tst.normal.d.out \
|
||||
tst.range.d \
|
||||
tst.range.d.out \
|
||||
tst.steps.d \
|
||||
tst.steps.d.out \
|
||||
tst.trunc.d \
|
||||
tst.trunc.d.out \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
17
cddl/usr.sbin/dtrace/tests/common/mdb/Makefile
Normal file
17
cddl/usr.sbin/dtrace/tests/common/mdb/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
tst.dtracedcmd.ksh \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
19
cddl/usr.sbin/dtrace/tests/common/mib/Makefile
Normal file
19
cddl/usr.sbin/dtrace/tests/common/mib/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
tst.icmp.ksh \
|
||||
tst.tcp.ksh \
|
||||
tst.udp.ksh \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
30
cddl/usr.sbin/dtrace/tests/common/misc/Makefile
Normal file
30
cddl/usr.sbin/dtrace/tests/common/misc/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_PRAGMA_OPTSET.d \
|
||||
tst.badopt.d \
|
||||
tst.boolopt.d \
|
||||
tst.boolopt.d.out \
|
||||
tst.dofmax.ksh \
|
||||
tst.dynopt.d \
|
||||
tst.dynopt.d.out \
|
||||
tst.enablerace.ksh \
|
||||
tst.haslam.d \
|
||||
tst.include.ksh \
|
||||
tst.macroglob.ksh \
|
||||
tst.macroglob.ksh.out \
|
||||
tst.roch.d \
|
||||
tst.schrock.ksh \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
34
cddl/usr.sbin/dtrace/tests/common/multiaggs/Makefile
Normal file
34
cddl/usr.sbin/dtrace/tests/common/multiaggs/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_PRINTA_AGGKEY.d \
|
||||
err.D_PRINTA_AGGPROTO.d \
|
||||
tst.many.d \
|
||||
tst.many.d.out \
|
||||
tst.same.d \
|
||||
tst.same.d.out \
|
||||
tst.sort.d \
|
||||
tst.sort.d.out \
|
||||
tst.sortpos.d \
|
||||
tst.sortpos.d.out \
|
||||
tst.tuplecompat.d \
|
||||
tst.tuplecompat.d.out \
|
||||
tst.zero.d \
|
||||
tst.zero.d.out \
|
||||
tst.zero2.d \
|
||||
tst.zero2.d.out \
|
||||
tst.zero3.d \
|
||||
tst.zero3.d.out \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
19
cddl/usr.sbin/dtrace/tests/common/nfs/Makefile
Normal file
19
cddl/usr.sbin/dtrace/tests/common/nfs/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
tst.call.d \
|
||||
tst.call3.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
tst.call.c \
|
||||
tst.call3.c \
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
28
cddl/usr.sbin/dtrace/tests/common/offsetof/Makefile
Normal file
28
cddl/usr.sbin/dtrace/tests/common/offsetof/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_OFFSETOF_BITFIELD.bitfield.d \
|
||||
err.D_OFFSETOF_TYPE.badtype.d \
|
||||
err.D_OFFSETOF_TYPE.notsou.d \
|
||||
err.D_UNKNOWN.OffsetofNULL.d \
|
||||
err.D_UNKNOWN.badmemb.d \
|
||||
tst.OffsetofAlias.d \
|
||||
tst.OffsetofArith.d \
|
||||
tst.OffsetofUnion.d \
|
||||
tst.struct.d \
|
||||
tst.struct.d.out \
|
||||
tst.union.d \
|
||||
tst.union.d.out \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
18
cddl/usr.sbin/dtrace/tests/common/operators/Makefile
Normal file
18
cddl/usr.sbin/dtrace/tests/common/operators/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
tst.ternary.d \
|
||||
tst.ternary.d.out \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
69
cddl/usr.sbin/dtrace/tests/common/pid/Makefile
Normal file
69
cddl/usr.sbin/dtrace/tests/common/pid/Makefile
Normal file
@ -0,0 +1,69 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_PDESC_ZERO.badlib.d \
|
||||
err.D_PDESC_ZERO.badproc1.d \
|
||||
err.D_PROC_BADPID.badproc2.d \
|
||||
err.D_PROC_CREATEFAIL.many.d \
|
||||
err.D_PROC_FUNC.badfunc.d \
|
||||
err.D_PROC_LIB.libdash.d \
|
||||
err.D_PROC_NAME.alldash.d \
|
||||
err.D_PROC_NAME.badname.d \
|
||||
err.D_PROC_NAME.globdash.d \
|
||||
err.D_PROC_OFF.toobig.d \
|
||||
tst.addprobes.ksh \
|
||||
tst.args1.d \
|
||||
tst.coverage.d \
|
||||
tst.emptystack.d \
|
||||
tst.emptystack.d.out \
|
||||
tst.float.d \
|
||||
tst.fork.d \
|
||||
tst.gcc.d \
|
||||
tst.killonerror.ksh \
|
||||
tst.main.ksh \
|
||||
tst.manypids.ksh \
|
||||
tst.newprobes.ksh \
|
||||
tst.newprobes.ksh.out \
|
||||
tst.probemod.ksh \
|
||||
tst.provregex1.ksh \
|
||||
tst.provregex2.ksh \
|
||||
tst.provregex2.ksh.out \
|
||||
tst.provregex3.ksh \
|
||||
tst.provregex3.ksh.out \
|
||||
tst.provregex4.ksh \
|
||||
tst.provregex4.ksh.out \
|
||||
tst.ret1.d \
|
||||
tst.ret2.d \
|
||||
tst.vfork.d \
|
||||
tst.weak1.d \
|
||||
tst.weak2.d \
|
||||
|
||||
TESTEXES= \
|
||||
err.D_PDESC_ZERO.badlib.exe \
|
||||
err.D_PROC_CREATEFAIL.many.exe \
|
||||
err.D_PROC_FUNC.badfunc.exe \
|
||||
err.D_PROC_LIB.libdash.exe \
|
||||
err.D_PROC_NAME.alldash.exe \
|
||||
err.D_PROC_NAME.badname.exe \
|
||||
err.D_PROC_NAME.globdash.exe \
|
||||
err.D_PROC_OFF.toobig.exe \
|
||||
tst.coverage.exe \
|
||||
tst.emptystack.exe \
|
||||
|
||||
CFILES= \
|
||||
tst.args1.c \
|
||||
tst.float.c \
|
||||
tst.fork.c \
|
||||
tst.gcc.c \
|
||||
tst.ret1.c \
|
||||
tst.ret2.c \
|
||||
tst.vfork.c \
|
||||
tst.weak1.c \
|
||||
tst.weak2.c \
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
19
cddl/usr.sbin/dtrace/tests/common/plockstat/Makefile
Normal file
19
cddl/usr.sbin/dtrace/tests/common/plockstat/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
tst.available.d \
|
||||
tst.libmap.d \
|
||||
|
||||
TESTEXES= \
|
||||
tst.available.exe \
|
||||
tst.libmap.exe \
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
48
cddl/usr.sbin/dtrace/tests/common/pointers/Makefile
Normal file
48
cddl/usr.sbin/dtrace/tests/common/pointers/Makefile
Normal file
@ -0,0 +1,48 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.BadAlign.d \
|
||||
err.D_ADDROF_VAR.ArrayVar.d \
|
||||
err.D_ADDROF_VAR.DynamicVar.d \
|
||||
err.D_ADDROF_VAR.agg.d \
|
||||
err.D_DEREF_NONPTR.noptr.d \
|
||||
err.D_DEREF_VOID.VoidPointerDeref.d \
|
||||
err.D_OP_ARRFUN.ArrayAssignment.d \
|
||||
err.D_OP_INCOMPAT.VoidPointerArith.d \
|
||||
err.D_OP_LVAL.AddressChange.d \
|
||||
err.D_OP_PTR.NonPointerAccess.d \
|
||||
err.D_OP_PTR.badpointer.d \
|
||||
err.D_OP_SOU.BadPointerAccess.d \
|
||||
err.D_OP_SOU.badpointer.d \
|
||||
err.InvalidAddress1.d \
|
||||
err.InvalidAddress2.d \
|
||||
err.InvalidAddress3.d \
|
||||
err.InvalidAddress4.d \
|
||||
err.InvalidAddress5.d \
|
||||
tst.ArrayPointer1.d \
|
||||
tst.ArrayPointer2.d \
|
||||
tst.ArrayPointer3.d \
|
||||
tst.GlobalVar.d \
|
||||
tst.IntegerArithmetic1.d \
|
||||
tst.PointerArithmetic1.d \
|
||||
tst.PointerArithmetic2.d \
|
||||
tst.PointerArithmetic3.d \
|
||||
tst.PointerAssignment.d \
|
||||
tst.ValidPointer1.d \
|
||||
tst.ValidPointer2.d \
|
||||
tst.VoidCast.d \
|
||||
tst.basic1.d \
|
||||
tst.basic2.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
30
cddl/usr.sbin/dtrace/tests/common/pragma/Makefile
Normal file
30
cddl/usr.sbin/dtrace/tests/common/pragma/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_PRAGERR.d \
|
||||
err.D_PRAGMA_DEPEND.main.d \
|
||||
err.D_PRAGMA_INVAL.d \
|
||||
err.D_PRAGMA_MALFORM.d \
|
||||
err.D_PRAGMA_UNUSED.UnusedPragma.d \
|
||||
err.circlibdep.ksh \
|
||||
err.invalidlibdep.ksh \
|
||||
tst.libchain.ksh \
|
||||
tst.libdep.ksh \
|
||||
tst.libdepfullyconnected.ksh \
|
||||
tst.libdepsepdir.ksh \
|
||||
tst.temporal.ksh \
|
||||
tst.temporal2.ksh \
|
||||
tst.temporal3.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
25
cddl/usr.sbin/dtrace/tests/common/predicates/Makefile
Normal file
25
cddl/usr.sbin/dtrace/tests/common/predicates/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_PRED_SCALAR.NonScalarPred.d \
|
||||
err.D_SYNTAX.invalid.d \
|
||||
err.D_SYNTAX.operr.d \
|
||||
tst.argsnotcached.d \
|
||||
tst.basics.d \
|
||||
tst.basics.d.out \
|
||||
tst.complex.d \
|
||||
tst.complex.d.out \
|
||||
tst.predcache.ksh \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
53
cddl/usr.sbin/dtrace/tests/common/preprocessor/Makefile
Normal file
53
cddl/usr.sbin/dtrace/tests/common/preprocessor/Makefile
Normal file
@ -0,0 +1,53 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
TESTFILES= \
|
||||
err.D_IDENT_UNDEF.afterprobe.d \
|
||||
err.D_PRAGCTL_INVAL.tabdefine.d \
|
||||
err.D_SYNTAX.withoutpound.d \
|
||||
err.defincomp.d \
|
||||
err.ifdefelsenotendif.d \
|
||||
err.ifdefincomp.d \
|
||||
err.ifdefnotendif.d \
|
||||
err.incompelse.d \
|
||||
err.mulelse.d \
|
||||
tst.ifdef.d \
|
||||
tst.ifdef.d.out \
|
||||
tst.ifndef.d \
|
||||
tst.ifndef.d.out \
|
||||
tst.ifnotdef.d \
|
||||
tst.ifnotdef.d.out \
|
||||
tst.logicaland.d \
|
||||
tst.logicaland.d.out \
|
||||
tst.logicalandor.d \
|
||||
tst.logicalandor.d.out \
|
||||
tst.logicalor.d \
|
||||
tst.logicalor.d.out \
|
||||
tst.muland.d \
|
||||
tst.muland.d.out \
|
||||
tst.mulor.d \
|
||||
tst.mulor.d.out \
|
||||
tst.precondi.d \
|
||||
tst.precondi.d.out \
|
||||
tst.predicatedeclare.d \
|
||||
tst.preexp.d \
|
||||
tst.preexp.d.out \
|
||||
tst.preexpelse.d \
|
||||
tst.preexpelse.d.out \
|
||||
tst.preexpif.d \
|
||||
tst.preexpif.d.out \
|
||||
tst.preexpifelse.d \
|
||||
tst.preexpifelse.d.out \
|
||||
tst.withinprobe.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../Makefile.inc1"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user