MFH
Sponsored by: The FreeBSD Foundation
This commit is contained in:
commit
1c7e318a9a
2
Makefile
2
Makefile
@ -148,7 +148,7 @@ TGTS+= ${BITGTS}
|
||||
|
||||
PATH= /sbin:/bin:/usr/sbin:/usr/bin
|
||||
MAKEOBJDIRPREFIX?= /usr/obj
|
||||
_MAKEOBJDIRPREFIX!= /usr/bin/env -i PATH=${PATH} ${MAKE} \
|
||||
_MAKEOBJDIRPREFIX!= /usr/bin/env -i PATH=${PATH} MK_AUTO_OBJ=no ${MAKE} \
|
||||
${.MAKEFLAGS:MMAKEOBJDIRPREFIX=*} __MAKE_CONF=${__MAKE_CONF} \
|
||||
-f /dev/null -V MAKEOBJDIRPREFIX dummy
|
||||
.if !empty(_MAKEOBJDIRPREFIX)
|
||||
|
@ -179,9 +179,9 @@ OSRELDATE= 0
|
||||
.endif
|
||||
|
||||
# Set VERSION for CTFMERGE to use via the default CTFFLAGS=-L VERSION.
|
||||
.if !defined(VERSION) && !make(showconfig)
|
||||
REVISION!= ${MAKE} -C ${SRCDIR}/release -V REVISION
|
||||
BRANCH!= ${MAKE} -C ${SRCDIR}/release -V BRANCH
|
||||
.if !defined(VERSION)
|
||||
REVISION!= MK_AUTO_OBJ=no ${MAKE} -C ${SRCDIR}/release -V REVISION
|
||||
BRANCH!= MK_AUTO_OBJ=no ${MAKE} -C ${SRCDIR}/release -V BRANCH
|
||||
SRCRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \
|
||||
${SRCDIR}/sys/sys/param.h
|
||||
VERSION= FreeBSD ${REVISION}-${BRANCH:C/-p[0-9]+$//} ${TARGET_ARCH} ${SRCRELDATE}
|
||||
@ -244,14 +244,11 @@ _TARGET_CPUTYPE=${TARGET_CPUTYPE}
|
||||
.else
|
||||
_TARGET_CPUTYPE=dummy
|
||||
.endif
|
||||
# Skip for showconfig as it is just wasted time and may invoke auto.obj.mk.
|
||||
.if !make(showconfig)
|
||||
_CPUTYPE!= MAKEFLAGS= CPUTYPE=${_TARGET_CPUTYPE} ${MAKE} \
|
||||
_CPUTYPE!= MK_AUTO_OBJ=no MAKEFLAGS= CPUTYPE=${_TARGET_CPUTYPE} ${MAKE} \
|
||||
-f /dev/null -m ${.CURDIR}/share/mk -V CPUTYPE
|
||||
.if ${_CPUTYPE} != ${_TARGET_CPUTYPE}
|
||||
.error CPUTYPE global should be set with ?=.
|
||||
.endif
|
||||
.endif
|
||||
.if make(buildworld)
|
||||
BUILD_ARCH!= uname -p
|
||||
.if ${MACHINE_ARCH} != ${BUILD_ARCH}
|
||||
|
@ -7843,22 +7843,6 @@ OLD_FILES+=usr/share/bsnmp/mibs/FOKUS-MIB.txt
|
||||
OLD_FILES+=usr/share/bsnmp/mibs/BEGEMOT-MIB.txt
|
||||
OLD_FILES+=usr/share/bsnmp/mibs/BEGEMOT-SNMPD.txt
|
||||
OLD_FILES+=usr/share/bsnmp/mibs/BEGEMOT-NETGRAPH.txt
|
||||
OLD_FILES+=usr/libdata/ldscripts/elf64_sparc.x
|
||||
OLD_FILES+=usr/libdata/ldscripts/elf64_sparc.xbn
|
||||
OLD_FILES+=usr/libdata/ldscripts/elf64_sparc.xn
|
||||
OLD_FILES+=usr/libdata/ldscripts/elf64_sparc.xr
|
||||
OLD_FILES+=usr/libdata/ldscripts/elf64_sparc.xs
|
||||
OLD_FILES+=usr/libdata/ldscripts/elf64_sparc.xu
|
||||
OLD_FILES+=usr/libdata/ldscripts/elf64_sparc.xc
|
||||
OLD_FILES+=usr/libdata/ldscripts/elf64_sparc.xsc
|
||||
OLD_FILES+=usr/libdata/ldscripts/elf32_sparc.x
|
||||
OLD_FILES+=usr/libdata/ldscripts/elf32_sparc.xbn
|
||||
OLD_FILES+=usr/libdata/ldscripts/elf32_sparc.xn
|
||||
OLD_FILES+=usr/libdata/ldscripts/elf32_sparc.xr
|
||||
OLD_FILES+=usr/libdata/ldscripts/elf32_sparc.xs
|
||||
OLD_FILES+=usr/libdata/ldscripts/elf32_sparc.xu
|
||||
OLD_FILES+=usr/libdata/ldscripts/elf32_sparc.xc
|
||||
OLD_FILES+=usr/libdata/ldscripts/elf32_sparc.xsc
|
||||
OLD_FILES+=usr/libdata/msdosfs/iso22dos
|
||||
OLD_FILES+=usr/libdata/msdosfs/iso72dos
|
||||
OLD_FILES+=usr/libdata/msdosfs/koi2dos
|
||||
|
11
bin/cat/tests/Makefile.depend
Normal file
11
bin/cat/tests/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
bin/date/tests/Makefile.depend
Normal file
11
bin/date/tests/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
bin/dd/tests/Makefile.depend
Normal file
11
bin/dd/tests/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
bin/expr/tests/Makefile.depend
Normal file
11
bin/expr/tests/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
bin/ls/tests/Makefile.depend
Normal file
11
bin/ls/tests/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
bin/mv/tests/Makefile.depend
Normal file
11
bin/mv/tests/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
bin/pax/tests/Makefile.depend
Normal file
11
bin/pax/tests/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
bin/pkill/tests/Makefile.depend
Normal file
11
bin/pkill/tests/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
@ -285,7 +285,7 @@ minus_o(char *name, int val)
|
||||
static void
|
||||
setoptionbyindex(int idx, int val)
|
||||
{
|
||||
if (optletter[idx] == 'p' && !val && privileged) {
|
||||
if (&optval[idx] == &privileged && !val && privileged) {
|
||||
if (setgid(getgid()) == -1)
|
||||
error("setgid");
|
||||
if (setuid(getuid()) == -1)
|
||||
@ -294,9 +294,9 @@ setoptionbyindex(int idx, int val)
|
||||
optval[idx] = val;
|
||||
if (val) {
|
||||
/* #%$ hack for ksh semantics */
|
||||
if (optletter[idx] == 'V')
|
||||
if (&optval[idx] == &Vflag)
|
||||
Eflag = 0;
|
||||
else if (optletter[idx] == 'E')
|
||||
else if (&optval[idx] == &Eflag)
|
||||
Vflag = 0;
|
||||
}
|
||||
}
|
||||
|
11
bin/sh/tests/Makefile.depend
Normal file
11
bin/sh/tests/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
@ -143,6 +143,7 @@ FILES+= return7.4
|
||||
FILES+= return8.0
|
||||
FILES+= set1.0
|
||||
FILES+= set2.0
|
||||
FILES+= set3.0
|
||||
FILES+= trap1.0
|
||||
FILES+= trap10.0
|
||||
FILES+= trap11.0
|
||||
|
11
bin/sh/tests/builtins/Makefile.depend
Normal file
11
bin/sh/tests/builtins/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
4
bin/sh/tests/builtins/set3.0
Normal file
4
bin/sh/tests/builtins/set3.0
Normal file
@ -0,0 +1,4 @@
|
||||
# $FreeBSD$
|
||||
|
||||
settings1=$(set +o) && set -o nolog && settings2=$(set +o) &&
|
||||
[ "$settings1" != "$settings2" ]
|
11
bin/sh/tests/errors/Makefile.depend
Normal file
11
bin/sh/tests/errors/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
bin/sh/tests/execution/Makefile.depend
Normal file
11
bin/sh/tests/execution/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
bin/sh/tests/expansion/Makefile.depend
Normal file
11
bin/sh/tests/expansion/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
bin/sh/tests/parameters/Makefile.depend
Normal file
11
bin/sh/tests/parameters/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
bin/sh/tests/parser/Makefile.depend
Normal file
11
bin/sh/tests/parser/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
bin/sh/tests/set-e/Makefile.depend
Normal file
11
bin/sh/tests/set-e/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
bin/sleep/tests/Makefile.depend
Normal file
11
bin/sleep/tests/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
bin/test/tests/Makefile.depend
Normal file
11
bin/test/tests/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
bin/tests/Makefile.depend
Normal file
11
bin/tests/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
@ -22,6 +22,7 @@
|
||||
/*
|
||||
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2011, 2015 by Delphix. All rights reserved.
|
||||
* Copyright (c) 2014 Integros [integros.com]
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -93,7 +93,7 @@ static int
|
||||
zfs_callback(zfs_handle_t *zhp, void *data)
|
||||
{
|
||||
callback_data_t *cb = data;
|
||||
boolean_t dontclose = B_FALSE;
|
||||
boolean_t should_close = B_TRUE;
|
||||
boolean_t include_snaps = zfs_include_snapshots(zhp, cb);
|
||||
boolean_t include_bmarks = (cb->cb_types & ZFS_TYPE_BOOKMARK);
|
||||
|
||||
@ -121,7 +121,7 @@ zfs_callback(zfs_handle_t *zhp, void *data)
|
||||
}
|
||||
}
|
||||
uu_avl_insert(cb->cb_avl, node, idx);
|
||||
dontclose = B_TRUE;
|
||||
should_close = B_FALSE;
|
||||
} else {
|
||||
free(node);
|
||||
}
|
||||
@ -147,7 +147,7 @@ zfs_callback(zfs_handle_t *zhp, void *data)
|
||||
cb->cb_depth--;
|
||||
}
|
||||
|
||||
if (!dontclose)
|
||||
if (should_close)
|
||||
zfs_close(zhp);
|
||||
|
||||
return (0);
|
||||
|
@ -29,6 +29,8 @@
|
||||
* Copyright (c) 2012 Martin Matuska <mm@FreeBSD.org>. All rights reserved.
|
||||
* Copyright (c) 2013 Steven Hartland. All rights reserved.
|
||||
* Copyright 2013 Nexenta Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2014 Integros [integros.com]
|
||||
* Copyright 2016 Igor Kozhukhov <ikozhukhov@gmail.com>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
@ -751,7 +753,7 @@ zfs_do_create(int argc, char **argv)
|
||||
{
|
||||
zfs_type_t type = ZFS_TYPE_FILESYSTEM;
|
||||
zfs_handle_t *zhp = NULL;
|
||||
uint64_t volsize;
|
||||
uint64_t volsize = 0;
|
||||
int c;
|
||||
boolean_t noreserve = B_FALSE;
|
||||
boolean_t bflag = B_FALSE;
|
||||
@ -846,14 +848,14 @@ zfs_do_create(int argc, char **argv)
|
||||
|
||||
if (type == ZFS_TYPE_VOLUME && !noreserve) {
|
||||
zpool_handle_t *zpool_handle;
|
||||
nvlist_t *real_props;
|
||||
nvlist_t *real_props = NULL;
|
||||
uint64_t spa_version;
|
||||
char *p;
|
||||
zfs_prop_t resv_prop;
|
||||
char *strval;
|
||||
char msg[1024];
|
||||
|
||||
if (p = strchr(argv[0], '/'))
|
||||
if ((p = strchr(argv[0], '/')) != NULL)
|
||||
*p = '\0';
|
||||
zpool_handle = zpool_open(g_zfs, argv[0]);
|
||||
if (p != NULL)
|
||||
@ -2360,6 +2362,9 @@ us_compare(const void *larg, const void *rarg, void *unused)
|
||||
if (rv64 != lv64)
|
||||
rc = (rv64 < lv64) ? 1 : -1;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (rc != 0) {
|
||||
@ -2415,7 +2420,7 @@ userspace_cb(void *arg, const char *domain, uid_t rid, uint64_t space)
|
||||
nvlist_t *props;
|
||||
us_node_t *n;
|
||||
zfs_sort_column_t *sortcol = cb->cb_sortcol;
|
||||
unsigned type;
|
||||
unsigned type = 0;
|
||||
const char *typestr;
|
||||
size_t namelen;
|
||||
size_t typelen;
|
||||
@ -3973,7 +3978,7 @@ zfs_do_send(int argc, char **argv)
|
||||
static int
|
||||
zfs_do_receive(int argc, char **argv)
|
||||
{
|
||||
int c, err;
|
||||
int c, err = 0;
|
||||
recvflags_t flags = { 0 };
|
||||
boolean_t abort_resumable = B_FALSE;
|
||||
|
||||
@ -4233,7 +4238,7 @@ deleg_perm_type(zfs_deleg_note_t note)
|
||||
}
|
||||
}
|
||||
|
||||
static int inline
|
||||
static int
|
||||
who_type2weight(zfs_deleg_who_type_t who_type)
|
||||
{
|
||||
int res;
|
||||
@ -4453,7 +4458,7 @@ fs_perm_fini(fs_perm_t *fsperm)
|
||||
uu_avl_destroy(fsperm->fsp_uge_avl);
|
||||
}
|
||||
|
||||
static void inline
|
||||
static void
|
||||
set_deleg_perm_node(uu_avl_t *avl, deleg_perm_node_t *node,
|
||||
zfs_deleg_who_type_t who_type, const char *name, char locality)
|
||||
{
|
||||
@ -4521,7 +4526,7 @@ parse_fs_perm(fs_perm_t *fsperm, nvlist_t *nvl)
|
||||
nvlist_t *nvl2 = NULL;
|
||||
const char *name = nvpair_name(nvp);
|
||||
uu_avl_t *avl = NULL;
|
||||
uu_avl_pool_t *avl_pool;
|
||||
uu_avl_pool_t *avl_pool = NULL;
|
||||
zfs_deleg_who_type_t perm_type = name[0];
|
||||
char perm_locality = name[1];
|
||||
const char *perm_name = name + 3;
|
||||
@ -4550,6 +4555,9 @@ parse_fs_perm(fs_perm_t *fsperm, nvlist_t *nvl)
|
||||
avl_pool = fspset->fsps_who_perm_avl_pool;
|
||||
avl = fsperm->fsp_uge_avl;
|
||||
break;
|
||||
|
||||
default:
|
||||
assert(!"unhandled zfs_deleg_who_type_t");
|
||||
}
|
||||
|
||||
if (is_set) {
|
||||
@ -4585,6 +4593,9 @@ parse_fs_perm(fs_perm_t *fsperm, nvlist_t *nvl)
|
||||
if (g)
|
||||
nice_name = g->gr_name;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (nice_name != NULL)
|
||||
@ -4853,11 +4864,12 @@ parse_allow_args(int argc, char **argv, boolean_t un, struct allow_opts *opts)
|
||||
allow_usage(un, B_FALSE,
|
||||
gettext("-u, -g, and -e are mutually exclusive\n"));
|
||||
|
||||
if (opts->prt_usage)
|
||||
if (opts->prt_usage) {
|
||||
if (argc == 0 && all_sum == 0)
|
||||
allow_usage(un, B_TRUE, NULL);
|
||||
else
|
||||
usage(B_FALSE);
|
||||
}
|
||||
|
||||
if (opts->set) {
|
||||
if (csuge_sum > 1)
|
||||
@ -4906,8 +4918,8 @@ store_allow_perm(zfs_deleg_who_type_t type, boolean_t local, boolean_t descend,
|
||||
int i;
|
||||
char ld[2] = { '\0', '\0' };
|
||||
char who_buf[ZFS_MAXNAMELEN+32];
|
||||
char base_type;
|
||||
char set_type;
|
||||
char base_type = '\0';
|
||||
char set_type = '\0';
|
||||
nvlist_t *base_nvl = NULL;
|
||||
nvlist_t *set_nvl = NULL;
|
||||
nvlist_t *nvl;
|
||||
@ -4956,6 +4968,10 @@ store_allow_perm(zfs_deleg_who_type_t type, boolean_t local, boolean_t descend,
|
||||
ld[0] = ZFS_DELEG_LOCAL;
|
||||
if (descend)
|
||||
ld[1] = ZFS_DELEG_DESCENDENT;
|
||||
break;
|
||||
|
||||
default:
|
||||
assert(set_type != '\0' && base_type != '\0');
|
||||
}
|
||||
|
||||
if (perms != NULL) {
|
||||
@ -5060,7 +5076,7 @@ construct_fsacl_list(boolean_t un, struct allow_opts *opts, nvlist_t **nvlp)
|
||||
|
||||
while (curr < end) {
|
||||
const char *who;
|
||||
zfs_deleg_who_type_t who_type;
|
||||
zfs_deleg_who_type_t who_type = ZFS_DELEG_WHO_UNKNOWN;
|
||||
char *endch;
|
||||
char *delim = strchr(curr, ',');
|
||||
char errbuf[256];
|
||||
@ -5110,12 +5126,13 @@ construct_fsacl_list(boolean_t un, struct allow_opts *opts, nvlist_t **nvlp)
|
||||
p = getpwuid(rid);
|
||||
}
|
||||
|
||||
if (p == NULL)
|
||||
if (p == NULL) {
|
||||
if (*endch != '\0') {
|
||||
g = getgrnam(curr);
|
||||
} else {
|
||||
g = getgrgid(rid);
|
||||
}
|
||||
}
|
||||
|
||||
if (p != NULL) {
|
||||
who_type = ZFS_DELEG_USER;
|
||||
@ -5188,7 +5205,7 @@ print_set_creat_perms(uu_avl_t *who_avl)
|
||||
}
|
||||
}
|
||||
|
||||
static void inline
|
||||
static void
|
||||
print_uge_deleg_perms(uu_avl_t *who_avl, boolean_t local, boolean_t descend,
|
||||
const char *title)
|
||||
{
|
||||
@ -5239,6 +5256,10 @@ print_uge_deleg_perms(uu_avl_t *who_avl, boolean_t local, boolean_t descend,
|
||||
case ZFS_DELEG_EVERYONE:
|
||||
who = gettext("everyone");
|
||||
who_name = NULL;
|
||||
break;
|
||||
|
||||
default:
|
||||
assert(who != NULL);
|
||||
}
|
||||
|
||||
prt_who = B_FALSE;
|
||||
@ -5407,8 +5428,7 @@ zfs_do_allow_unallow_impl(int argc, char **argv, boolean_t un)
|
||||
|
||||
cleanup0:
|
||||
nvlist_free(perm_nvl);
|
||||
if (update_perm_nvl != NULL)
|
||||
nvlist_free(update_perm_nvl);
|
||||
nvlist_free(update_perm_nvl);
|
||||
cleanup1:
|
||||
fs_perm_set_fini(&fs_perm_set);
|
||||
cleanup2:
|
||||
@ -5956,7 +5976,7 @@ share_mount_one(zfs_handle_t *zhp, int op, int flags, char *protocol,
|
||||
shared_nfs = zfs_is_shared_nfs(zhp, NULL);
|
||||
shared_smb = zfs_is_shared_smb(zhp, NULL);
|
||||
|
||||
if (shared_nfs && shared_smb ||
|
||||
if ((shared_nfs && shared_smb) ||
|
||||
(shared_nfs && strcmp(shareopts, "on") == 0 &&
|
||||
strcmp(smbshareopts, "off") == 0) ||
|
||||
(shared_smb && strcmp(smbshareopts, "on") == 0 &&
|
||||
@ -6430,7 +6450,7 @@ unshare_unmount(int op, int argc, char **argv)
|
||||
*/
|
||||
struct mnttab entry;
|
||||
uu_avl_pool_t *pool;
|
||||
uu_avl_t *tree;
|
||||
uu_avl_t *tree = NULL;
|
||||
unshare_unmount_node_t *node;
|
||||
uu_avl_index_t idx;
|
||||
uu_avl_walk_t *walk;
|
||||
@ -6924,7 +6944,7 @@ zfs_do_diff(int argc, char **argv)
|
||||
if (copy == NULL)
|
||||
usage(B_FALSE);
|
||||
|
||||
if (atp = strchr(copy, '@'))
|
||||
if ((atp = strchr(copy, '@')) != NULL)
|
||||
*atp = '\0';
|
||||
|
||||
if ((zhp = zfs_open(g_zfs, copy, ZFS_TYPE_FILESYSTEM)) == NULL)
|
||||
|
@ -20,7 +20,7 @@
|
||||
*/
|
||||
/*
|
||||
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012 by Delphix. All rights reserved.
|
||||
* Copyright (c) 2012, 2015 by Delphix. All rights reserved.
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -229,21 +229,57 @@ usage(void)
|
||||
"\t\tall records if 'all' is specificed.\n"
|
||||
"\n"
|
||||
"\tzinject -p <function name> pool\n"
|
||||
"\n"
|
||||
"\t\tInject a panic fault at the specified function. Only \n"
|
||||
"\t\tfunctions which call spa_vdev_config_exit(), or \n"
|
||||
"\t\tspa_vdev_exit() will trigger a panic.\n"
|
||||
"\n"
|
||||
"\tzinject -d device [-e errno] [-L <nvlist|uber|pad1|pad2>] [-F]\n"
|
||||
"\t [-T <read|write|free|claim|all> pool\n"
|
||||
"\n"
|
||||
"\t\tInject a fault into a particular device or the device's\n"
|
||||
"\t\tlabel. Label injection can either be 'nvlist', 'uber',\n "
|
||||
"\t\t'pad1', or 'pad2'.\n"
|
||||
"\t\t'errno' can be 'nxio' (the default), 'io', or 'dtl'.\n"
|
||||
"\n"
|
||||
"\tzinject -d device -A <degrade|fault> pool\n"
|
||||
"\n"
|
||||
"\t\tPerform a specific action on a particular device\n"
|
||||
"\n"
|
||||
"\tzinject -d device -D latency:lanes pool\n"
|
||||
"\n"
|
||||
"\t\tAdd an artificial delay to IO requests on a particular\n"
|
||||
"\t\tdevice, such that the requests take a minimum of 'latency'\n"
|
||||
"\t\tmilliseconds to complete. Each delay has an associated\n"
|
||||
"\t\tnumber of 'lanes' which defines the number of concurrent\n"
|
||||
"\t\tIO requests that can be processed.\n"
|
||||
"\n"
|
||||
"\t\tFor example, with a single lane delay of 10 ms (-D 10:1),\n"
|
||||
"\t\tthe device will only be able to service a single IO request\n"
|
||||
"\t\tat a time with each request taking 10 ms to complete. So,\n"
|
||||
"\t\tif only a single request is submitted every 10 ms, the\n"
|
||||
"\t\taverage latency will be 10 ms; but if more than one request\n"
|
||||
"\t\tis submitted every 10 ms, the average latency will be more\n"
|
||||
"\t\tthan 10 ms.\n"
|
||||
"\n"
|
||||
"\t\tSimilarly, if a delay of 10 ms is specified to have two\n"
|
||||
"\t\tlanes (-D 10:2), then the device will be able to service\n"
|
||||
"\t\ttwo requests at a time, each with a minimum latency of\n"
|
||||
"\t\t10 ms. So, if two requests are submitted every 10 ms, then\n"
|
||||
"\t\tthe average latency will be 10 ms; but if more than two\n"
|
||||
"\t\trequests are submitted every 10 ms, the average latency\n"
|
||||
"\t\twill be more than 10 ms.\n"
|
||||
"\n"
|
||||
"\t\tAlso note, these delays are additive. So two invocations\n"
|
||||
"\t\tof '-D 10:1', is roughly equivalent to a single invocation\n"
|
||||
"\t\tof '-D 10:2'. This also means, one can specify multiple\n"
|
||||
"\t\tlanes with differing target latencies. For example, an\n"
|
||||
"\t\tinvocation of '-D 10:1' followed by '-D 25:2' will\n"
|
||||
"\t\tcreate 3 lanes on the device; one lane with a latency\n"
|
||||
"\t\tof 10 ms and two lanes with a 25 ms latency.\n"
|
||||
"\n"
|
||||
"\tzinject -I [-s <seconds> | -g <txgs>] pool\n"
|
||||
"\n"
|
||||
"\t\tCause the pool to stop writing blocks yet not\n"
|
||||
"\t\treport errors for a duration. Simulates buggy hardware\n"
|
||||
"\t\tthat fails to honor cache flush requests.\n"
|
||||
@ -357,6 +393,9 @@ print_device_handler(int id, const char *pool, zinject_record_t *record,
|
||||
if (record->zi_guid == 0 || record->zi_func[0] != '\0')
|
||||
return (0);
|
||||
|
||||
if (record->zi_cmd == ZINJECT_DELAY_IO)
|
||||
return (0);
|
||||
|
||||
if (*count == 0) {
|
||||
(void) printf("%3s %-15s %s\n", "ID", "POOL", "GUID");
|
||||
(void) printf("--- --------------- ----------------\n");
|
||||
@ -370,6 +409,35 @@ print_device_handler(int id, const char *pool, zinject_record_t *record,
|
||||
return (0);
|
||||
}
|
||||
|
||||
static int
|
||||
print_delay_handler(int id, const char *pool, zinject_record_t *record,
|
||||
void *data)
|
||||
{
|
||||
int *count = data;
|
||||
|
||||
if (record->zi_guid == 0 || record->zi_func[0] != '\0')
|
||||
return (0);
|
||||
|
||||
if (record->zi_cmd != ZINJECT_DELAY_IO)
|
||||
return (0);
|
||||
|
||||
if (*count == 0) {
|
||||
(void) printf("%3s %-15s %-15s %-15s %s\n",
|
||||
"ID", "POOL", "DELAY (ms)", "LANES", "GUID");
|
||||
(void) printf("--- --------------- --------------- "
|
||||
"--------------- ----------------\n");
|
||||
}
|
||||
|
||||
*count += 1;
|
||||
|
||||
(void) printf("%3d %-15s %-15llu %-15llu %llx\n", id, pool,
|
||||
(u_longlong_t)NSEC2MSEC(record->zi_timer),
|
||||
(u_longlong_t)record->zi_nlanes,
|
||||
(u_longlong_t)record->zi_guid);
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
static int
|
||||
print_panic_handler(int id, const char *pool, zinject_record_t *record,
|
||||
void *data)
|
||||
@ -407,6 +475,13 @@ print_all_handlers(void)
|
||||
count = 0;
|
||||
}
|
||||
|
||||
(void) iter_handlers(print_delay_handler, &count);
|
||||
if (count > 0) {
|
||||
total += count;
|
||||
(void) printf("\n");
|
||||
count = 0;
|
||||
}
|
||||
|
||||
(void) iter_handlers(print_data_handler, &count);
|
||||
if (count > 0) {
|
||||
total += count;
|
||||
@ -549,6 +624,35 @@ perform_action(const char *pool, zinject_record_t *record, int cmd)
|
||||
return (1);
|
||||
}
|
||||
|
||||
static int
|
||||
parse_delay(char *str, uint64_t *delay, uint64_t *nlanes)
|
||||
{
|
||||
unsigned long scan_delay;
|
||||
unsigned long scan_nlanes;
|
||||
|
||||
if (sscanf(str, "%lu:%lu", &scan_delay, &scan_nlanes) != 2)
|
||||
return (1);
|
||||
|
||||
/*
|
||||
* We explicitly disallow a delay of zero here, because we key
|
||||
* off this value being non-zero in translate_device(), to
|
||||
* determine if the fault is a ZINJECT_DELAY_IO fault or not.
|
||||
*/
|
||||
if (scan_delay == 0)
|
||||
return (1);
|
||||
|
||||
/*
|
||||
* The units for the CLI delay parameter is milliseconds, but
|
||||
* the data passed to the kernel is interpreted as nanoseconds.
|
||||
* Thus we scale the milliseconds to nanoseconds here, and this
|
||||
* nanosecond value is used to pass the delay to the kernel.
|
||||
*/
|
||||
*delay = MSEC2NSEC(scan_delay);
|
||||
*nlanes = scan_nlanes;
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
@ -632,8 +736,9 @@ main(int argc, char **argv)
|
||||
device = optarg;
|
||||
break;
|
||||
case 'D':
|
||||
record.zi_timer = strtoull(optarg, &end, 10);
|
||||
if (errno != 0 || *end != '\0') {
|
||||
ret = parse_delay(optarg, &record.zi_timer,
|
||||
&record.zi_nlanes);
|
||||
if (ret != 0) {
|
||||
(void) fprintf(stderr, "invalid i/o delay "
|
||||
"value: '%s'\n", optarg);
|
||||
usage();
|
||||
|
@ -22,8 +22,9 @@
|
||||
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
|
||||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#pragma ident "%Z%%M% %I% %E% SMI"
|
||||
/*
|
||||
* Copyright 2016 Igor Kozhukhov <ikozhukhov@gmail.com>.
|
||||
*/
|
||||
|
||||
#include <solaris.h>
|
||||
#include <libintl.h>
|
||||
@ -132,7 +133,8 @@ pool_list_get(int argc, char **argv, zprop_list_t **proplist, int *err)
|
||||
for (i = 0; i < argc; i++) {
|
||||
zpool_handle_t *zhp;
|
||||
|
||||
if (zhp = zpool_open_canfail(g_zfs, argv[i])) {
|
||||
if ((zhp = zpool_open_canfail(g_zfs, argv[i])) !=
|
||||
NULL) {
|
||||
if (add_pool(zhp, zlp) != 0)
|
||||
*err = B_TRUE;
|
||||
} else {
|
||||
|
@ -26,6 +26,7 @@
|
||||
* Copyright (c) 2012 by Frederik Wessels. All rights reserved.
|
||||
* Copyright (c) 2012 Martin Matuska <mm@FreeBSD.org>. All rights reserved.
|
||||
* Copyright (c) 2013 by Prasad Joshi (sTec). All rights reserved.
|
||||
* Copyright 2016 Igor Kozhukhov <ikozhukhov@gmail.com>.
|
||||
*/
|
||||
|
||||
#include <solaris.h>
|
||||
@ -3171,33 +3172,6 @@ zpool_do_list(int argc, char **argv)
|
||||
return (ret);
|
||||
}
|
||||
|
||||
static nvlist_t *
|
||||
zpool_get_vdev_by_name(nvlist_t *nv, char *name)
|
||||
{
|
||||
nvlist_t **child;
|
||||
uint_t c, children;
|
||||
nvlist_t *match;
|
||||
char *path;
|
||||
|
||||
if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN,
|
||||
&child, &children) != 0) {
|
||||
verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) == 0);
|
||||
if (strncmp(name, _PATH_DEV, sizeof(_PATH_DEV) - 1) == 0)
|
||||
name += sizeof(_PATH_DEV) - 1;
|
||||
if (strncmp(path, _PATH_DEV, sizeof(_PATH_DEV) - 1) == 0)
|
||||
path += sizeof(_PATH_DEV) - 1;
|
||||
if (strcmp(name, path) == 0)
|
||||
return (nv);
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
for (c = 0; c < children; c++)
|
||||
if ((match = zpool_get_vdev_by_name(child[c], name)) != NULL)
|
||||
return (match);
|
||||
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
static int
|
||||
zpool_do_attach_or_replace(int argc, char **argv, int replacing)
|
||||
{
|
||||
@ -3413,8 +3387,7 @@ zpool_do_split(int argc, char **argv)
|
||||
if (add_prop_list(
|
||||
zpool_prop_to_name(ZPOOL_PROP_ALTROOT), optarg,
|
||||
&props, B_TRUE) != 0) {
|
||||
if (props)
|
||||
nvlist_free(props);
|
||||
nvlist_free(props);
|
||||
usage(B_FALSE);
|
||||
}
|
||||
break;
|
||||
@ -3427,8 +3400,7 @@ zpool_do_split(int argc, char **argv)
|
||||
propval++;
|
||||
if (add_prop_list(optarg, propval,
|
||||
&props, B_TRUE) != 0) {
|
||||
if (props)
|
||||
nvlist_free(props);
|
||||
nvlist_free(props);
|
||||
usage(B_FALSE);
|
||||
}
|
||||
} else {
|
||||
@ -3928,7 +3900,7 @@ print_scan_status(pool_scan_stat_t *ps)
|
||||
*/
|
||||
if (ps->pss_state == DSS_FINISHED) {
|
||||
uint64_t minutes_taken = (end - start) / 60;
|
||||
char *fmt;
|
||||
char *fmt = NULL;
|
||||
|
||||
if (ps->pss_func == POOL_SCAN_SCRUB) {
|
||||
fmt = gettext("scrub repaired %s in %lluh%um with "
|
||||
@ -5562,7 +5534,7 @@ find_command_idx(char *command, int *idx)
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
int ret;
|
||||
int ret = 0;
|
||||
int i;
|
||||
char *cmdname;
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
/*
|
||||
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013 by Delphix. All rights reserved.
|
||||
* Copyright 2016 Igor Kozhukhov <ikozhukhov@gmail.com>.
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -588,7 +589,9 @@ get_replication(nvlist_t *nvroot, boolean_t fatal)
|
||||
uint_t c, children;
|
||||
nvlist_t *nv;
|
||||
char *type;
|
||||
replication_level_t lastrep, rep, *ret;
|
||||
replication_level_t lastrep = {0};
|
||||
replication_level_t rep;
|
||||
replication_level_t *ret;
|
||||
boolean_t dontreport;
|
||||
|
||||
ret = safe_malloc(sizeof (replication_level_t));
|
||||
@ -1080,7 +1083,7 @@ is_device_in_use(nvlist_t *config, nvlist_t *nv, boolean_t force,
|
||||
nvlist_t **child;
|
||||
uint_t c, children;
|
||||
char *type, *path;
|
||||
int ret;
|
||||
int ret = 0;
|
||||
char buf[MAXPATHLEN];
|
||||
uint64_t wholedisk;
|
||||
boolean_t anyinuse = B_FALSE;
|
||||
@ -1449,8 +1452,7 @@ split_mirror_vdev(zpool_handle_t *zhp, char *newname, nvlist_t *props,
|
||||
}
|
||||
|
||||
if (zpool_vdev_split(zhp, newname, &newroot, props, flags) != 0) {
|
||||
if (newroot != NULL)
|
||||
nvlist_free(newroot);
|
||||
nvlist_free(newroot);
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
|
||||
/*
|
||||
* Copyright (c) 2013, 2014 by Delphix. All rights reserved.
|
||||
* Copyright (c) 2014 Integros [integros.com]
|
||||
*/
|
||||
|
||||
#include <ctype.h>
|
||||
|
@ -24,6 +24,7 @@
|
||||
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2012 Martin Matuska <mm@FreeBSD.org>. All rights reserved.
|
||||
* Copyright (c) 2013 Steven Hartland. All rights reserved.
|
||||
* Copyright (c) 2014 Integros [integros.com]
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -28,6 +28,7 @@
|
||||
* Copyright (c) 2012 Martin Matuska <mm@FreeBSD.org>. All rights reserved.
|
||||
* Copyright (c) 2013 Steven Hartland. All rights reserved.
|
||||
* Copyright 2013 Nexenta Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2014 Integros [integros.com]
|
||||
*/
|
||||
|
||||
#ifndef _LIBZFS_H
|
||||
@ -326,7 +327,7 @@ typedef enum {
|
||||
ZPOOL_STATUS_VERSION_OLDER, /* older legacy on-disk version */
|
||||
ZPOOL_STATUS_FEAT_DISABLED, /* supported features are disabled */
|
||||
ZPOOL_STATUS_RESILVERING, /* device being resilvered */
|
||||
ZPOOL_STATUS_OFFLINE_DEV, /* device online */
|
||||
ZPOOL_STATUS_OFFLINE_DEV, /* device offline */
|
||||
ZPOOL_STATUS_REMOVED_DEV, /* removed device */
|
||||
ZPOOL_STATUS_NON_NATIVE_ASHIFT, /* (e.g. 512e dev with ashift of 9) */
|
||||
|
||||
|
@ -74,6 +74,9 @@ zcmd_ioctl(int fd, int request, zfs_cmd_t *zc)
|
||||
|
||||
if (zfs_ioctl_version >= ZFS_IOCVER_DEADMAN) {
|
||||
switch (zfs_ioctl_version) {
|
||||
case ZFS_IOCVER_RESUME:
|
||||
cflag = ZFS_CMD_COMPAT_RESUME;
|
||||
break;
|
||||
case ZFS_IOCVER_EDBP:
|
||||
cflag = ZFS_CMD_COMPAT_EDBP;
|
||||
break;
|
||||
|
@ -318,8 +318,7 @@ zpool_refresh_stats(zpool_handle_t *zhp, boolean_t *missing)
|
||||
verify(nvlist_lookup_uint64(config,
|
||||
ZPOOL_CONFIG_POOL_TXG, &newtxg) == 0);
|
||||
|
||||
if (zhp->zpool_old_config != NULL)
|
||||
nvlist_free(zhp->zpool_old_config);
|
||||
nvlist_free(zhp->zpool_old_config);
|
||||
|
||||
if (oldtxg != newtxg) {
|
||||
nvlist_free(zhp->zpool_config);
|
||||
|
@ -29,6 +29,7 @@
|
||||
* Copyright (c) 2012 Martin Matuska <mm@FreeBSD.org>. All rights reserved.
|
||||
* Copyright (c) 2013 Steven Hartland. All rights reserved.
|
||||
* Copyright 2013 Nexenta Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2014 Integros [integros.com]
|
||||
*/
|
||||
|
||||
#include <ctype.h>
|
||||
@ -2063,8 +2064,7 @@ get_numeric_property(zfs_handle_t *zhp, zfs_prop_t prop, zprop_source_t *src,
|
||||
zcmd_free_nvlists(&zc);
|
||||
return (-1);
|
||||
}
|
||||
if (zplprops)
|
||||
nvlist_free(zplprops);
|
||||
nvlist_free(zplprops);
|
||||
zcmd_free_nvlists(&zc);
|
||||
break;
|
||||
|
||||
@ -4339,8 +4339,7 @@ zfs_smb_acl_mgmt(libzfs_handle_t *hdl, char *dataset, char *path,
|
||||
return (-1);
|
||||
}
|
||||
error = ioctl(hdl->libzfs_fd, ZFS_IOC_SMB_ACL, &zc);
|
||||
if (nvlist)
|
||||
nvlist_free(nvlist);
|
||||
nvlist_free(nvlist);
|
||||
return (error);
|
||||
}
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
/*
|
||||
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright 2015 Nexenta Systems, Inc. All rights reserved.
|
||||
* Copyright 2016 Joyent, Inc.
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -136,12 +137,13 @@ get_stats_for_obj(differ_info_t *di, const char *dsname, uint64_t obj,
|
||||
static void
|
||||
stream_bytes(FILE *fp, const char *string)
|
||||
{
|
||||
while (*string) {
|
||||
if (*string > ' ' && *string != '\\' && *string < '\177')
|
||||
(void) fprintf(fp, "%c", *string++);
|
||||
else {
|
||||
(void) fprintf(fp, "\\%03hho",
|
||||
(unsigned char)*string++);
|
||||
char c;
|
||||
|
||||
while ((c = *string++) != '\0') {
|
||||
if (c > ' ' && c != '\\' && c < '\177') {
|
||||
(void) fprintf(fp, "%c", c);
|
||||
} else {
|
||||
(void) fprintf(fp, "\\%03o", (uint8_t)c);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1331,8 +1331,7 @@ zpool_find_import_impl(libzfs_handle_t *hdl, importargs_t *iarg)
|
||||
venext = ve->ve_next;
|
||||
for (ce = ve->ve_configs; ce != NULL; ce = cenext) {
|
||||
cenext = ce->ce_next;
|
||||
if (ce->ce_config)
|
||||
nvlist_free(ce->ce_config);
|
||||
nvlist_free(ce->ce_config);
|
||||
free(ce);
|
||||
}
|
||||
free(ve);
|
||||
|
@ -1054,12 +1054,9 @@ zpool_open(libzfs_handle_t *hdl, const char *pool)
|
||||
void
|
||||
zpool_close(zpool_handle_t *zhp)
|
||||
{
|
||||
if (zhp->zpool_config)
|
||||
nvlist_free(zhp->zpool_config);
|
||||
if (zhp->zpool_old_config)
|
||||
nvlist_free(zhp->zpool_old_config);
|
||||
if (zhp->zpool_props)
|
||||
nvlist_free(zhp->zpool_props);
|
||||
nvlist_free(zhp->zpool_config);
|
||||
nvlist_free(zhp->zpool_old_config);
|
||||
nvlist_free(zhp->zpool_props);
|
||||
free(zhp);
|
||||
}
|
||||
|
||||
@ -1577,8 +1574,7 @@ zpool_import(libzfs_handle_t *hdl, nvlist_t *config, const char *newname,
|
||||
|
||||
ret = zpool_import_props(hdl, config, newname, props,
|
||||
ZFS_IMPORT_NORMAL);
|
||||
if (props)
|
||||
nvlist_free(props);
|
||||
nvlist_free(props);
|
||||
return (ret);
|
||||
}
|
||||
|
||||
@ -2901,8 +2897,7 @@ zpool_vdev_split(zpool_handle_t *zhp, char *newname, nvlist_t **newroot,
|
||||
&children) != 0) {
|
||||
zfs_error_aux(hdl, dgettext(TEXT_DOMAIN,
|
||||
"Source pool is missing vdev tree"));
|
||||
if (zc_props)
|
||||
nvlist_free(zc_props);
|
||||
nvlist_free(zc_props);
|
||||
return (-1);
|
||||
}
|
||||
|
||||
@ -3050,10 +3045,8 @@ zpool_vdev_split(zpool_handle_t *zhp, char *newname, nvlist_t **newroot,
|
||||
free(varray);
|
||||
}
|
||||
zcmd_free_nvlists(&zc);
|
||||
if (zc_props)
|
||||
nvlist_free(zc_props);
|
||||
if (newconfig)
|
||||
nvlist_free(newconfig);
|
||||
nvlist_free(zc_props);
|
||||
nvlist_free(newconfig);
|
||||
if (freelist) {
|
||||
nvlist_free(*newroot);
|
||||
*newroot = NULL;
|
||||
|
@ -27,6 +27,7 @@
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2013 Steven Hartland. All rights reserved.
|
||||
* Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.
|
||||
* Copyright (c) 2014 Integros [integros.com]
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
@ -2793,8 +2794,7 @@ zfs_receive_package(libzfs_handle_t *hdl, int fd, const char *destname,
|
||||
|
||||
out:
|
||||
fsavl_destroy(stream_avl);
|
||||
if (stream_nv)
|
||||
nvlist_free(stream_nv);
|
||||
nvlist_free(stream_nv);
|
||||
if (softerr)
|
||||
error = -2;
|
||||
if (anyerr)
|
||||
|
@ -22,6 +22,7 @@
|
||||
/*
|
||||
* Copyright (c) 2012, 2014 by Delphix. All rights reserved.
|
||||
* Copyright (c) 2013 Steven Hartland. All rights reserved.
|
||||
* Copyright (c) 2014 Integros [integros.com]
|
||||
*/
|
||||
|
||||
/*
|
||||
|
11
cddl/lib/tests/Makefile.depend
Normal file
11
cddl/lib/tests/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/sbin/tests/Makefile.depend
Normal file
11
cddl/sbin/tests/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/tests/Makefile.depend
Normal file
11
cddl/tests/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.bin/tests/Makefile.depend
Normal file
11
cddl/usr.bin/tests/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/aggs/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/aggs/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/arithmetic/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/arithmetic/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/arrays/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/arrays/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/assocs/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/assocs/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/begin/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/begin/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/bitfields/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/bitfields/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/buffering/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/buffering/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/builtinvar/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/builtinvar/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/cg/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/cg/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/clauses/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/clauses/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/cpc/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/cpc/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/decls/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/decls/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/drops/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/drops/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/dtraceUtil/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/dtraceUtil/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/end/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/end/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/enum/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/enum/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/error/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/error/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/exit/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/exit/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/funcs/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/funcs/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/grammar/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/grammar/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/include/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/include/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/inline/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/inline/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
17
cddl/usr.sbin/dtrace/tests/common/io/Makefile.depend
Normal file
17
cddl/usr.sbin/dtrace/tests/common/io/Makefile.depend
Normal file
@ -0,0 +1,17 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
gnu/lib/csu \
|
||||
gnu/lib/libgcc \
|
||||
include \
|
||||
lib/${CSU_DIR} \
|
||||
lib/libc \
|
||||
lib/libcompiler_rt \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/ip/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/ip/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
17
cddl/usr.sbin/dtrace/tests/common/java_api/Makefile.depend
Normal file
17
cddl/usr.sbin/dtrace/tests/common/java_api/Makefile.depend
Normal file
@ -0,0 +1,17 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
gnu/lib/csu \
|
||||
gnu/lib/libgcc \
|
||||
include \
|
||||
lib/${CSU_DIR} \
|
||||
lib/libc \
|
||||
lib/libcompiler_rt \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
17
cddl/usr.sbin/dtrace/tests/common/json/Makefile.depend
Normal file
17
cddl/usr.sbin/dtrace/tests/common/json/Makefile.depend
Normal file
@ -0,0 +1,17 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
gnu/lib/csu \
|
||||
gnu/lib/libgcc \
|
||||
include \
|
||||
lib/${CSU_DIR} \
|
||||
lib/libc \
|
||||
lib/libcompiler_rt \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/lexer/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/lexer/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/llquantize/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/llquantize/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/mdb/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/mdb/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/mib/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/mib/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/misc/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/misc/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/multiaggs/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/multiaggs/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/offsetof/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/offsetof/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/operators/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/operators/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
17
cddl/usr.sbin/dtrace/tests/common/pid/Makefile.depend
Normal file
17
cddl/usr.sbin/dtrace/tests/common/pid/Makefile.depend
Normal file
@ -0,0 +1,17 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
gnu/lib/csu \
|
||||
gnu/lib/libgcc \
|
||||
include \
|
||||
lib/${CSU_DIR} \
|
||||
lib/libc \
|
||||
lib/libcompiler_rt \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/plockstat/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/plockstat/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/pointers/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/pointers/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/pragma/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/pragma/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/predicates/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/predicates/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/print/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/print/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/printa/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/printa/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/printf/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/printf/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/privs/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/privs/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/probes/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/probes/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
20
cddl/usr.sbin/dtrace/tests/common/proc/Makefile.depend
Normal file
20
cddl/usr.sbin/dtrace/tests/common/proc/Makefile.depend
Normal file
@ -0,0 +1,20 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
gnu/lib/csu \
|
||||
gnu/lib/libgcc \
|
||||
include \
|
||||
include/xlocale \
|
||||
lib/${CSU_DIR} \
|
||||
lib/libc \
|
||||
lib/libcompiler_rt \
|
||||
lib/librt \
|
||||
lib/libthr \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
16
cddl/usr.sbin/dtrace/tests/common/profile-n/Makefile.depend
Normal file
16
cddl/usr.sbin/dtrace/tests/common/profile-n/Makefile.depend
Normal file
@ -0,0 +1,16 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
gnu/lib/csu \
|
||||
gnu/lib/libgcc \
|
||||
lib/${CSU_DIR} \
|
||||
lib/libc \
|
||||
lib/libcompiler_rt \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
11
cddl/usr.sbin/dtrace/tests/common/providers/Makefile.depend
Normal file
11
cddl/usr.sbin/dtrace/tests/common/providers/Makefile.depend
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
17
cddl/usr.sbin/dtrace/tests/common/raise/Makefile.depend
Normal file
17
cddl/usr.sbin/dtrace/tests/common/raise/Makefile.depend
Normal file
@ -0,0 +1,17 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
gnu/lib/csu \
|
||||
gnu/lib/libgcc \
|
||||
include \
|
||||
lib/${CSU_DIR} \
|
||||
lib/libc \
|
||||
lib/libcompiler_rt \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user