From owner-svn-src-head@freebsd.org Tue Oct 31 03:54:37 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21E7EE4C7E1; Tue, 31 Oct 2017 03:54:37 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pg0-x22a.google.com (mail-pg0-x22a.google.com [IPv6:2607:f8b0:400e:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CE6291D22; Tue, 31 Oct 2017 03:54:36 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pg0-x22a.google.com with SMTP id r25so13521891pgn.4; Mon, 30 Oct 2017 20:54:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=P9UXhFF1tN/oemBuDqkNbJRW5xeIIGX9JGWRI4jSFuQ=; b=T6ezO43N7ccLSRzm5jpmOEJw77ATJducBjhneM8x7vQGjOTjxRfA0nmMy3aiz5IyyY 4YocUa5kDDDJtsmlK9MCLKRjTPfUO9MZmEvFODhLh/R/XYN0BcEpfy5+Z6SJuEXKiese HQ5bHNgQhNLH3UN8WI9oauDMLcj4nkhu5E09lx1lVc0YYVo1nDPbWX0h9uQdnZjyMqMC amH4WC/XyHmibyLBkGc0gpGG8oTMLOaY260HUSMrRXP0KOx7Q7HjfIYdfNfyortwS8xi zrHMGg0kykfiQe0I7/oUCmEVst1keiaw6wfsQYQj4IAaCy7PAdeW2AqJtCFNtyIJMtPu mBrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=P9UXhFF1tN/oemBuDqkNbJRW5xeIIGX9JGWRI4jSFuQ=; b=VszLWGJZAaoudXiCoE3/5x/8NJEwQq+w4oF1CLAEtERrs38kQGoPYIOOGGhGHX7diA 0NevKJwnZSV9VGDolQALTbl+Uu1M8WE6xcm6a5K2E4tHI6CBZBFKs04aYPYv5tUrpDA5 Pmt2GEsRODmEa3kiLHR834e5OLA3+0JTtvdL+k+JOzfmI1f1Vf+ZM069GK9YHdEF9uw5 hDI8qtrWjPbqov0c7PSZyaT6GWXtBbwEcYZ+73dIJazUPXd92fwWa+FDbHtaUAsWcVe5 1jHKoEBQFfpcchDzo0JB8m2T0GKFc2FcJ1LgWx1KxgZ4NFHERShup0Fq7ZkzY4X5l993 kX8A== X-Gm-Message-State: AMCzsaXTqC01ZQ4wlj2d5wPyI0aNAmUz0z2tWjehoUA/RVYYT3z2fG0a +eUo7m9M/0dtbyVd8aXkBJj5pFC4 X-Google-Smtp-Source: ABhQp+QE3/9dI4hJGHFiqI9EfGxpUyo00JL0gaCV2ErZKC0k2X0d6IjUEFmDVBjLo1yv8JQcfTQL/g== X-Received: by 10.84.229.5 with SMTP id b5mr589951plk.405.1509422075936; Mon, 30 Oct 2017 20:54:35 -0700 (PDT) Received: from pinklady.local (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id f191sm508001pgc.32.2017.10.30.20.54.34 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Oct 2017 20:54:35 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_774282D6-59C0-4AF4-8B5E-8E2F46DA909F"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: svn commit: r325062 - in head/lib: . libcasper libcasper/libcasper libcasper/services libcasper/services/cap_dns libcasper/services/cap_dns/tests libcasper/services/cap_grp libcasper/services/cap_g... From: "Ngie Cooper (yaneurabeya)" In-Reply-To: <201710281923.v9SJNvE5021346@repo.freebsd.org> Date: Mon, 30 Oct 2017 20:54:33 -0700 Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-Id: References: <201710281923.v9SJNvE5021346@repo.freebsd.org> To: Mariusz Zaborski X-Mailer: Apple Mail (2.3124) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 03:54:37 -0000 --Apple-Mail=_774282D6-59C0-4AF4-8B5E-8E2F46DA909F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Oct 28, 2017, at 12:23, Mariusz Zaborski = wrote: >=20 > Author: oshogbo > Date: Sat Oct 28 19:23:57 2017 > New Revision: 325062 > URL: https://svnweb.freebsd.org/changeset/base/325062 >=20 > Log: > Introduce caspermocks. >=20 > The idea behinds mocks is that we don't need to ifdef a lot of code = in > tools itself but those defines are hidden in the casper library. > Right now the mocks are implemented as define/inlines functions. > There was a very long discussion how this should be implemented. > This approach has some advantages like we don't need to link to any = additional > libraries. Unfortunately there are also some disadvantages for = example it is > easy to get library out of sync between two versions of functions or = that we > need extra define to compile program with casper support. > This isn't an ideal solution but it's good enough for now and should = simplify > capsicumizing programs. This also doesn't close us any other ways to = do those > mocks and this should evolve in time. >=20 > Discussed with: pjd, emaste, ed, rwatson, bapt, cem, bdrewery > Differential Revision: https://reviews.freebsd.org/D8753 This change broke tinderbox/Jenkins for powerpc and sparc64: = https://ci.freebsd.org/job/FreeBSD-head-powerpc-build/1865/console . -Ngie --Apple-Mail=_774282D6-59C0-4AF4-8B5E-8E2F46DA909F Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE5bk3FaGcY5rvqmb79YOpJmkwhhUFAln38/kACgkQ9YOpJmkw hhWHtBAAjhWrS+O8inpXwa0pBsQZPJocfW8uWIb9IRs9wCd9mOwxdc3vTpelmr2U N9/7q96KmeebQxIwBOCyzB7GyXHniVmmO96mhCTtMC1SBvUpJOc67mbklG94GfJ2 BKJmvb6WcGz/tjvgc+OiUcl1MKzcRjX7cenzv24TGylRJ9Ej0p2KrpXB4s4rRb3R MS0Z0ZjrXaYduiTy28qs8IwYamiSDdMkX9c7AbD0ItL/uJLZjpV4QOmFOh4CFY0Z pYAUwPY+zuOdzCN/6wplnAJrLWIAd7kb+MI2QREJVHYLFsZZ82xlOHSvHBStiEHa SqJXss5w6NkRFf1ev2sQVllXIu2OH2Mpvx0tpNLUOeSA3xfdaC2CPtm1KEzbHxCE Sy8gManeOQV3u1V2GorDn1wGDtngrT1YaYj2CBNmd5xDkkn/5jvzeosy3+lebU9R /plj8h1juW9jGpCsfOfmaS3kRGp8bhhGcBDOITCNlnMigjnyWm/0ewEVQWDSV4ZO t5g+8nFc8r1si3u8pV3d6vN5+jSOj3HaxyrEEQp49kY/Zz9ZTJ+so4ykWTEX8ogi RyCHje28aA33xkGb31vbax5gaaTLL76yxVmhSK6xPtNu226Q6t/ZDUzCBhx4rj3+ 5Pf7Upjxy/juJENTpnyEiDjkNWOgG3sIFaibW6HYLZ6EWUlUIzU= =EiDE -----END PGP SIGNATURE----- --Apple-Mail=_774282D6-59C0-4AF4-8B5E-8E2F46DA909F--