Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756495AbeAHMvv (ORCPT + 1 other); Mon, 8 Jan 2018 07:51:51 -0500 Received: from mail-pf0-f175.google.com ([209.85.192.175]:36664 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754583AbeAHMvu (ORCPT ); Mon, 8 Jan 2018 07:51:50 -0500 X-Google-Smtp-Source: ACJfBosVST44DG0a7Ij+SvfRwSmZr7Uv2r5t8hcQ2xnPH7KHSzzhBUFg8oEtO2dxgpFA8/8W97vA4m3661L9B/k8/ek= MIME-Version: 1.0 In-Reply-To: <1014111514465704@web19o.yandex.ru> References: <20171222033229.GB26818@zzz.localdomain> <581031514458281@web9g.yandex.ru> <503641514463979@web33o.yandex.ru> <1014111514465704@web19o.yandex.ru> From: Dmitry Vyukov Date: Mon, 8 Jan 2018 13:51:28 +0100 Message-ID: Subject: Re: [RFC] syzbot process To: Ozgur Cc: Eric Biggers , LKML , syzkaller , Eric Dumazet , Kostya Serebryany , Alexander Potapenko , andreyknvl , Linus Torvalds , Greg Kroah-Hartman , Andrew Morton , Tetsuo Handa , David Miller , Willem de Bruijn , Guenter Roeck , Stephan Mueller Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Thu, Dec 28, 2017 at 1:55 PM, Ozgur wrote: > 28.12.2017, 15:30, "Dmitry Vyukov" : >> On Thu, Dec 28, 2017 at 1:26 PM, Ozgur wrote: >> >>>>> and I think syzbot use to .txt file attached. >>>>> .txt is not good. >>>> >>>> Why are not .txt attachments good? What do you propose to use? >>> >>> I think I'm misunderstood that is good to have text output in a file but not useful if the file extension is ".txt" >>> Not comfortable use it for mutt / vim and diff. >>> >>> I think needs to be an new extension, would be like this ".log" or ".syz" :) >> >> There is an fortunate limitation in the mailing system we currently >> use -- it infers Content-Type from file extension. So if we do .syz, >> it will do application/octet-stream. > > Hello Dmitry, > > I understand and thanks for detailed info, like it! Double-checking the docs: https://cloud.google.com/appengine/docs/standard/go/mail/mail-with-headers-attachments We can do .diff extension for patches. .diff is a standard extension, looks reasonable for patches and will be a one-line change. Does .diff sound better than .txt for patches?