Return to secure_path.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / sudo / common |
version 1.1.1.3, 2013/07/22 10:46:11 | version 1.1.1.4, 2014/06/15 16:12:54 |
---|---|
Line 38 | Line 38 |
* Verify that path is the right type and not writable by other users. | * Verify that path is the right type and not writable by other users. |
*/ | */ |
int | int |
sudo_secure_path(const char *path, int type, uid_t uid, gid_t gid, struct stat *sbp) | sudo_secure_path(const char *path, unsigned int type, uid_t uid, gid_t gid, struct stat *sbp) |
{ | { |
struct stat sb; | struct stat sb; |
int rval = SUDO_PATH_MISSING; | int rval = SUDO_PATH_MISSING; |