version 1.157, 2015/10/13 22:57:49 |
version 1.158, 2015/10/16 13:37:44 |
|
|
size_t j, sz; |
size_t j, sz; |
int ch, i; |
int ch, i; |
|
|
if (pledge("stdio rpath wpath cpath fattr proc exec", NULL) == -1) { |
if (pledge("stdio rpath wpath cpath fattr flock proc exec", NULL) == -1) { |
perror("pledge"); |
perror("pledge"); |
return (int)MANDOCLEVEL_SYSERR; |
return (int)MANDOCLEVEL_SYSERR; |
} |
} |
|
|
* The existing database is usable. Process |
* The existing database is usable. Process |
* all files specified on the command-line. |
* all files specified on the command-line. |
*/ |
*/ |
if (!nodb && pledge("stdio rpath wpath cpath fattr", |
if (!nodb && pledge("stdio rpath wpath cpath fattr flock", |
NULL) == -1) { |
NULL) == -1) { |
perror("pledge"); |
perror("pledge"); |
exitcode = (int)MANDOCLEVEL_SYSERR; |
exitcode = (int)MANDOCLEVEL_SYSERR; |