aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y5
1 files changed, 3 insertions, 2 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index cf820ee4..266f480d 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -383,8 +383,9 @@ void yyerror (const char *s)
prc_errflag++;
}
-int prc_filecheck(const char *pathname, const flag securecheck)
-/* check that a configuration file is secure */
+/** check that a configuration file is secure, returns PS_* status codes */
+int prc_filecheck(const char *pathname,
+ const flag securecheck /** shortcuts permission, filetype and uid tests if false */)
{
#ifndef __EMX__
struct stat statbuf;