Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
559ebaa0
Commit
559ebaa0
authored
Mar 13, 2015
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SUBPROC_VCC doesn't fork, so why should it have anything in (I)nheritable?
parent
c7c23d97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
mgt_jail_solaris.c
bin/varnishd/mgt/mgt_jail_solaris.c
+3
-2
No files found.
bin/varnishd/mgt/mgt_jail_solaris.c
View file @
559ebaa0
...
...
@@ -295,8 +295,6 @@ vjs_add_inheritable(priv_set_t *pset, enum jail_gen_e jge)
{
switch
(
jge
)
{
case
JAILG_SUBPROC_VCC
:
/* for /etc/resolv.conf and /etc/hosts */
priv_setop_assert
(
priv_addset
(
pset
,
"file_read"
));
break
;
case
JAILG_SUBPROC_CC
:
priv_setop_assert
(
priv_addset
(
pset
,
PRIV_PROC_EXEC
));
...
...
@@ -323,6 +321,9 @@ vjs_add_effective(priv_set_t *pset, enum jail_gen_e jge)
{
switch
(
jge
)
{
case
JAILG_SUBPROC_VCC
:
// open vmods
priv_setop_assert
(
priv_addset
(
pset
,
"file_read"
));
// write .c output
priv_setop_assert
(
priv_addset
(
pset
,
"file_write"
));
break
;
case
JAILG_SUBPROC_CC
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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