- Security Fix
privillege esaclation to write as user ifmail Submitted by: Niels Heinen, Jacques A Vidrine
This commit is contained in:
parent
d0d6ea5870
commit
5bdffe382c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120295
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= ifmail
|
||||
PORTVERSION= 2.15
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= news
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
||||
MASTER_SITE_SUBDIR= system/fido
|
||||
|
36
news/ifmail/files/patch-rdconfig.c
Normal file
36
news/ifmail/files/patch-rdconfig.c
Normal file
@ -0,0 +1,36 @@
|
||||
*** iflib/rdconfig.c.orig Tue Oct 19 11:27:29 2004
|
||||
--- iflib/rdconfig.c Tue Oct 19 11:29:47 2004
|
||||
***************
|
||||
*** 5,10 ****
|
||||
--- 5,11 ----
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <time.h>
|
||||
+ #include <unistd.h>
|
||||
#include "xutil.h"
|
||||
#include "lutil.h"
|
||||
#include "ftn.h"
|
||||
***************
|
||||
*** 402,409 ****
|
||||
verbose=setverbose(arg);
|
||||
break;
|
||||
|
||||
! case 'I': configname=arg;
|
||||
! break;
|
||||
|
||||
default: return 1; /* unrecognized option */
|
||||
|
||||
--- 403,415 ----
|
||||
verbose=setverbose(arg);
|
||||
break;
|
||||
|
||||
! case 'I':
|
||||
! if (issetugid())
|
||||
! fprintf(stderr,
|
||||
! "readconfig: -I option ignored while running as set-user-ID\n");
|
||||
! else
|
||||
! configname=arg;
|
||||
! break;
|
||||
|
||||
default: return 1; /* unrecognized option */
|
||||
|
Loading…
Reference in New Issue
Block a user