Commit Graph

8 Commits (4763032430834ff1d7dfe4293826cf845a71b990)

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 48b490f379 minc: extract DT_* handling 4 years ago
Leah Neukirchen 66d0eff12f style 7 years ago
Leah Neukirchen 31d1cb7bc6 minc: use squeeze_slash
Closes #68.
7 years ago
Leah Neukirchen 2b4e3aa66d clean up whitespace 7 years ago
Christian Neukirchen 7e33bac77e minc: add usage 8 years ago
Christian Neukirchen 5d9663a980 guard DT_* usage
It's a shortcut anyway, just leave it out
8 years ago
Christian Neukirchen 98456df2cf add minc 8 years ago