Commit Graph

15 Commits (master)

Author SHA1 Message Date
Leah Neukirchen 2b517f97c0 msed: match header names case insensitively
Found by skarnet.
3 years ago
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 bb80642b70 msed: improve zero initialization 5 years ago
Duncaen 74d8393fdf msed: fix use of uninitialized memory
found by -fsanitize=memory
5 years ago
Leah Neukirchen 79434e45db msed: allow final empty command 5 years ago
Leah Neukirchen f860f2d2c1 msed: sed: free h and v 6 years ago
Leah Neukirchen 1207c53444 msed: fix parsing of a// 6 years ago
Leah Neukirchen 07f3f044ed msed: add s///d flag to remove on match 6 years ago
Leah Neukirchen 66d0eff12f style 7 years ago
Duncaen 0370a28d49 msed: prefix error messages 7 years ago
Duncaen 73c833847e msed: error out on invalid expressions 7 years ago
Leah Neukirchen 2b4e3aa66d clean up whitespace 7 years ago
Christian Neukirchen 6229023e78 msed: drop date generation (use mdate) 8 years ago
Christian Neukirchen 88898a4e5e msed: fixes, add /date/a 8 years ago
Christian Neukirchen 3316cfbc22 add msed 8 years ago