Commit Graph

11 Commits (master)

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]
4 years ago
Leah Neukirchen 582256618a move uc macro to blaze822_priv.h 4 years ago
Leah Neukirchen 3bfd9319e9 mflag: fix behavior with no arguments and reading from not a tty 7 years ago
Leah Neukirchen 66d0eff12f style 7 years ago
Duncaen 08ea54953f mflag: check if curfile is set before using it 7 years ago
Leah Neukirchen 2b4e3aa66d clean up whitespace 7 years ago
Leah Neukirchen c561aca4c9 mflag: add: skip leading whitespace 7 years ago
Leah Neukirchen e31cd95dc2 mflag: fix error message 7 years ago
Christian Neukirchen 0054070826 mflag: add usage 8 years ago
Christian Neukirchen 49710409ae mflag: use blaze822_loop1 8 years ago
Christian Neukirchen 733f42bb75 add mflag 8 years ago