mirror of
https://github.com/slicer69/doas
synced 2024-10-07 00:19:09 +00:00
705dd9ce24
- amalleo25 Provided cleaner fix for crash when user/command has no valid match in the doas.conf file. - amalleo25 Removed option to match UID with -u flag. Provided usernames must now match a username, not UID. This was ambigious if a user had a numeric username. - Jesse
31 lines
727 B
C
31 lines
727 B
C
#include <sys/types.h>
|
|
#include <stdarg.h>
|
|
|
|
#if !defined(__NetBSD__)
|
|
void closefrom(int lowfd);
|
|
#endif
|
|
|
|
void errc(int eval, int code, const char *fmt, ...);
|
|
|
|
int execvpe(const char *file, char * const *argv, char * const *envp);
|
|
|
|
extern const char *__progname;
|
|
|
|
const char *getprogname(void);
|
|
|
|
void *reallocarray(void *optr, size_t nmemb, size_t size);
|
|
|
|
void setprogname(const char *progname);
|
|
|
|
int setresuid(uid_t ruid, uid_t euid, uid_t suid);
|
|
|
|
size_t strlcat(char *dst, const char *src, size_t dsize);
|
|
|
|
size_t strlcpy(char *dst, const char *src, size_t dsize);
|
|
|
|
long long strtonum(const char *numstr, long long minval, long long maxval,
|
|
const char **errstrp);
|
|
|
|
void verrc(int eval, int code, const char *fmt, va_list ap);
|
|
|