lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2c4e5175-e806-02f9-1467-081a9f533de1@prevas.dk>
Date:   Wed, 17 Jan 2018 20:13:28 +0100
From:   Rasmus Villemoes <rasmus.villemoes@...vas.dk>
To:     Steven Rostedt <rostedt@...dmis.org>,
        Petr Mladek <pmladek@...e.com>
Cc:     Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
        akpm@...ux-foundation.org, linux-mm@...ck.org,
        Cong Wang <xiyou.wangcong@...il.com>,
        Dave Hansen <dave.hansen@...el.com>,
        Johannes Weiner <hannes@...xchg.org>,
        Mel Gorman <mgorman@...e.de>, Michal Hocko <mhocko@...nel.org>,
        Vlastimil Babka <vbabka@...e.cz>,
        Peter Zijlstra <peterz@...radead.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Jan Kara <jack@...e.cz>,
        Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
        Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>,
        rostedt@...e.goodmis.org, Byungchul Park <byungchul.park@....com>,
        Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>,
        Tejun Heo <tj@...nel.org>, Pavel Machek <pavel@....cz>,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 1/2] printk: Add console owner and waiter logic to load
 balance console writes

On 2018-01-12 18:11, Steven Rostedt wrote:
> On Fri, 12 Jan 2018 11:54:54 -0500
> Steven Rostedt <rostedt@...dmis.org> wrote:
> 
>> #include <linux/module.h>
>> #include <linux/delay.h>
>> #include <linux/sched.h>
>> #include <linux/mutex.h>
>> #include <linux/workqueue.h>
>> #include <linux/hrtimer.h>
>>
>>
> 
> 
>>
>> Hmm, how does one have git commit not remove the C preprocessor at the
>> start of the module?
> 
> Probably just add a space in front of the entire program.

If you use at least git 2.0.0 [1], set commit.cleanup to "scissors".
Something like

  git config commit.cleanup scissors

should do the trick. Instead of stripping all lines starting with #,
that will only strip stuff below a line containing

# ------------------------ >8 ------------------------

and git should be smart enough to insert that in the editor it fires up
for a commit message.


[1] https://github.com/git/git/blob/master/Documentation/RelNotes/2.0.0.txt

Rasmus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ