projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now generated automatically.
[u/mdw/catacomb]
/
noise.h
diff --git
a/noise.h
b/noise.h
index
cadb747
..
b8a0050
100644
(file)
--- a/
noise.h
+++ b/
noise.h
@@
-1,8
+1,8
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: noise.h,v 1.
1 1999/09/03 08:41:12
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,13
+30,19
@@
/*----- 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.1 1999/09/03 08:41:12 mdw
* Initial import.
*
*/
* Revision 1.1 1999/09/03 08:41:12 mdw
* Initial import.
*
*/
-#ifndef NOISE_H
-#define NOISE_H
+#ifndef
CATACOMB_
NOISE_H
+#define
CATACOMB_
NOISE_H
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
@@
-46,7
+52,7
@@
#include <sys/types.h>
#include <sys/types.h>
-#ifndef RAND_H
+#ifndef
CATACOMB_
RAND_H
# include "rand.h"
#endif
# include "rand.h"
#endif
@@
-97,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*/);
@@
-121,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*/);