Skip to content

Commit

Permalink
LXC
Browse files Browse the repository at this point in the history
  • Loading branch information
mlehtima committed Mar 25, 2018
1 parent 49e894b commit 947b4eb
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions arch/arm64/configs/aosp_loire_suzu_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -708,3 +708,22 @@ CONFIG_LOGCAT_SIZE=256

# ENABLE MEMNOTIFY DRIVER
CONFIG_MEMNOTIFY=y
CONFIG_SQUASHFS=y
CONFIG_SQUASHFS_XZ=y
CONFIG_OVERLAYFS_FS=y

CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_MEMCG=y
CONFIG_MEMCG_SWAP=y
CONFIG_MEMCG_KMEM=y
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
CONFIG_VETH=y
CONFIG_MACVLAN=y
CONFIG_VLAN_8021Q=y
CONFIG_BRIDGE=y
CONFIG_NF_NAT_IPV6=y
CONFIG_IP6_NF_TARGET_MASQUERADE=y
CONFIG_NETFILTER_XT_TARGET_CHECKSUM=y
2 changes: 1 addition & 1 deletion mm/memcontrol.c
Original file line number Diff line number Diff line change
Expand Up @@ -6997,7 +6997,7 @@ static int mem_cgroup_allow_attach(struct cgroup *cgrp,
tcred = __task_cred(task);

if ((current != task) && !capable(CAP_SYS_ADMIN) &&
cred->euid != tcred->uid && cred->euid != tcred->suid)
!uid_eq(cred->euid, tcred->uid) && !uid_eq(cred->euid, tcred->suid))
return -EACCES;
}

Expand Down

0 comments on commit 947b4eb

Please sign in to comment.