{"push_id":564679829,"size":2,"distinct_size":2,"ref":"refs/heads/cm-12.0","head":"7af18cb57fc0c287c8c17b2dd475d8cf763fff90","before":"31a4689ebdee3e64b5e4253924a04fa9eed0fcd7","commits":[{"sha":"e14aa95df54669e538d056c197cd060039ca40b4","author":{"email":"b0b36e3cd9ea4e5739ff430a3056fabf2fdb0376@redhat.com","name":"Eric Paris"},"message":"SELinux: include definition of new capabilities\n\nThe kernel has added CAP_WAKE_ALARM and CAP_EPOLLWAKEUP.  We need to\ndefine these in SELinux so they can be mediated by policy.\n\nChange-Id: I933bdfc79a90ac8346fdc9c816f756791edbef5c\nSigned-off-by: Eric Paris <eparis@redhat.com>\nSigned-off-by: James Morris <james.l.morris@oracle.com>\n[sds: rename epollwakeup to block_suspend to match upstream merge]\nSigned-off-by: Stephen Smalley <sds@tycho.nsa.gov>\nSigned-off-by: Ed Tam <etam@google.com>","distinct":true,"url":"https://api.github.com/repos/CyanogenMod/android_kernel_motorola_omap4-common/commits/e14aa95df54669e538d056c197cd060039ca40b4"},{"sha":"7af18cb57fc0c287c8c17b2dd475d8cf763fff90","author":{"email":"64f6eed02948c28fcab25592fa23a3f3bed03ecd@gmail.com","name":"Masami Ichikawa"},"message":"sysfs: Fix memory leak in sysfs_sd_setsecdata().\n\nThis patch fixies follwing two memory leak patterns that reported by kmemleak.\nsysfs_sd_setsecdata() is called during sys_lsetxattr() operation.\nIt checks sd->s_iattr is NULL or not. Then if it is NULL, it calls\nsysfs_init_inode_attrs() to allocate memory.\nThat code is this.\n\niattrs = sd->s_iattr;\nif (!iattrs)\n                iattrs = sysfs_init_inode_attrs(sd);\n\nThe iattrs recieves sysfs_init_inode_attrs()'s result,  but sd->s_iattr\ndoesn't know the address. so it needs to set correct address to\nsd->s_iattr to free memory in other function.\n\nunreferenced object 0xffff880250b73e60 (size 32):\n  comm \"systemd\", pid 1, jiffies 4294683888 (age 94.553s)\n  hex dump (first 32 bytes):\n    73 79 73 74 65 6d 5f 75 3a 6f 62 6a 65 63 74 5f  system_u:object_\n    72 3a 73 79 73 66 73 5f 74 3a 73 30 00 00 00 00  r:sysfs_t:s0....\n  backtrace:\n    [<ffffffff814cb1d0>] kmemleak_alloc+0x73/0x98\n    [<ffffffff811270ab>] __kmalloc+0x100/0x12c\n    [<ffffffff8120775a>] context_struct_to_string+0x106/0x210\n    [<ffffffff81207cc1>] security_sid_to_context_core+0x10b/0x129\n    [<ffffffff812090ef>] security_sid_to_context+0x10/0x12\n    [<ffffffff811fb0da>] selinux_inode_getsecurity+0x7d/0xa8\n    [<ffffffff811fb127>] selinux_inode_getsecctx+0x22/0x2e\n    [<ffffffff811f4d62>] security_inode_getsecctx+0x16/0x18\n    [<ffffffff81191dad>] sysfs_setxattr+0x96/0x117\n    [<ffffffff811542f0>] __vfs_setxattr_noperm+0x73/0xd9\n    [<ffffffff811543d9>] vfs_setxattr+0x83/0xa1\n    [<ffffffff811544c6>] setxattr+0xcf/0x101\n    [<ffffffff81154745>] sys_lsetxattr+0x6a/0x8f\n    [<ffffffff814efda9>] system_call_fastpath+0x16/0x1b\n    [<ffffffffffffffff>] 0xffffffffffffffff\nunreferenced object 0xffff88024163c5a0 (size 96):\n  comm \"systemd\", pid 1, jiffies 4294683888 (age 94.553s)\n  hex dump (first 32 bytes):\n    00 00 00 00 ed 41 00 00 00 00 00 00 00 00 00 00  .....A..........\n    00 00 00 00 00 00 00 00 0c 64 42 4f 00 00 00 00  .........dBO....\n  backtrace:\n    [<ffffffff814cb1d0>] kmemleak_alloc+0x73/0x98\n    [<ffffffff81127402>] kmem_cache_alloc_trace+0xc4/0xee\n    [<ffffffff81191cbe>] sysfs_init_inode_attrs+0x2a/0x83\n    [<ffffffff81191dd6>] sysfs_setxattr+0xbf/0x117\n    [<ffffffff811542f0>] __vfs_setxattr_noperm+0x73/0xd9\n    [<ffffffff811543d9>] vfs_setxattr+0x83/0xa1\n    [<ffffffff811544c6>] setxattr+0xcf/0x101\n    [<ffffffff81154745>] sys_lsetxattr+0x6a/0x8f\n    [<ffffffff814efda9>] system_call_fastpath+0x16/0x1b\n    [<ffffffffffffffff>] 0xffffffffffffffff\n`\n\nChange-Id: Ie2c6f50f342eb3f4a20d73d32bbe0b13fda84d01\nSigned-off-by: Masami Ichikawa <masami256@gmail.com>\nCc: stable <stable@vger.kernel.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/CyanogenMod/android_kernel_motorola_omap4-common/commits/7af18cb57fc0c287c8c17b2dd475d8cf763fff90"}]}