From owner-freebsd-questions@freebsd.org Wed Jan 10 12:39:53 2018 Return-Path: Delivered-To: freebsd-questions@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 562E1E7DEAE for ; Wed, 10 Jan 2018 12:39:53 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail2.nber.org (mail2.nber.org [198.71.6.79]) by mx1.freebsd.org (Postfix) with ESMTP id DD82171FF3; Wed, 10 Jan 2018 12:39:52 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from sas1.nber.org (sas1.nber.org [198.71.6.89]) by mail2.nber.org (8.15.2/8.15.2) with ESMTPS id w0ACbSiA007104 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Jan 2018 07:37:28 -0500 (EST) (envelope-from feenberg@nber.org) Date: Wed, 10 Jan 2018 07:37:28 -0500 (EST) From: Daniel Feenberg To: Dave B cc: Ed Maste , freebsd-questions@freebsd.org Subject: =?UTF-8?Q?Re=3A_32_bit_fix=3F_=28Was_Re=3A_Meltdown_=E2=80?= =?UTF-8?Q?=93_Spectre=29?= In-Reply-To: <6523f352-c895-e488-8006-76495907745a@googlemail.com> Message-ID: References: <2e86bfd9-9141-2872-1946-0e9d26326433@googlemail.com> <6523f352-c895-e488-8006-76495907745a@googlemail.com> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Status: not scanned, disabled by settings X-KLMS-AntiSpam-Interceptor-Info: not scanned X-KLMS-AntiPhishing: Clean, 2018/01/09 16:30:43 X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.721, bases: 2018/01/10 05:31:00 #11562500 X-KLMS-AntiVirus-Status: Clean, skipped Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2018 12:39:53 -0000 On Wed, 10 Jan 2018, Dave B via freebsd-questions wrote: > Hi Ed. > > Understood.   There's "a lot" of FreeBSD based kit out there, running on > 32 bit hardware.  A lot of NAS's for one.   (I don’t suppose any of > those commercial "appliances" will ever be updated though.) > Are NAS's a worry? Wouldn't the typical NAS login have root already? Why would anyone other than the system admin have a login on the NAS box at all? If the NAS isn't used as a web browser or MUA, how would the malware get to be run by an unprivileged user? I understand that the vulnerability can be demonstrated in Javascript, but this would be an attack on the client running with the privileges of the web browser. That isn't something that would happen on the typical system services appliance such as a NAS box, switch, or router. daniel feenberg NBER From owner-freebsd-questions@freebsd.org Wed Jan 10 13:01:26 2018 Return-Path: Delivered-To: freebsd-questions@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 99060E7F0C9 for ; Wed, 10 Jan 2018 13:01:26 +0000 (UTC) (envelope-from v.dol_s@hotmail.com) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-oln040092064039.outbound.protection.outlook.com [40.92.64.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0DC1E7369B for ; Wed, 10 Jan 2018 13:01:25 +0000 (UTC) (envelope-from v.dol_s@hotmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=rQ+uevW0e5koeZfrhUhArZxdfJRfvvU3f/2zlHYLUVk=; b=iyqEypGFalg8j9EfMaDMDndFTuDM2psKOdzCbldyBwVrZHiUIcOX9Z9oWtHstS5KXo2JGU22hB2W/ouf+fvtcMazEZLud/fk+EwCMay/v+8XryTe+xMkgf07E2Lzk12rneS+YqyoFcRf2P+0o16bWPX7AXawXOzlg/Uke7qoxDUM+Cp9A73q5l7k2z30tS0BTZCuwN0hi4FJkxXY9rfJ9XG8kQNpzp4SBFyOM6aciVZYKgw7Jgm8PqYIVuFbzyZuMMWJzm0ocoZ0OxKk9G3r+e2jupIjWR9zD/N4a0TVfCVMkKKaoNFgfvEx7/dZerKJAGaLGF60EG7F/OWaOH7cQA== Received: from HE1EUR01FT049.eop-EUR01.prod.protection.outlook.com (10.152.0.57) by HE1EUR01HT219.eop-EUR01.prod.protection.outlook.com (10.152.1.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.345.12; Wed, 10 Jan 2018 13:01:23 +0000 Received: from AM5PR0902MB1923.eurprd09.prod.outlook.com (10.152.0.54) by HE1EUR01FT049.mail.protection.outlook.com (10.152.0.221) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.345.12 via Frontend Transport; Wed, 10 Jan 2018 13:01:23 +0000 Received: from AM5PR0902MB1923.eurprd09.prod.outlook.com ([fe80::e4a7:bead:3f27:7fd8]) by AM5PR0902MB1923.eurprd09.prod.outlook.com ([fe80::e4a7:bead:3f27:7fd8%13]) with mapi id 15.20.0386.008; Wed, 10 Jan 2018 13:01:23 +0000 From: Vitalio D To: "freebsd-questions@freebsd.org" Subject: where to find exit(int) function implementation Thread-Topic: where to find exit(int) function implementation Thread-Index: AQHTihKQe0z8Ge0DZk6xf6VVVCNQPA== Date: Wed, 10 Jan 2018 13:01:23 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:E0AF2726A4EFD77499AA904362635F6F058D430F2302E29F57D3AD7B74B23B9E; UpperCasedChecksum:318959DC3E7F87EFACB0DC3C5FED35A7BAFAC4094A1A7BDC9FAE374304F610FC; SizeAsReceived:6908; Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [tpyGuNk9RqruQwYY2uoBnVZAMUVAy/4K] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1EUR01HT219; 6:fW4nLbwFOJqi1jgaKrng8Nvw6mV8nCNk1NNAhySCfVvaPqCBVf1ATmP7sTLEP2hO2xOf0Tm72Gt8jWZtTZslS1VdBocbjKpd0HiYD5SiSV49rKH9pwbN5mBosxkSPKUGLOMcKyB0TNQvWLrGDVBhS4nIUqbgDV7rged+lfjkBDH+tW29Yc2iuU6OC6EJ/tzopBjRfnlkWbb2U/GmRORpxLlRhy/npNGmQ5DUbDQySt1dSEZFGkoVh94MmwSxG+5JLizFEF1ZpbmHmsrkAHLtwN7PdU1BwZRasjfohJ/LKEnCkDg9ESRcikCNtmk29Ow5PMMEE9Exb+srw81fLsqJhVui8Auk1NwbNpe7TF5S6Ts=; 5:KuCxJztEpnKPZNql0QFtMZhig7FtIqxg4P7y1ypa82a2IbizP9t3LAWqeNOtKqicpW2ajtm9mkRt9c3QX5GW1RTkLZBTtO788RHOQDKNYd2S/Uk5UINGvhx2znlvqbl5Eg9lH3lfsEV6LL/7F9IZ6e1P5BuZvG85jKnMGf3UyyA=; 24:xrH5w0wAg1mUVe1whK1pddFGLVRET7zhf/UUPDTF2bpz6U/CvlHxe5px+vxpSpX5y0BQzPoN/dB6bfeg5S5b7O64hrbxme06pVIEkplo6m8=; 7:rS80xCL/dl9itJEDOKOm8kSEMFaEr4WzAosk3B1iDUjX67BowOL+3c1djUBX1dX1owQEJa0V+EmiuzjgongmKSdwb7R81tIFjS9l7czvIfhNdE+WZ5oho73aaSaG4hgndcoy7Qc+4Y2azZYOBOxtWe2gORDos8Cm4fh0MXfmEm7Mcwk9gjE3Ely4M4NFDxnfz6hUF0DVBu0aAB8AOQj1y658NQWf+JDbjeLw2PY6P0mHECeXx4KOUOsKdHgQB5AH x-incomingheadercount: 44 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020051)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125374)(1701031045); SRVR:HE1EUR01HT219; x-ms-traffictypediagnostic: HE1EUR01HT219: x-ms-office365-filtering-correlation-id: c182c9df-319b-430f-88d5-08d5582a4028 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:HE1EUR01HT219; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:HE1EUR01HT219; x-forefront-prvs: 0548586081 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:HE1EUR01HT219; H:AM5PR0902MB1923.eurprd09.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: c182c9df-319b-430f-88d5-08d5582a4028 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jan 2018 13:01:23.0437 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR01HT219 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2018 13:01:26 -0000 Hello,=0A= =0A= How and where void _exit(int) is implemented? I've started=0A= with exit(int) defined in exit.c un stdlib, but I've got stuck at=0A= unistd.h where void _exit(int) __dead2;=0A= After that I couldn't find anything by running=0A= find /usr/src -name "*.c" -exec grep " _exit(int" /dev/null {} \;=0A= =0A= So I guess there is some unix convention magic involved but=0A= I can't point which one. Can someone be kind and explain or point=0A= out a resource where this trick is explained?=0A= =0A= Regards,=0A= Vitalio=