X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/b3f050848e5d285c2a1d7f8a4bea98984c201805..2bdb833f485d3c985a0f930865452fcaafdf95dd:/noise.h diff --git a/noise.h b/noise.h index d335448..b8a0050 100644 --- a/noise.h +++ b/noise.h @@ -1,8 +1,8 @@ /* -*-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 */ @@ -30,6 +30,9 @@ /*----- 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. * @@ -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 - * privileges. + * privileges. This interface is Unix-specific. */ 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. + * + * This interface is Unix-specific. */ extern int noise_filter(rand_pool */*r*/, int /*good*/, const char */*c*/);