Avril
090474ff17
TODO: Added format for specific `envp` replace: `--env=<key>=<value>` and `--env <file>`.
...
TODO: TODO, add short options for controlling envp passthrough. -p,-P, maybe?
Fortune for sink's current commit: Blessing − 吉
3 years ago
Avril
fc81dd4b74
Added `pargs_t.env_pass`: Pass all, none, or specific (allocated) environment vars.
...
Fortune for sink's current commit: Curse − 凶
3 years ago
Avril
9d71fa7aee
arg parsing: rework error handling to return optional extra information with error code.
...
arg parsing: added freeing and cloning of internally allocated parts of `struct args_parsed` and `struct args_parse_error`.
Fortune for sink's current commit: Half blessing − 半吉
3 years ago
Avril
f2d6ee51fb
Makefile: Added `-pipe` to COMMON_FLAGS
...
Fortune for sink's current commit: Small blessing − 小吉
3 years ago
Avril
c64f3f7499
Started rudimentary argument struct + parsing function prototypes
...
Fortune for sink's current commit: Half blessing − 半吉
3 years ago
Avril
5d1daa98e4
Removed redundant unused old code block comment.
...
Fortune for sink's current commit: Future curse − 末凶
3 years ago
Avril
c03f2e39d3
Moved argument TODO to Markdown and added some extra TODO info.
...
Fortune for sink's current commit: Future blessing − 末吉
3 years ago
Avril
b38c91a8ee
TODO: Added short `-<char...>` arguments convention
...
Fortune for sink's current commit: Future blessing − 末吉
3 years ago
Avril
0ed7cb86cf
Updated all uses of features to the new `#if FEATURE_HAS_FLAG()` method.
...
Fortune for sink's current commit: Small blessing − 小吉
3 years ago
Avril
9a50132e90
Updated README.md to show how `FEATURE` flags are defined and used now.
...
Fortune for sink's current commit: Great curse − 大凶
3 years ago
Avril
eba77a5d85
Added `FEATURES` make env-var for build features.
...
Fortune for sink's current commit: Half blessing − 半吉
3 years ago
Avril
d47761c709
Added feature flags instead of raw -D compiler flags.
...
Fortune for sink's current commit: Blessing − 吉
3 years ago
Avril
5afab1f955
Merge branch 'master' of github.com:notflan/sink
3 years ago
Avril
9c8831e808
Made `REPLACE_STDERR` only replace execve()"d process" stderr; the parent now has its own, private stderr that is closed on exec so can properly report errors.
...
Fortune for sink's current commit: Half blessing − 半吉
3 years ago
Avril
872fefd275
Added CLOEXEC stderr clone for parent use of stderr.
...
Fortune for sink's current commit: Future small blessing − 末小吉
3 years ago
Avril
e559e758e3
Create LICENSE
3 years ago
Avril
587fe2832d
Added debug build splash screen and process info. (Splash can be disabled with `-DDEBUG_IGNORE_SPLASH`)
...
Fortune for sink's current commit: Half blessing − 半吉
3 years ago
Avril
abe427d931
Fix README.md formatting
...
Fortune for sink's current commit: Great curse − 大凶
3 years ago
Avril
ee7c1553f8
Fixed `REPLACE_STDERR` compiler warnings.
...
Fortune for sink's current commit: Curse − 凶
3 years ago
Avril
e1aa693e75
Fixed `NO_ENV` passing bad `envp` to `execve()`. Fixed `NO_SEARCH_PATH` compiler warnings.
...
Fortune for sink's current commit: Future small blessing − 末小吉
3 years ago
Avril
6eb20eeb46
Added PATH lookup for program argument in sink.
...
Fortune for sink's current commit: Half blessing − 半吉
3 years ago
Avril
e20df37d9b
Added README
...
Fortune for sink's current commit: Future curse − 末凶
3 years ago
Avril
dca529daf7
Added `install` and `uninstall` targets. Added documentation to Makefile
...
Fortune for sink's current commit: Blessing − 吉
3 years ago
Avril
2b81bf74ba
Added sink program and Makefile
...
Fortune for sink's current commit: Half blessing − 半吉
3 years ago