1. 16 Feb, 2015 5 commits
    • Federico G. Schwindt's avatar
      Fix compilation on linux · 78d7a8c4
      Federico G. Schwindt authored
      78d7a8c4
    • Poul-Henning Kamp's avatar
      Convert (and retire) the sandbox code to the new jail framework. · 45c8694e
      Poul-Henning Kamp authored
      The retires the -u and -g arguments, and the user/group/group_cc
      parameters, so that the jail-setup cannot be manipulated from CLI at all.
      
      $user and group_cc are now sub-arguments to -junix, for instance:
      
      	-junix,user=varnish1,ccgroup=ccowner
      
      There is no group= subargument, the group information is taken
      from the user id in question.
      
      If no -j argument is specified, attempt:
      
      	-junix,user=varnish
      
      but fail silently if not possible.
      
      The "vident" now contains information about jail-config.
      
      Sandbox_solaris is not converted yet, (I'm hoping that Nils will
      help with that.
      45c8694e
    • Poul-Henning Kamp's avatar
      Coverage testing of -j options · 93985169
      Poul-Henning Kamp authored
      93985169
    • Poul-Henning Kamp's avatar
      Change my mind a bit: · dec92d3e
      Poul-Henning Kamp authored
      When no -j argument is specified, walk the list to get the most
      capable jail technology which can run in the given circumstances.
      dec92d3e
    • Poul-Henning Kamp's avatar
      Add a -j argument and selection mechanism for configuring jailing. · bb52bd56
      Poul-Henning Kamp authored
      Due to our somewhat spendthrift ways with argument letters, it
      is not realistic to repurpose -[sS]andbox or -[pP]rivsep argument
      letters, so the terminology ended up being "jail" because -j was free.
      
      Right now no jails are implemented, and the code does nothing.
      bb52bd56
  2. 12 Feb, 2015 8 commits
  3. 11 Feb, 2015 7 commits
  4. 10 Feb, 2015 5 commits
  5. 09 Feb, 2015 10 commits
  6. 05 Feb, 2015 1 commit
    • Poul-Henning Kamp's avatar
      Switch to PTHREAD_MUTEX_ERRORCHECK mutexen. · 835b5088
      Poul-Henning Kamp authored
      This is very unlikely to make any difference, but the sheer stupidity
      fot he PTHREAD_MUTEX_NORMAL definition is ubearable, now that I've
      become aware of it.
      
      Inspired by: CERT secure coding POS04-C
      835b5088
  7. 04 Feb, 2015 1 commit
  8. 30 Jan, 2015 1 commit
  9. 29 Jan, 2015 1 commit
  10. 28 Jan, 2015 1 commit