From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10966 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: Need to zero pads in msghdr Date: Thu, 26 Jan 2017 00:00:46 +0100 Message-ID: <20170125230042.GR17692@port70.net> References: <20170125194023.GQ17692@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1485385269 22337 195.159.176.226 (25 Jan 2017 23:01:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 25 Jan 2017 23:01:09 +0000 (UTC) User-Agent: Mutt/1.6.0 (2016-04-01) Cc: Andrei Vagin To: musl@lists.openwall.com Original-X-From: musl-return-10981-gllmg-musl=m.gmane.org@lists.openwall.com Thu Jan 26 00:01:05 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1cWWYi-0004mS-8e for gllmg-musl@m.gmane.org; Thu, 26 Jan 2017 00:00:56 +0100 Original-Received: (qmail 26174 invoked by uid 550); 25 Jan 2017 23:00:58 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 26150 invoked from network); 25 Jan 2017 23:00:57 -0000 Mail-Followup-To: musl@lists.openwall.com, Andrei Vagin Content-Disposition: inline In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:10966 Archived-At: * Andrei Vagin [2017-01-25 11:46:44 -0800]: > On Wed, Jan 25, 2017 at 11:40 AM, Szabolcs Nagy wrote: > > why do you need a raw syscall? > > We inject our code into processes which are going to be dumped: > https://criu.org/Parasite_code > > And on restore we have to unmap old libc to restore process mappings. if you static link to musl for the parasite then i don't see why the syscalls have to be raw.. what you may worry about is process global state that the libc takes control of (libc internal signal handler, brk pointer, doing things to fd 0/1/2, etc), but that you cannot prevent with raw syscalls.