From owner-freebsd-hackers@FreeBSD.ORG Thu May 22 14:13:52 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0F37C517 for ; Thu, 22 May 2014 14:13:52 +0000 (UTC) Received: from na3sys010aog103.obsmtp.com (na3sys010aog103.obsmtp.com [74.125.245.74]) by mx1.freebsd.org (Postfix) with SMTP id C3DD82642 for ; Thu, 22 May 2014 14:13:51 +0000 (UTC) Received: from mail-ig0-f181.google.com ([209.85.213.181]) (using TLSv1) by na3sys010aob103.postini.com ([74.125.244.12]) with SMTP ID DSNKU34GH4oh4zFo7ny3vJFvWZ5uLuc+Wek+@postini.com; Thu, 22 May 2014 07:13:51 PDT Received: by mail-ig0-f181.google.com with SMTP id h3so3573938igd.2 for ; Thu, 22 May 2014 07:13:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=CLDqLxaKziRpFrudnntnYKzW9DHGV9ABqp2nfBxZX1w=; b=Wy86fNFPNC6FNunJEe+8g7/U4W3S9MPZBwkkJjadDd+sgtv7UZNzD6ve4Ak/+jsDtQ 5YFl4buBd6gVlNPIw2LDp650WPaWiQ1lefcCfiiPj4NWid5Ujx+06uElsmHIcGcIv3V3 WwPgWJJ43O0UIkqccWHtMRJy/aM09d2gTf3P2j2iMfSnTsG4V0zOKwFh2UZxXEkyR3UV yAzF/nCyKjxPkNZ9Yf4sKt1/Lvu2qWXNKiZ2XW8Y2JOfRxdlyLan3rKRxmKj5UMNz7MV dnGwcmNzW3oyq3/qQNB//lsoRG3JGf1bq1TpGGkCEcdJixNeq9KjGaFkL+qsQf6Z9y3P 1iJQ== X-Received: by 10.50.80.10 with SMTP id n10mr22507050igx.40.1400766603337; Thu, 22 May 2014 06:50:03 -0700 (PDT) X-Gm-Message-State: ALoCoQn7EEkodYdY6h/6oItIhjRogynl7gG07e/xphAglTN7Uts5KIUE75d5tDRvGZyVwCLZDiQU39zGk6TG3V97eJ6jjYf0TIs4nzY3BAbACSEb/JLvzd+Cu5gcCJiCvaUK/WJeIRyNnvfQhs0sXHrlr/2W3LDWAQ== X-Received: by 10.50.80.10 with SMTP id n10mr22507026igx.40.1400766603181; Thu, 22 May 2014 06:50:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.70.5 with HTTP; Thu, 22 May 2014 06:49:42 -0700 (PDT) From: Keno Fischer Date: Thu, 22 May 2014 15:49:42 +0200 Message-ID: Subject: Use of sigreturn(2) in longjmp(3). To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2014 14:13:52 -0000 Hello, The sigreturn manpage states: "This system call is used by the trampoline code and longjmp(3) when returning from a signal to the previously executing program". Now, I saw the system call in sigtramp.s, but I looked at setjmp.s can't find how longjmp does this. Am I missing something totally obvious? Thanks, Keno