summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/job.h
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-01-17 06:43:41 +0000
committerkris <kris@FreeBSD.org>2000-01-17 06:43:41 +0000
commit16189bc670fa900c24753e3318a9a20ca13e2ef5 (patch)
tree49ab7fa3751ba07db7e8920464b52cb3e261fa0c /usr.bin/make/job.h
parentc6b837370821a24c417a02795813a1bf26e1246b (diff)
downloadFreeBSD-src-16189bc670fa900c24753e3318a9a20ca13e2ef5.zip
FreeBSD-src-16189bc670fa900c24753e3318a9a20ca13e2ef5.tar.gz
Create tempfiles securely.
Reviewed by: imp
Diffstat (limited to 'usr.bin/make/job.h')
-rw-r--r--usr.bin/make/job.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h
index 87aef22..fec55f7 100644
--- a/usr.bin/make/job.h
+++ b/usr.bin/make/job.h
@@ -93,6 +93,8 @@
#define JOB_BUFSIZE 1024
typedef struct Job {
int pid; /* The child's process ID */
+ char tfile[sizeof(TMPPAT)];
+ /* Temporary file to use for job */
GNode *node; /* The target the child is making */
LstNode tailCmds; /* The node of the first command to be
* saved when the job has been run */
OpenPOWER on IntegriCloud