From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 30 18:23:29 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37BA41065677 for ; Wed, 30 Jun 2010 18:23:29 +0000 (UTC) (envelope-from andrey.zonov@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B4EF78FC1D for ; Wed, 30 Jun 2010 18:23:28 +0000 (UTC) Received: by bwz12 with SMTP id 12so634399bwz.13 for ; Wed, 30 Jun 2010 11:23:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=syK9YLz2F01T/ZNylOmvPZjlpgpYN16Nz7+OJT+HTuE=; b=vAuPhcEZonP8Rbs35wiveiwMh+8nd4aTWE/UQfkfH47o+dd8bGckoNMFEIYplTrUfp Ggnh5jD8lO3dmzLSG8G66zez6qaxsT869J4sABdNrxS+UjHr9Na/b+YNLgkFBjL4dKm/ cwL621bE7+a0hyxnikFFyUjFQadHYDTqGQCn0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=MnRJmK6ToYaVZoeqi6pkzQ1t8AyMoHHv9vzwGG8O9JpsL/BZE23SFmn3juYMuuMa5M wDRzNtBQPMn4/j2eW+2QM9T+ixwdq4xXyTNE+0rrPR2hS0ottAkMx8D0X1GEhwRHMdz0 HWM2uo94m7P0nG8/1L0B/3xpxwRA6Q2nqo+vk= Received: by 10.204.83.103 with SMTP id e39mr6489854bkl.107.1277922199538; Wed, 30 Jun 2010 11:23:19 -0700 (PDT) Received: from [10.254.254.77] (ppp79-139-207-225.pppoe.spdop.ru [79.139.207.225]) by mx.google.com with ESMTPS id bk5sm8395895bkb.22.2010.06.30.11.23.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 30 Jun 2010 11:23:18 -0700 (PDT) Message-ID: <4C2B8B95.4010908@gmail.com> Date: Wed, 30 Jun 2010 22:23:17 +0400 From: Andrey Zonov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: "Andrey V. Elsukov" References: <4C2AE37C.5060000@gmail.com> <4C2AF285.1090506@yandex.ru> In-Reply-To: <4C2AF285.1090506@yandex.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-hackers@freebsd.org Subject: Re: How change process flags from userland? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2010 18:23:29 -0000 Yes, but I want change process flags without kernel hacking/loading modules or modification applications. Andrey V. Elsukov пишет: > On 30.06.2010 10:26, Andrey Zonov wrote: > >> Hi, >> >> I want to set P_PROTECTED flag for some daemons after it start, without >> patching application and kernel. >> It possible? >> >> > > Did you try sysutils/scprotect? > > -- Andrey Zonov