projects
/
u
/
mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e360a4f
)
Label system-specific parts more clearly.
author
mdw
<mdw>
Wed, 22 Dec 1999 15:57:55 +0000
(15:57 +0000)
committer
mdw
<mdw>
Wed, 22 Dec 1999 15:57:55 +0000
(15:57 +0000)
noise.c
patch
|
blob
|
blame
|
history
noise.h
patch
|
blob
|
blame
|
history
diff --git
a/noise.c
b/noise.c
index
cb30228
..
ed2d83c
100644
(file)
--- a/
noise.c
+++ b/
noise.c
@@
-1,8
+1,8
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: noise.c,v 1.
4 1999/12/10 23:25:1
5 mdw Exp $
+ * $Id: noise.c,v 1.
5 1999/12/22 15:57:5
5 mdw Exp $
*
*
- * Acquisition of environmental noise (Unix
specific)
+ * Acquisition of environmental noise (Unix
-
specific)
*
* (c) 1998 Straylight/Edgeware
*/
*
* (c) 1998 Straylight/Edgeware
*/
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: noise.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: noise.c,v $
+ * Revision 1.5 1999/12/22 15:57:55 mdw
+ * Label system-specific parts more clearly.
+ *
* Revision 1.4 1999/12/10 23:25:15 mdw
* Bug fix: remove old spurious fflush.
*
* Revision 1.4 1999/12/10 23:25:15 mdw
* Bug fix: remove old spurious fflush.
*
@@
-206,7
+209,7
@@
int noise_devrandom(rand_pool *r)
* Use: Sets the user and group ids to be used by @noise_filter@
* when running child processes. This is useful to avoid
* giving shell commands (even carefully written ones) undue
* Use: Sets the user and group ids to be used by @noise_filter@
* when running child processes. This is useful to avoid
* giving shell commands (even carefully written ones) undue
- * privileges.
+ * privileges.
This interface is Unix-specific
*/
void noise_setid(uid_t uid, gid_t gid)
*/
void noise_setid(uid_t uid, gid_t gid)
@@
-234,6
+237,8
@@
void noise_setid(uid_t uid, gid_t gid)
* fails to complete within a short time period, it is killed.
* Paranoid use of close-on-exec flags for file descriptors is
* recommended.
* fails to complete within a short time period, it is killed.
* Paranoid use of close-on-exec flags for file descriptors is
* recommended.
+ *
+ * This interface is Unix-specific.
*/
int noise_filter(rand_pool *r, int good, const char *c)
*/
int noise_filter(rand_pool *r, int good, const char *c)
diff --git
a/noise.h
b/noise.h
index
d335448
..
b8a0050
100644
(file)
--- a/
noise.h
+++ b/
noise.h
@@
-1,8
+1,8
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: noise.h,v 1.
2 1999/12/10 23:29:48
mdw Exp $
+ * $Id: noise.h,v 1.
3 1999/12/22 15:57:55
mdw Exp $
*
*
- * Acquisition of environmental noise (Unix
specific)
+ * Acquisition of environmental noise (Unix
-
specific)
*
* (c) 1998 Straylight/Edgeware
*/
*
* (c) 1998 Straylight/Edgeware
*/
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: noise.h,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: noise.h,v $
+ * Revision 1.3 1999/12/22 15:57:55 mdw
+ * Label system-specific parts more clearly.
+ *
* Revision 1.2 1999/12/10 23:29:48 mdw
* Change header file guard names.
*
* Revision 1.2 1999/12/10 23:29:48 mdw
* Change header file guard names.
*
@@
-100,7
+103,7
@@
extern int noise_devrandom(rand_pool */*r*/);
* Use: Sets the user and group ids to be used by @noise_filter@
* when running child processes. This is useful to avoid
* giving shell commands (even carefully written ones) undue
* Use: Sets the user and group ids to be used by @noise_filter@
* when running child processes. This is useful to avoid
* giving shell commands (even carefully written ones) undue
- * privileges.
+ * privileges.
This interface is Unix-specific.
*/
extern void noise_setid(uid_t /*uid*/, gid_t /*gid*/);
*/
extern void noise_setid(uid_t /*uid*/, gid_t /*gid*/);
@@
-124,6
+127,8
@@
extern void noise_setid(uid_t /*uid*/, gid_t /*gid*/);
* fails to complete within a short time period, it is killed.
* Paranoid use of close-on-exec flags for file descriptors is
* recommended.
* fails to complete within a short time period, it is killed.
* Paranoid use of close-on-exec flags for file descriptors is
* recommended.
+ *
+ * This interface is Unix-specific.
*/
extern int noise_filter(rand_pool */*r*/, int /*good*/, const char */*c*/);
*/
extern int noise_filter(rand_pool */*r*/, int /*good*/, const char */*c*/);