- 06 May, 2019 2 commits
-
-
Stéphane Graber authored
raw_syscalls: add initial support for pidfd_send_signal()
-
Christian Brauner authored
Well, I added this syscall so we better use it. :) Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 05 May, 2019 2 commits
-
-
Stéphane Graber authored
tree-wide: make socket SOCK_CLOEXEC
-
Stéphane Graber authored
compiler: add __returns_twice attribute
-
- 04 May, 2019 2 commits
-
-
Christian Brauner authored
The returns_twice attribute tells the compiler that a function may return more than one time. The compiler will ensure that all registers are dead before calling such a function and will emit a warning about the variables that may be clobbered after the second return from the function. Examples of such functions are setjmp and vfork. The longjmp-like counterpart of such function, if any, might need to be marked with the noreturn attribute. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
network: Adds gateway device route mode
-
- 03 May, 2019 5 commits
-
-
Christian Brauner authored
network: Static routes for IPVLAN with L2PROXY
-
tomponline authored
Signed-off-by:tomponline <thomas.parrott@canonical.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
tomponline authored
Adds ability to specify "dev" as the gateway value, which will cause a device route to be set as default gateway. Signed-off-by:tomponline <thomas.parrott@canonical.com>
-
Christian Brauner authored
network: Adds layer 2 (ARP/NDP) proxy mode
-
- 02 May, 2019 5 commits
-
-
Stéphane Graber authored
seccomp: send process memory fd
-
Christian Brauner authored
namespaces: allow a pathname to a nsfd for namespace to share
-
Christian Brauner authored
There's an inherent race when reading a process's memory. The easiest way is to have liblxc get an fd and check that the race was one, send it to the caller (They are free to ignore it if they don't use recvmsg()). Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Serge Hallyn authored
Signed-off-by:Serge Hallyn <shallyn@cisco.com>
-
tomponline authored
Adds the lxc.net.[i].l2proxy flag that can be either 0 or 1. Defaults to 0. This, when used with lxc.net.[i].link, will add IP neighbour proxy entries on the linked device for any IPv4 and IPv6 addresses on the container's network device. Additionally, for IPv6 addresses it will check the following sysctl values and fail with an error if not set: net.ipv6.conf.[link].proxy_ndp=1 net.ipv6.conf.[link].forwarding=1 Signed-off-by:tomponline <thomas.parrott@canonical.com>
-
- 01 May, 2019 6 commits
-
-
Stéphane Graber authored
seccomp: ensure fields are set to 0
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
network: Adds IPVLAN support
-
tomponline authored
Example usage: lxc.net[i].type=ipvlan lxc.net[i].ipvlan.mode=[l3|l3s|l2] (defaults to l3) lxc.net[i].ipvlan.flags=[bridge|private|vepa] (defaults to bridge) lxc.net[i].link=eth0 lxc.net[i].flags=up Signed-off-by:tomponline <thomas.parrott@canonical.com>
-
Stéphane Graber authored
seccomp: remove alignment requirements
-
Christian Brauner authored
since apparently there are insane programming languages out there that just silently remove packed members in structs. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 30 Apr, 2019 8 commits
-
-
Stéphane Graber authored
seccomp: don't commit to an api just yet
-
Christian Brauner authored
I'm not sure that I want to be married (to this layout) just yet. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
seccomp: notifier fixes
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
network: Makes some routing functions static
-
tomponline authored
The following functions can be made static for consistency: lxc_ipv4_dest_add lxc_ipv6_dest_add lxc_ip_route_dest_add (renamed) Signed-off-by:tomponline <thomas.parrott@canonical.com>
-
Christian Brauner authored
docs: Adds missing doc entries for seccomp related API extensions
-
tomponline authored
Signed-off-by:tomponline <thomas.parrott@canonical.com>
-
- 29 Apr, 2019 10 commits
-
-
Christian Brauner authored
network: Adds veth static routes feature
-
Christian Brauner authored
network: Fixes bug in macvlan mode selection
-
tomponline authored
Signed-off-by:tomponline <thomas.parrott@canonical.com>
-
Stéphane Graber authored
seccomp: cleanup
-
Christian Brauner authored
Simplify and cleanup some of the seccomp code. This mainly focuses on removing the open coding of various seccomp settings all over the code place in favor of centralized helpers. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
tests: Updates .gitignore to ignore test build artefacts
-
Stéphane Graber authored
network: Fixes vlan hook script
-
tomponline authored
Signed-off-by:tomponline <thomas.parrott@canonical.com>
-
tomponline authored
Signed-off-by:tomponline <thomas.parrott@canonical.com>
-
tomponline authored
Adds the following new config keys: lxc.net.[i].veth.ipv4.route lxc.net.[i].veth.ipv6.route E.g. lxc.net.0.veth.ipv4.route = 192.0.2.1/32 lxc.net.0.veth.ipv4.route = 192.0.3.0/24 lxc.net.0.veth.ipv6.route = 2001:db8::1/128 lxc.net.0.veth.ipv6.route = 2001:db8:2::/64 Signed-off-by:tomponline <thomas.parrott@canonical.com>
-