diff options
author | Cy Schubert <cy@FreeBSD.org> | 2011-01-04 15:50:57 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2011-01-04 15:50:57 +0000 |
commit | 3e682fa6cf8ad5c1c0dda42c051907e6b5fc3691 (patch) | |
tree | f5d830b0c6c5f75c5f973fa6e8513a944411d29c /sysutils/syslog-ng3/files/patch-modules-afsocket-afunix.h | |
parent | Adjust PORTNAME so it doesn't conflict with existing port net/smb4k (diff) |
Fix a logfile permissions (security) bug.
Reported by: Robert Blayzor <rblayzor@inoc.net>
Obtained from: Peter Czanik <czanik@balabit.hu> (syslog-ng3 upline)
Security: yes
Feature safe: yes
Diffstat (limited to 'sysutils/syslog-ng3/files/patch-modules-afsocket-afunix.h')
-rw-r--r-- | sysutils/syslog-ng3/files/patch-modules-afsocket-afunix.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/syslog-ng3/files/patch-modules-afsocket-afunix.h b/sysutils/syslog-ng3/files/patch-modules-afsocket-afunix.h new file mode 100644 index 000000000000..ec059b54e4fc --- /dev/null +++ b/sysutils/syslog-ng3/files/patch-modules-afsocket-afunix.h @@ -0,0 +1,13 @@ +diff --git a/modules/afsocket/afunix.h b/modules/afsocket/afunix.h +index ddb63bc..fba3e02 100644 +--- modules/afsocket/afunix.h ++++ modules/afsocket/afunix.h +@@ -40,7 +40,7 @@ typedef struct _AFUnixSourceDriver + + void afunix_sd_set_uid(LogDriver *self, gchar *owner); + void afunix_sd_set_gid(LogDriver *self, gchar *group); +-void afunix_sd_set_perm(LogDriver *self, mode_t perm); ++void afunix_sd_set_perm(LogDriver *self, gint perm); + + LogDriver *afunix_sd_new(gchar *filename, guint32 flags); + |