From owner-freebsd-current@freebsd.org Mon Aug 20 14:55:15 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31FEF10709AE for ; Mon, 20 Aug 2018 14:55:15 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE50470D78 for ; Mon, 20 Aug 2018 14:55:14 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x229.google.com with SMTP id p81-v6so20796531itp.1 for ; Mon, 20 Aug 2018 07:55:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eKwRyYZzLoiaQ9rVC1Nvgn9NR4IEt1nm9+qSVlqvh9s=; b=h/+lPMEyLBevAhStwJ5GRexgDzwvpnJPYoEhR+ZD4FmT9L9s0yeh8MUVZrJe4TYhVH V01NfafNLiI18joLR09t4JvfLFaJpvKuQfbjSEBZdqxWn1HO65X/chzIpRywMVlITLbD 9V+Suxt+6sKboxgLkzYb52v1JW1tCZKh/FFRdYqg9kWfTtaksE/FwzqTrUVEd+nzL/S7 8Mn/QDmiVzwOyJQmE6/mEaDdaRKqlGSFutAhEXzRtnZYxOobHNPQ+g4/yszrCMar5VX4 c3GQm6gqKKOkrLKEmHN+f0LPN02p51DEuIF1aGJSYqQxqzTHzDeEbXIQS+YdMvb3IB0P pYeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eKwRyYZzLoiaQ9rVC1Nvgn9NR4IEt1nm9+qSVlqvh9s=; b=UIPjwG95FIo+yi72S20K/8irkUsQwNhFJCmaqZ/oCX7fChzCvScoy25GsK1nBewUWR tl/8uMPrFZolVH4nlapgTRDkufpBoWE+FHMYy16ei6dgfxX8Ae2gp7+0yX8EYzAaKc1i s5b2KkrR5MZn9nbeORRePMTYUXGbGExRlcb+vcERVYa0zoSgauUqu5Lp72GfDCO6iDn4 yjonUvXIoxflz/FiXQINqFHnaEIw08V8gTEf9sTF+dQoHZQRZyFx09Invp+FkO0UyZJ+ Tdpz839nfEeMOWMigtenKKacAwBBIVVRynGYGlGEOGoUUGp4cI2B3jVjM08nOVk+AVcg AWiw== X-Gm-Message-State: AOUpUlGAvvnhlgEBniMT/QyhckqIxc5mg7vly0qeqgWwYl9b11jrXCjk YiOXP9RwOXw/LaTaPQ6kq3DSFjtP8vnXHgRC2WkEug== X-Google-Smtp-Source: AA+uWPy3KoRUN8QGSbJEptI6rXpKaA/ttLWTnQrXm5BcHCUIiuEXNdgoi3NfJgI/vHm65Dtv4ot3MnABFSTtqefjAmo= X-Received: by 2002:a24:d0d6:: with SMTP id m205-v6mr500143itg.89.1534776914314; Mon, 20 Aug 2018 07:55:14 -0700 (PDT) MIME-Version: 1.0 References: <20180820134837.ckkdmls4z5lmkkai@mutt-hbsd> In-Reply-To: <20180820134837.ckkdmls4z5lmkkai@mutt-hbsd> From: blubee blubeeme Date: Mon, 20 Aug 2018 22:55:02 +0800 Message-ID: Subject: Re: What's this gregset_t gregs thing To: shawn.webb@hardenedbsd.org Cc: FreeBSD current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2018 14:55:15 -0000 On Mon, Aug 20, 2018 at 9:49 PM Shawn Webb wrote: > On Mon, Aug 20, 2018 at 08:33:04AM +0800, blubee blubeeme wrote: > > Linux has gregset_t gregs; > > > https://github.com/lattera/glibc/blob/master/sysdeps/unix/sysv/linux/x86/sys/ucontext.h > > Please note that that repo is hopelessly old and out-of-date. I > created it as a mirror of the official glibc repo because I was doing > some offensive research against GNU's RTLD way back in 2011-2012. The > repo hasn't been updated since. > > Thanks, > > -- > Shawn Webb > Cofounder and Security Engineer > HardenedBSD > > Tor-ified Signal: +1 443-546-8752 > Tor+XMPP+OTR: lattera@is.a.hacker.sx > GPG Key ID: 0x6A84658F52456EEE > GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE > Thanks for all the replies, I think OSX also lacks this gregs_t thing as well I was able to lock it up behind some ifdefs and all is well. Best, Owen