- PL2479 and PL2299 fix: no access to restricted ports if --secure is
authorMark Huang <mlhuang@cs.princeton.edu>
Wed, 3 Nov 2004 15:33:11 +0000 (15:33 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Wed, 3 Nov 2004 15:33:11 +0000 (15:33 +0000)
  passed (default in /usr/sbin/vserver)

src/chcontext.c

index 236e0cc..1b5275a 100644 (file)
@@ -122,6 +122,7 @@ int main (int argc, char *argv[])
        unsigned remove_cap = 0;
        unsigned add_cap = 0;
        unsigned long secure = (1<<CAP_LINUX_IMMUTABLE)
+               |(1<<CAP_NET_BIND_SERVICE)
                |(1<<CAP_NET_BROADCAST)
                |(1<<CAP_NET_ADMIN)
                |(1<<CAP_NET_RAW)