summaryrefslogtreecommitdiff
path: root/packages/pine/pine-4.63/pine-4.40-lockfile-perm.patch
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-08-02 15:46:39 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-02 15:46:39 +0000
commite1d810e915c961d01100a697e9c077328048ffd4 (patch)
treeb95a86025f4117220cd1669c0cdea86c82841ba6 /packages/pine/pine-4.63/pine-4.40-lockfile-perm.patch
parent4ae0c9e63f7ea08e9ad2b74bfc8b2781b5ceee08 (diff)
parent2c2c957d5b8a09b6bbe1046d802eabf1fc621f59 (diff)
merge of 0aba4d5c115b944af22e79b2d43f8d1848724fc2
and 1aebe30c46f7b39a3a73dcd30e1227c1a403f1bd
Diffstat (limited to 'packages/pine/pine-4.63/pine-4.40-lockfile-perm.patch')
-rw-r--r--packages/pine/pine-4.63/pine-4.40-lockfile-perm.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/pine/pine-4.63/pine-4.40-lockfile-perm.patch b/packages/pine/pine-4.63/pine-4.40-lockfile-perm.patch
new file mode 100644
index 0000000000..f2cb434de2
--- /dev/null
+++ b/packages/pine/pine-4.63/pine-4.40-lockfile-perm.patch
@@ -0,0 +1,22 @@
+--- pine4.40/imap/src/osdep/unix/env_unix.h.lock_protection_fix Thu Oct 4 05:26:33 2001
++++ pine4.40/imap/src/osdep/unix/env_unix.h Thu Oct 4 05:30:33 2001
+@@ -46,12 +46,15 @@
+
+
+ /*
+- * Attention: all sorcerer's apprentices who think that 0666 is a mistake.
+- * You are wrong. Read the FAQ. Do not meddle in the affairs of wizards,
+- * for they are subtle and quick to anger.
++ * Attention: all people who do not care about OS security, and think that
++ * mode 0666 is a correct. You are wrong. In modern multiuser systems,
++ * both remote and local security is critically important. Allowing 0666
++ * lockfiles, allows all sorts of security problems to occur. Feel free to
++ * meddle with it however, if you do not care about local security.
+ */
+
+-#define MANDATORYLOCKPROT 0666 /* don't change this */
++/* Change this only if you do not want a secure multiuser system */
++#define MANDATORYLOCKPROT 0600
+
+ /* Function prototypes */
+