Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
a29a2aef
Commit
a29a2aef
authored
Aug 14, 2014
by
Mike Hibler
Browse files
/tmp is a valid path in FreeBSD 10 as well as /var/tmp.
From Jeff Bowles <jbowles@newmexicoconsortium.org>.
parent
46dc5a0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/nscheck.in
View file @
a29a2aef
#!/usr/bin/perl -wT
#
# Copyright (c) 2000-20
04, 2006
University of Utah and the Flux Group.
# Copyright (c) 2000-20
14
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -122,6 +122,7 @@ else {
#
if
(
!
(
$tempfile
=~
/^\/tmp\/[-\w]+-\d+\.nsfile/
)
&&
!
(
$tempfile
=~
/^\/var\/tmp\/php\w+/
)
&&
!
(
$tempfile
=~
/^\/tmp\/php\w+/
)
&&
!
TBValidUserDir
(
$tempfile
,
0
))
{
fatal
("
$tempfile
does not resolve to an appropriate directory!
\n
");
}
...
...
Mike Hibler
@hibler
mentioned in commit
ed4660c2
·
May 11, 2015
mentioned in commit
ed4660c2
mentioned in commit ed4660c240293a6f17ded67b2c3590c791b3f43f
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment