From owner-freebsd-questions@FreeBSD.ORG Thu Nov 27 08:12:58 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7F9E985A for ; Thu, 27 Nov 2014 08:12:58 +0000 (UTC) Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0108.outbound.protection.outlook.com [157.55.234.108]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 08D5FC59 for ; Thu, 27 Nov 2014 08:12:56 +0000 (UTC) Received: from AM2PR04MB0547.eurprd04.prod.outlook.com (25.160.31.139) by AM2PR04MB0548.eurprd04.prod.outlook.com (25.160.31.14) with Microsoft SMTP Server (TLS) id 15.1.26.15; Thu, 27 Nov 2014 08:12:47 +0000 Received: from AM2PR04MB0547.eurprd04.prod.outlook.com ([25.160.31.139]) by AM2PR04MB0547.eurprd04.prod.outlook.com ([25.160.31.139]) with mapi id 15.01.0026.003; Thu, 27 Nov 2014 08:12:47 +0000 From: Moreno Carullo To: "freebsd-questions@freebsd.org" Subject: Testing if a process is protected Thread-Topic: Testing if a process is protected Thread-Index: AQHQChntYr1muMnZ80utAYbjp4VfkA== Date: Thu, 27 Nov 2014 08:12:47 +0000 Message-ID: <02A42D40-6B9F-4322-9BA0-4D96A8B5C422@nozominetworks.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [151.66.168.230] x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:AM2PR04MB0548; x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:AM2PR04MB0548; x-forefront-prvs: 040866B734 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(164054003)(189002)(199003)(53754006)(77096003)(62966003)(106116001)(450100001)(106356001)(87936001)(120916001)(16236675004)(77156002)(101416001)(54356999)(83716003)(50986999)(2656002)(40100003)(110136001)(4396001)(558084003)(107046002)(107886001)(2351001)(86362001)(99396003)(229853001)(19580395003)(92726001)(92566001)(21056001)(82746002)(15975445006)(19617315012)(31966008)(95666004)(46102003)(64706001)(33656002)(36756003)(97736003)(20776003)(122556002)(105586002)(66066001)(104396001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM2PR04MB0548; H:AM2PR04MB0547.eurprd04.prod.outlook.com; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-OriginatorOrg: nozominetworks.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2014 08:12:58 -0000 Hi all, I am implementing a set of automated tests for my FreeBSD system, and I wou= ld like to verify that a specific process has been protect(ed) (https://www= .freebsd.org/cgi/man.cgi?query=3Dprotect&sektion=3D1). How can I verify that a given PID has been protected ? Thanks, Moreno