106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
*
* TODO: support a mappings file/variable for those programs
* too special to simply name their config file
* "~/.(argv[0])".
*
* TODO: exempt xdg dirs beginning with ~/. from proscription
* in nkvd_interdict_all=1 mode
*/
#include <stdarg.h>
#include <unistd.h>
#include <sys/types.h>
#include <fcntl.h>
#include <limits.h>
|
|
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
*
* TODO: support a mappings file/variable for those programs
* too special to simply name their config file
* "~/.(argv[0])".
*
* TODO: exempt xdg dirs beginning with ~/. from proscription
* in nkvd_interdict_all=1 mode
*
* TODO: instead of function passthrough, alter environment
* to delete LD_PRELOAD and re-exec whitelisted apps
* without nkvd loading at all
*/
#include <stdarg.h>
#include <unistd.h>
#include <sys/types.h>
#include <fcntl.h>
#include <limits.h>
|