cryptlib/cryptlib.patch

Mon, 20 Apr 2009 19:22:00 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 20 Apr 2009 19:22:00 +0200
changeset 178
0ba300bdf30a
permissions
-rw-r--r--

Change unfortunate but partly useful overreaching security tradeoff.
The principle of allocating each running process an individual system
user and group can have security benefits, however maintining a plethora
of users, groups, processes, file modes, file permissions, and even
nonportable file ACLs on a host serving from a hundred processes has
some security disadvantages. This tradeoff is even worse for systems
like OpenPKG which benefit from administration transparency through the
use of minimal system intrusion and only three usage privilege levels.

michael@37 1 Index: random/unix.c
michael@37 2 --- random/unix.c.orig 2005-08-23 00:48:20 +0200
michael@37 3 +++ random/unix.c 2005-09-06 20:55:10 +0200
michael@37 4 @@ -24,6 +24,9 @@
michael@37 5 #include <stdio.h>
michael@37 6 #include <string.h>
michael@37 7 #include <time.h>
michael@37 8 +#ifdef __FreeBSD__
michael@37 9 +#include <pthread.h>
michael@37 10 +#endif
michael@37 11 #include "crypt.h"
michael@37 12
michael@37 13 /* Unix and Unix-like systems share the same makefile, make sure that the

mercurial