Commit Graph

19 Commits

Author SHA1 Message Date
Tim Kuijsten
4763032430 pledge(2) all programs
All programs except mshow have a very tight set of promises. mshow
has a broad set of promises and might be a good future candidate
to further restrict using unveil(2).

This patch is based on commit 0300a112 by Alex Holst (dated
2017-12-07), which was proposed in GH PR #79.

* pledged mpick, mflow and mdate so that now all programs are pledged
* removed some unneeded promises and added some missing promises
* move err.h include and OpenBSD ifdef into a new xpledge.h
* cleaned up code aligning and whitespace

Closes: #179 [via git-merge-pr]
2020-09-06 16:34:56 +02:00
Leah Neukirchen
41a9a6b40d mthread: remove count output
Closes #174.
2020-05-16 21:20:41 +02:00
Leah Neukirchen
61caf5a6a3 mthread: comment depth convention 2020-05-04 15:00:07 +02:00
Leah Neukirchen
4927d44d55 mthread: add -p to only add parent messages via -S 2020-05-04 14:58:58 +02:00
Leah Neukirchen
62da7c59ea mthread: add -r to reverse top-level order 2020-05-04 14:45:07 +02:00
Leah Neukirchen
a60e705e51 mthread: make malloc failure fatal 2019-05-03 16:36:08 +02:00
Leah Neukirchen
1288ade9ed mthread: keep toplevel thread date-order when pruning
Else this could result in a toplevel thread getting pruned, but its
child has an older date than was calculated by newest(), messing up the
order.
2018-08-21 17:44:24 +02:00
Leah Neukirchen
9f10db393e mthread: avoid truncating internal buffer 2018-08-15 17:58:58 +02:00
Leah Neukirchen
ebae697000 mthread: thread: fix small leak 2018-01-11 15:39:42 +01:00
Leah Neukirchen
5e7c300b42 blaze822: blaze822_loop: use long as return type 2018-01-07 21:13:59 +01:00
Leah Neukirchen
66d0eff12f style 2017-08-31 17:30:17 +02:00
Leah Neukirchen
841984f645 mthread: add optional message support 2017-06-30 13:28:05 +02:00
Leah Neukirchen
9da17f5978 mthread: fix infinite recursion
This fixes:

References: <5> <4> <6>
Message-ID: <3>

References: <6>
Message-ID: <5>

References: <3> <2>
Message-ID: <1>
2017-06-30 13:19:03 +02:00
Leah Neukirchen
24d0941043 mthread: ignore sequence indentation, to allow rethreading 2017-06-29 16:03:13 +02:00
Christian Neukirchen
67f61f18ba mthread: add usage 2016-07-26 22:09:26 +02:00
Christian Neukirchen
8855568c19 mthread: use blaze822_loop1 2016-07-23 00:29:11 +02:00
Christian Neukirchen
4eff264615 mthread: -v to not prune 2016-07-20 18:47:40 +02:00
Christian Neukirchen
f3c4a50d53 mthread: default to all messages when interactive w/o args 2016-07-20 15:39:53 +02:00
Christian Neukirchen
a38fafed2b mthread: rename from thread 2016-07-20 14:08:36 +02:00