Diff for /embedaddon/sudo/common/secure_path.c between versions 1.1.1.2 and 1.1.1.4

version 1.1.1.2, 2012/10/09 09:29:52 version 1.1.1.4, 2014/06/15 16:12:54
Line 18 Line 18
   
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/stat.h>  #include <sys/stat.h>
 #include <sys/param.h>  
 #include <stdio.h>  #include <stdio.h>
 #ifdef HAVE_STRING_H  #ifdef HAVE_STRING_H
 # include <string.h>  # include <string.h>
Line 39 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;

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>